How to Install IceHrm on Manjaro
Introduction
IceHrm is a human resource management tool that is used to manage employee data and HR workflows online. In this tutorial, we will guide you on how to install IceHrm on Manjaro, a popular Linux distribution.
Prerequisites
Before you start, make sure you have the following:
- A Manjaro installed and updated.
- A terminal to run commands.
Steps to Install IceHrm on Manjaro
- Open the terminal on your Manjaro desktop by pressing
Ctrl + Alt + t. - Update the package manager by running this command:
sudo pacman -Syu - Install Apache, MariaDB, PHP, and other dependencies for the IceHrm to run with the following command:
sudo pacman -S apache mariadb php php-apache php-gd php-intl php-pear php-curl php-zip php-mbstring - After installation, start and enable Apache and MariaDB by running the following command:
sudo systemctl enable httpd.service sudo systemctl start httpd.service sudo systemctl enable mysqld.service sudo systemctl start mysqld.service - Open the MariaDB client by running the following command:
Enter the root password when prompted.sudo mysql -u root -p - Create a new MariaDB user and database for IceHrm using these commands:
Replace theCREATE USER 'icehrm'@'localhost' IDENTIFIED BY 'password'; CREATE DATABASE icehrm; GRANT ALL PRIVILEGES ON icehrm.* TO 'icehrm'@'localhost'; FLUSH PRIVILEGES;passwordwith a strong password that you prefer. - Download the latest version of IceHrm from the official website.
- Extract the downloaded file into the Apache web root directory using the command:
sudo tar xzf icehrm.tar.gz -C /srv/http/ - Change the ownership of the icehrm directory to the web server user:
sudo chown -R http:http /srv/http/icehrm - Install composer, which is required by IceHrm, using the command:
sudo pacman -S composer - Install IceHrm dependencies using composer by navigating to the
/srv/http/icehrmdirectory and running the command:cd /srv/http/icehrm sudo composer install - Restart the Apache service with the command:
sudo systemctl restart httpd.service - Now open your web browser and go to
http://localhost/icehrmto start using IceHrm.
Conclusion
You have successfully installed IceHrm on your Manjaro system. You can now use this powerful HR management tool to manage your employee data with ease. Enjoy the powerful features of IceHrm!