Installing OrangeHRM on POP! OS Latest

OrangeHRM is a human resource management software that helps organizations manage their employee data, payroll, and other HR-related tasks. In this tutorial, we will guide you through the steps to install OrangeHRM on your POP! OS Latest system.

Prerequisites

Before proceeding with the installation process, ensure that you have the following prerequisites:

Steps

Follow the steps below to install OrangeHRM on your POP! OS Latest system:

Step 1: Update System Packages

Before installing any software on your system, it's recommended to update the system packages to the latest version. Open the terminal and run the following command:

sudo apt-get update && sudo apt-get upgrade -y

Step 2: Install Apache Web Server

OrangeHRM requires a web server to function correctly. In this step, we will install the Apache web server. Execute the following command to install Apache:

sudo apt-get install apache2 -y

Step 3: Install PHP

OrangeHRM is written in PHP; thus, you need to install PHP to use it. You can install PHP and its modules with the following command:

sudo apt-get install php php-cli php-mysql php-gd php-intl php-ldap php-pear php-xml php-curl -y

Step 4: Install MariaDB

MariaDB is a fork of MySQL database, and it's used by OrangeHRM to store data. To install MariaDB, run the following command:

sudo apt-get install mariadb-server -y

Step 5: Create a Database

After the MariaDB installation is done, you need to create a database for OrangeHRM. Execute the following command:

sudo mysql -u root

Next, create a new database for OrangeHRM:

CREATE DATABASE oranghrm;

Create a new user and grant all necessary privileges:

CREATE USER 'oranghrmuser'@'localhost' IDENTIFIED BY 'password';
GRANT ALL PRIVILEGES ON oranghrm.* TO 'oranghrmuser'@'localhost' WITH GRANT OPTION;
FLUSH PRIVILEGES;
exit;

Note: Replace 'password' with your preferred password.

Step 6: Install OrangeHRM

Download the OrangeHRM package using the following command:

wget https://excellmedia.dl.sourceforge.net/project/orangehrm/stable/4.6.1/orangehrm-4.6.1.zip

Unzip the package:

unzip orangehrm-4.6.1.zip

Move the extracted folder to the Apache web server directory:

sudo mv orangehrm-4.6.1 /var/www/html/orangehrm

Execute the following command to change the owner and group of the folder to Apache:

sudo chown -R www-data:www-data /var/www/html/orangehrm

Step 7: Configure OrangeHRM

Open the browser and navigate to http://your-ip-address/orangehrm, where 'your-ip-address' is the IP address of your POP! OS Latest system.

Follow the on-screen instructions to configure OrangeHRM. Enter the database details you created in Step 5 when prompted.

Step 8: OrangeHRM Login

After the configuration is finished, you can log in to OrangeHRM using the credentials you provided during the configuration.

Conclusion

You have successfully installed OrangeHRM on your POP! OS Latest system. You can now use OrangeHRM to manage your human resource data effectively.

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!