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:

Steps to Install IceHrm on Manjaro

  1. Open the terminal on your Manjaro desktop by pressing Ctrl + Alt + t.
  2. Update the package manager by running this command:
    sudo pacman -Syu
    
  3. 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
    
  4. 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
    
  5. Open the MariaDB client by running the following command:
    sudo mysql -u root -p
    
    Enter the root password when prompted.
  6. Create a new MariaDB user and database for IceHrm using these commands:
    CREATE USER 'icehrm'@'localhost' IDENTIFIED BY 'password';
    CREATE DATABASE icehrm;
    GRANT ALL PRIVILEGES ON icehrm.* TO 'icehrm'@'localhost';
    FLUSH PRIVILEGES;
    
    Replace the password with a strong password that you prefer.
  7. Download the latest version of IceHrm from the official website.
  8. Extract the downloaded file into the Apache web root directory using the command:
    sudo tar xzf icehrm.tar.gz -C /srv/http/
    
  9. Change the ownership of the icehrm directory to the web server user:
    sudo chown -R http:http /srv/http/icehrm
    
  10. Install composer, which is required by IceHrm, using the command:
    sudo pacman -S composer
    
  11. Install IceHrm dependencies using composer by navigating to the /srv/http/icehrm directory and running the command:
    cd /srv/http/icehrm
    sudo composer install
    
  12. Restart the Apache service with the command:
    sudo systemctl restart httpd.service
    
  13. Now open your web browser and go to http://localhost/icehrm to 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!

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!