How to install OrangeHRM 4.0 on Cent OS 7
How to install OrangeHRM 4.0 on CentOS 7
OrangeHRM is a most popular open source human resource management (HRM) application used for managing the Personnel Information Management, Employee Self Service, Leave, Time & Attendance, Benefits, and Recruitment. The OrangeHRM application can be used for a Small to medium-sized businesses use. this is a comprehensive HR platform which can be used for rapidly build and provide responsive HR services. This tutorial covers the installation of orange HRm on CentOS 7.
Prerequisites
- Install LAMP(apache, mariadb, php5.6)
In MariaDB (create database and user and give privileges to that user).
- Php installation
rpm -Uvh https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm rpm -Uvh https://mirror.webtatic.com/yum/el7/webtatic-release.rpm yum install php56w php56w-opcache php56w-mysql php56w-curl php56w-xml php56w-mcrypt php56w-gd
Installation
You can download a package using this following URL.
https://sourceforge.net/projects/orangehrm/files/latest/download?source=typ_redirect
After downloading navigate to the downloaded location.
[root@linuxhelp1 ~]# cd Downloads/
The downloaded package is a zip file, so we need to unzip the package now.
[root@linuxhelp1 Downloads]# unzip orangehrm-4.0.zip
Archive: orangehrm-4.0.zip
creating: orangehrm-4.0/
inflating: orangehrm-4.0/error.xsl
inflating: orangehrm-4.0/install.php
inflating: orangehrm-4.0/phpunit.xml
inflating: orangehrm-4.0/.htaccess
inflating: orangehrm-4.0/CHANGELOG.TXT
.
.
creating: orangehrm-4.0/license/
inflating: orangehrm-4.0/license/3RDPARTY.TXT
inflating: orangehrm-4.0/license/LICENSE.TXT
creating: orangehrm-4.0/license/3rdParty/
inflating: orangehrm-4.0/license/3rdParty/PHPMyAdmin.license
inflating: orangehrm-4.0/license/3rdParty/yui.license
inflating: orangehrm-4.0/license/3rdParty/xplanner.license
inflating: orangehrm-4.0/license/3rdParty/ypslideoutmenus.license.html
Then, move the file into the following path.
[root@linuxhelp1 Downloads]# mv orangehrm-4.0 /var/www/orangehrm
Switch to the directory now.
[root@linuxhelp1 Downloads]# cd /var/www/
We have to change ownership and permission of the Orangehrm directory as follows.
[root@linuxhelp1 www]# chown -R apache.apache orangehrm
[root@linuxhelp1 www]# chmod -R 775 orangehrm
Then we need to create a virtual host for accessing an OrangeHRM application.
[root@linuxhelp1 www]# vim /etc/httpd/conf.d/orange.conf < VirtualHost *:80> ServerName www.linuxhelp1.com DocumentRoot /var/www/orangehrm/ < Directory /var/www/orangehrm/> AllowOverride All allow from all < /Directory> < /VirtualHost>
After creating the virtual host we need to restart the httpd service to make the changes effect.
[root@linuxhelp1 www]# systemctl restart httpd
then you can proceed the further installation from the browser by navigating to the following URL of http://local IP (or) domain name.
Now you will see Welcome page of OrangeHRM application. Click next to start the installation.
Then, accept the license agreement of OrangeHRM application to continue the installation.
And then you must configure database configuration. once done click Next.
At next screen verify the server configuration environment. once done click next to continue.
After that, you have to configure the Admin user credential
Once configuration, confirm the installation and click on Next.
After the installation process clicks Next.
Once the Installation is success click Finish to complete the installation.
Now, a login page of OrangeHRM application will appear. login with the help of using Admin user credential which you created during setup.
After the successful login, you will see the following page, orangeHRM admin dashboard.

With this, the method to install OrangeHRM 4.0 on CentOS 7 comes to an end.
Comments ( 1 )