It is an Open Source Human Resource Management system written in PHP.
It has the following features:
- Administration Module
- Personal Information Management
- Leave Module
- Time Module
- Employee Self Service Module
- Recruitment/ Applicant Tracking Module
- Performance Module
Before proceeding any further, make sure you are in a
screen session and your Ubuntu VPS system is fully up-to-date:## screen -U -s orangehrm-screen ## apt-get update ## apt-get upgrade
Install
Apache2 webserver on your Ubuntu 12.04 system using## apt-get install apache2
Next, proceed with installing the
MySQL database server in your system using## apt-get install mysql-server
once installed, run the post-installation script
mysql_secure_installation and configure it like this## mysql_secure_installation - Set root password? [Y/n] y - Remove anonymous users? [Y/n] y - Disallow root login remotely? [Y/n] y - Remove test database and access to it? [Y/n] y - Reload privilege tables now? [Y/n] y
finally, edit
/etc/mysql/my.cnf, add event_scheduler = ON anywhere under [mysqld] block and restart mysql using service mysql restart for the change to take effect.install
PHP support on the system using the following command:## apt-get install php5 php5-mysql
check it out using
## php -v PHP 5.3.10-1ubuntu3.10 with Suhosin-Patch (cli) (built: Feb 28 2014 23:19:50) Copyright (c) 1997-2012 The PHP Group Zend Engine v2.3.0, Copyright (c) 1998-2012 Zend Technologiesalso, create test
/var/www/info.php script containing the following## vim /var/www/info.php
<?php
phpinfo();
?>
and try to access it at http://your_server_ip/info.php . If the PHP info page is rendered in your browser then everything looks good and you are ready to proceed further.
install zip support in case it’s not already installed on the system
## apt-get install unzip
Install
OrangeHRM in /var/www/orangehrm## ver=3.1.1
## wget -P /tmp http://downloads.sourceforge.net/project/orangehrm/stable/${ver}/orangehrm-${ver}.zip
## unzip /tmp/orangehrm-${ver}.zip -d /var/www/
## mv /var/www/orangehrm-${ver} /var/www/orangehrm
## chown www-data: -R /var/www/orangehrm
configure
my-domain.com to serve the OrangeHRM in /var/www/orangehrm by creating a new Virtual Host Directive in /etc/apache2/sites-available/## vim /etc/apache2/sites-available/my-domain.com
<VirtualHost *:80>
ServerAdmin webmaster@my-domain.com
DocumentRoot /var/www/orangehrm
ServerName my-domain.com
ServerAlias www.my-domain.com
<Directory "/var/www/orangehrm">
Options -Indexes FollowSymLinks MultiViews
AllowOverride All
Order allow,deny
allow from all
</Directory>
LogLevel warn
ErrorLog ${APACHE_LOG_DIR}/my-domain.com-error.log
CustomLog ${APACHE_LOG_DIR}/my-domain.com-ccess.log combined
</VirtualHost>
make sure you replace my-domain.com with your actual domain nameenable the
Virtual Host Directive using the following command:## a2ensite my-domain.com
restart apache for the change to take effect using
## service apache2 reload
Access http://my-domain.com/ in order to complete the installation of OrangeHRM. In the first step just click ‘Next/I Accept’ and in ‘step 2’ when prompted to set-up your database use your MySQL ‘root’ password to create a new database for OrangeHRM. See the screenshot below:
In ‘step 3: System Check’, make sure all listed items are green and OK. You should see something like this:
In ‘step 4: Admin User Creation’, create your ‘Admin’ username and password and in ‘Step 5: Confirmation’ confirm your set-up and install OrangeHRM by clicking on the ‘Install’ button.
Good Luck!!!


