OrangeHRM is a popular Human Resource Management tool that helps organizations manage their workforce effectively. It is available for free download from their official website. This guide will walk you through the steps required to install OrangeHRM on Linux Mint.
Before installing OrangeHRM, ensure that your system has the necessary dependencies installed. Open a terminal window and run the following command:
sudo apt-get install apache2 mysql-server php7.4 php7.4-mysqlnd php7.4-curl php7.4-gd php7.4-mbstring php7.4-zip libapache2-mod-php7.4
This command installs Apache, MySQL, and all the required PHP extensions for OrangeHRM.
You can download the latest version of OrangeHRM from the official website or GitHub. You can use the following command to download the OrangeHRM source code:
wget https://github.com/orangehrm/orangehrm/archive/refs/heads/master.zip
Once the download is complete, navigate to the directory where the downloaded file is located using the terminal window. Then, use the following command to extract the OrangeHRM archive:
unzip orangehrm-master.zip
Next, move the extracted OrangeHRM files to the Apache root directory /var/www/html
using the following command:
sudo mv orangehrm-master /var/www/html/orangehrm
To ensure that the webserver can access the OrangeHRM files, you need to set the correct permissions. Run the following command to set the ownership of the orangehrm files to the web user:
sudo chown -R www-data:www-data /var/www/html/orangehrm
OrangeHRM requires a MySQL database to store its data. You can create a new database using the following command:
sudo mysql -u root -p
Enter your MySQL root password and then run the following commands:
CREATE DATABASE orangehrm;
CREATE USER 'orangehrm'@'localhost' IDENTIFIED BY 'password';
GRANT ALL PRIVILEGES ON orangehrm.* TO 'orangehrm'@'localhost' identified by 'password';
FLUSH PRIVILEGES;
Ensure to replace the 'password' field with a strong password.
Finally, open a web browser and navigate to http://localhost/orangehrm. You will be prompted with the OrangeHRM installation page. Follow the prompts and provide the necessary information such as the database name, username, and password.
Once the installation is complete, you can log in to OrangeHRM using the default credentials:
Username: admin Password: admin
You have successfully installed OrangeHRM on Linux Mint Latest. OrangeHRM is an excellent tool to manage the workforce of any organization effectively. With OrangeHRM, you can streamline HR processes and make data-driven decisions.
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!