How to Install IceHrm on Arch Linux

IceHrm is a human resource management software that enables businesses to manage their employee records, attendance, leave, and payroll. This tutorial will guide you through the process of installing IceHrm on Arch Linux.

Step 1: Install Apache, MariaDB, and PHP

Before you can install IceHrm, you will need to have Apache, MariaDB, and PHP installed on your system.

sudo pacman -S apache mariadb php php-apache

After installing Apache, MariaDB, and PHP, you will need to enable and start their respective services using the following commands:

sudo systemctl enable httpd
sudo systemctl start httpd
sudo systemctl enable mariadb
sudo systemctl start mariadb

Step 2: Download IceHrm

To download IceHrm, go to their website at https://icehrm.com/download and download the latest version. After downloading, extract the files to your web server's document root.

sudo unzip IceHrm-*.zip -d /srv/http/

Ensure that the www-data user has read and write permissions on the extracted files.

sudo chown -R http:http /srv/http/IceHrm-*

Step 3: Set Up the Database

After installing IceHrm and ensuring that the permissions are set correctly, you will need to create a database for IceHrm to use.

Log in to your MariaDB server using the following command:

sudo mysql -u root -p

Create a new database and user using the following SQL commands. Replace exampledb, exampleuser, and password with your own values.

CREATE DATABASE exampledb;
CREATE USER 'exampleuser'@'localhost' IDENTIFIED BY 'password';
GRANT ALL PRIVILEGES ON exampledb.* TO 'exampleuser'@'localhost';
FLUSH PRIVILEGES;

Exit the MariaDB console by typing exit.

Step 4: Set Up IceHrm

To set up IceHrm, open your web browser and enter the IP address or domain name of your Arch Linux server followed by /IceHrm-*/install. This will start the IceHrm installation process.

Follow the prompts to enter the necessary information. When prompted for a database, enter the database name, username, and password that you created in Step 3.

After the installation is complete, you will be prompted to create an administrator account. After creating your account, you can log in to IceHrm and start managing your human resources.

Conclusion

In this tutorial, you learned how to install IceHrm on Arch Linux. By following these steps, you can easily set up a human resource management system for your business or organization.

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!