How to Install IceHrm on Kali Linux
IceHrm is a web-based human resource management system that allows businesses to manage employee information, leave, attendance, and payroll. In this tutorial, we will be installing IceHrm on Kali Linux, the latest version.
Prerequisites
Before we begin, make sure you have the following:
- A computer running Kali Linux
- A web browser installed
- Root access to the system
Step 1: Install Apache and MySQL
To install IceHrm, we need to have Apache and MySQL installed on our system. To install them, run the following commands in the terminal:
sudo apt-get update
sudo apt-get install apache2 mysql-server
Follow the prompts to complete the installation process.
Step 2: Install PHP
Next, we need to install PHP and its modules. Run the following command in the terminal:
sudo apt-get install php libapache2-mod-php php-mysql
Step 3: Download and Install IceHrm
Download the latest version of IceHrm from https://icehrm.com/. Once downloaded, extract the contents of the zip file to the /var/www/html/ directory.
sudo unzip icehrm.zip -d /var/www/html/
Change the owner of the IceHrm directory to the Apache web server.
sudo chown -R www-data:www-data /var/www/html/icehrm/
Step 4: Configure MySQL for IceHrm
Next, we need to create a MySQL database and user for IceHrm. Run the following commands in the terminal:
sudo mysql -u root
CREATE DATABASE icehrm;
CREATE USER 'icehrmuser'@'localhost' IDENTIFIED BY 'password';
GRANT ALL PRIVILEGES ON icehrm.* TO 'icehrmuser'@'localhost';
FLUSH PRIVILEGES;
exit;
Replace "password" with a secure password.
Step 5: Finish IceHrm Installation
In your web browser, navigate to http://localhost/icehrm. Follow the prompts to complete the installation process. Make sure to enter the MySQL database details you created in Step 4.
Once the installation process is complete, you should be able to access the IceHrm dashboard by navigating to http://localhost/icehrm.
Congratulations! You have successfully installed IceHrm on Kali Linux.