OrangeHRM is an open-source human resource management software. It provides a range of features to manage and streamline HR processes for organizations of any size. This tutorial guides you on how to install OrangeHRM on the latest Fedora Server.
Before proceeding with the installation, ensure that you have the following prerequisites:
OrangeHRM requires Apache web server to run. To install Apache, run the following command:
sudo dnf install httpd
Once installed, start the Apache web server and enable it to start at boot time.
sudo systemctl start httpd
sudo systemctl enable httpd
OrangeHRM requires PHP 7.2 or above. To install PHP, run the following command:
sudo dnf install php php-cli php-mysqlnd php-pdo php-gd php-mbstring php-xml php-intl
After php is installed, we need to configure a few settings in the php.ini file.
sudo nano /etc/php.ini
Uncomment the following settings:
date.timezone = Timezone // replace Timezone with your time zone
max_execution_time = 360
max_input_time = 120
memory_limit = 512M
post_max_size = 100M
upload_max_filesize = 100M
Save and close the file.
Restart Apache web server to apply the changes.
sudo systemctl restart httpd
OrangeHRM requires a database management system to store its data. We will use MariaDB, a free and open-source fork of MySQL.
To install MariaDB, run the following command:
sudo dnf install mariadb-server
Once installed, start the MariaDB server and enable it to start at boot time.
sudo systemctl start mariadb
sudo systemctl enable mariadb
After starting MariaDB, we need to secure it by running the following command:
sudo mysql_secure_installation
Follow the prompts and set a strong root password, Remove anonymous users, disallow remote root login, remove test databases and reload privilege tables.
After installing MariaDB, we need to create a database for OrangeHRM.
Log in to MariaDB shell as root user:
sudo mysql -u root -p
Create a database named orangehrm
:
CREATE DATABASE orangehrm;
Create a new user named orangehrmadmin
with a secure password:
CREATE USER 'orangehrmadmin'@'localhost' IDENTIFIED BY 'your-password';
Grant all privileges on the orangehrm
database to orangehrmadmin
:
GRANT ALL PRIVILEGES ON orangehrm.* TO 'orangehrmadmin'@'localhost';
Flush the privileges and exit the MariaDB shell:
FLUSH PRIVILEGES;
EXIT;
Download the latest version of OrangeHRM from the official website:
wget https://sourceforge.net/projects/orangehrm/files/Official%20Releases/OrangeHRM-4.5.15.zip/download
Unzip the downloaded file:
unzip download
Move the extracted folder to the Apache web server document root directory:
sudo mv OrangeHRM-4.5.15 /var/www/html/orangehrm
Set appropriate permissions to the OrangeHRM directory:
sudo chown apache:apache -R /var/www/html/orangehrm
sudo chmod -R 755 /var/www/html/orangehrm
Open a web browser and navigate to http://your-server-ip/orangehrm
.
Select your language and click the Next
button.
On the next page, you will see a system requirements check. All requirements should be met except for PHP configuration check
.
Click on Click here to configure PHP Settings
.
You will be redirected to the PHP configuration settings page. Check all the required settings.
Click on the Re-run
button to check the configuration.
You will see a Configuration Successful
message.
Click on the Next
button.
On the next page, enter the database details that you have created in Step 4.
Click on the Next
button.
Finish the installation by adding the administrator account with appropriate details.
Once completed, you will be redirected to the OrangeHRM dashboard.
That’s it! You have successfully installed OrangeHRM on Fedora Server Latest.
OrangeHRM is a powerful tool that helps organizations manage their HR processes effectively. In this tutorial, we have explained how to install OrangeHRM on the latest Fedora Server.
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!