AMP AMP

How to install IceHRM 21.0.0 on CentOS 7

To install IceHRM 21.0.0 on CentOS 7


ICE Hrm is a Human resource management system for small and medium-sized organizations. It’ s builds based on PHP and MySQL database. It covers all the basic HRM needs of a company such as leave management, time management and handling of employee information.

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

Download a package using the following command

[root@linuxhelp1 user1]# wget https://sourceforge.net/projects/icehrm/files/latest/download?source=typ_redirect --no-check-certificate
--2018-04-16 03:43:55--  https://sourceforge.net/projects/icehrm/files/latest/download?source=typ_redirect
Resolving sourceforge.net (sourceforge.net)... 216.105.38.13
Connecting to sourceforge.net (sourceforge.net)|216.105.38.13|:443... connected.
.
.
CN=Let' s Encrypt Authority X3’ :
  Issued certificate not yet valid.
HTTP request sent, awaiting response... 200 OK
Length: 15565408 (15M) [application/octet-stream]
Saving to: ‘ download?source=typ_redirect’ 

100%[============================================================> ] 15,565,408   336KB/s   in 37s    

2018-04-16 03:44:37 (416 KB/s) - ‘ download?source=typ_redirect’  saved [15565408/15565408]

The download package is a zip file, so unzip the package using the following command

[root@linuxhelp1 user1]# unzip download?source=typ_redirect
Archive:  download?source=typ_redirect
   creating: icehrm_v21.1.0.OS/
   creating: icehrm_v21.1.0.OS/admin/
   creating: icehrm_v21.1.0.OS/admin/attendance/
   creating: icehrm_v21.1.0.OS/admin/company_structure/
.
.
  inflating: icehrm_v21.1.0.OS/web/bower_components/tinymce/themes/modern/theme.js  
  inflating: icehrm_v21.1.0.OS/web/bower_components/tinymce/themes/modern/theme.min.js  
  inflating: icehrm_v21.1.0.OS/web/bower_components/tinymce/tinymce.jquery.js  
  inflating: icehrm_v21.1.0.OS/web/bower_components/tinymce/tinymce.jquery.min.js  
  inflating: icehrm_v21.1.0.OS/web/bower_components/tinymce/tinymce.js  
  inflating: icehrm_v21.1.0.OS/web/bower_components/tinymce/tinymce.min.js

Move the file into the following directory

[root@linuxhelp1 user1]# mv icehrm_v21.1.0.OS /var/www/

Switch to the following directory

[root@linuxhelp1 user1]# cd /var/www/

Change the ownership and permission of the file

[root@linuxhelp1 www]# chown -R apache.apache icehrm_v21.1.0.OS
[root@linuxhelp1 www]# chmod -R 775 icehrm_v21.1.0.OS

Create a new virtual host configuration for accessing the IceHRM application

[root@linuxhelp1 www]# vim /etc/httpd/conf.d/icehrm.conf
< VirtualHost *:80> 
ServerName www.linuxhelp1.com
DocumentRoot  /var/www/icehrm_v21.1.0.OS/

< Directory /var/www/icehrm_v21.1.0.OS/> 
AllowOverride All
allow from all
< /Directory> 

< /VirtualHost> 

Restart the httpd service

[root@linuxhelp1 www]# systemctl restart httpd

Open a browser and type the following URL of http://local IP (or) domain name

Configure the site information and database detail

After the configuration login into ICE HRM with the credentials admin as a name and admin as a password

After the successful login, you will see the dashboard of ICE HRM

with this, the method to install IceHRM 21.0.0 on CentOS 7 comes to an end.

Tag : CentOS
FAQ
Q
How to compensate an employee with Paid time off in IceHRM?
A
Assume that an employee worked on a holiday due to some urgent issue. You need to compensate him/her with an additional day off. In that case, you can use “Paid Time Off” tab to add an additional leave to the employee. Paid time off also used to add leaves carried forward from previous years where you have not been using IceHRM. If you want to remove some leave from an employee you can add minus PTO also.
Q
How to allocate different amounts of leave to different employees or categories?
A
Let’s say some employees have only 150 hours of paid time off. (For an example all “Marketing Managers”). To implement this you can go to add a leave rule for Marketing Managers for annual leave with leave amount of only 18.75 days (150/8). Leave rules are not bound to any leave period, so the leave rules that you define will be applied to all the leave periods.
Q
How to add edit time sheets of your subordinates (Direct Reports)?
A
A manager can only make modifications to their direct reports. First, you need to log in as the manager and go to Employees -> Employees module.

In that module click “Login as employee” icon of one of your subordinates.

Then go to “Time Management” => “Time Sheets” and one of the timesheets (all the time sheets displayed here belong to your switched subordinate)

Hit edit time sheet and add a time entry
Q
What are alternative tools available for the IceHRM?
A
The following alternative tools are available for IceHRM as given below,
Orange hrm
simpe hrm
way point hr
Q
How to allocate 160 hours instead of days in leave management module in IceHRM?
A
When adding leave entitlement you should primarily use leave types. Since you are getting 160 hours a year you can create a leave type called Annual leave and add 20 (160/8) days as leave amount for that leave type. IceHrm assumes an 8 hour work day. So when you do that you can apply for a leave for 1 day or 1 hour. If you apply for a 1 day leave your leave entitlement available leave count will become 19. If you apply for one hour it’ll take away 0.125 from your leave entitlement.