IceHrm is a web-based HR management system that offers features that streamline HR workflows. IceHrm is open-source software and can be installed on various operating systems.
In this tutorial, we will guide you through the process of installing IceHrm on Linux Mint.
Before you proceed, ensure that you meet the following requirements:
To install Apache and PHP, run the following command in Terminal:
sudo apt-get update
sudo apt-get install apache2
sudo apt-get install php7.2 libapache2-mod-php7.2 php7.2-common php7.2-mysql php7.2-curl php7.2-json php7.2-mbstring php7.2-xml php7.2-zip php7.2-gd
Restart Apache:
sudo systemctl restart apache2
After that, verify that Apache and PHP are installed correctly by creating a PHP info file:
sudo nano /var/www/html/phpinfo.php
Inside the file, add the following code:
<?php phpinfo(); ?>
Save and close the file. Open a web browser and go to http://localhost/phpinfo.php
. If everything is installed correctly, you should see a page with information about your PHP configuration.
To install MySQL, run the following commands:
sudo apt-get install mysql-server
sudo mysql_secure_installation
During the installation process, you will be prompted to set a root password for MySQL. Ensure that you set a strong password.
To install IceHrm, follow the steps below:
Download the latest IceHrm software from the official website https://icehrm.com/.
Extract the downloaded file using the following command:
sudo unzip icehrm.zip -d /var/www/html/
This will extract the IceHrm files to /var/www/html/icehrm
.
Create a new MySQL database for IceHrm.
mysql -u root -p
CREATE DATABASE icehrm;
GRANT ALL PRIVILEGES ON icehrm.* TO 'icehrmuser'@'localhost' IDENTIFIED BY 'password';
FLUSH PRIVILEGES;
EXIT;
Replace the password
with a strong password of your choice.
Import the IceHrm database.
mysql -u icehrmuser -p icehrm < /var/www/html/icehrm/sql/icehrm.sql
Enter the password of the icehrmuser
.
Configure IceHrm.
Open the IceHrm configuration file for editing:
sudo nano /var/www/html/icehrm/src/php/config.php
Replace the database details with your own:
define('DB_SERVER', 'localhost');
define('DB_USERNAME', 'icehrmuser');
define('DB_PASSWORD', 'password');
define('DB_NAME', 'icehrm');
Save and close the file.
Set file permissions.
sudo chown -R www-data:www-data /var/www/html/icehrm/
sudo chmod -R 775 /var/www/html/icehrm/
Restart Apache.
sudo systemctl restart apache2
Open a web browser and go to http://localhost/icehrm/
. You should be able to access the IceHrm login page.
Congratulations! You have successfully installed IceHrm on Linux Mint. IceHrm is a powerful HR management system with features that can help streamline HR workflows. You can now use IceHrm to manage HR tasks efficiently.
If you want to self-host in an easy, hands free way, need an external IP address, or simply want your data in your own hands, give IPv6.rs a try!
Alternatively, for the best virtual desktop, try Shells!