Installation

If you are using icehrm cloud please skip this chapter.

Getting IceHrm installed only takes a few minutes. If it ever becomes a problem, please file an issue describing the issue you encountered and how we might make the process easier.

Software Requirements #

Before installing IceHrm please make sure your system supports the following requirements.

  • Operating system: Dabian (8/9/10) or Ubuntu (18 LTS or 20 LTS) – Any other linux distribution should also work, but we recommend to select a long term support (LTS) release
  • Web Server: Nginx (Recommended) or Apache. If you are using windows please use WAMPP (https://bitnami.com/stack/wamp/installer) to host IceHrm
  • Database: MySQL 5.7 or 8.0
  • PHP: PHP 7.0 or Higher (IceHrm works with PHP 5.6 but the support will be removed soon)
  • PHP Extensions

Optional Extensions #

These are optional components that could improve Icehrm performance

Hardware Requirements #

100 Employees
500 Employees
2000 Employees
CPU
1 Core
2 Cores
4 Cores
RAM
2 GB4 GB8 GB
Storage (Avg)
15 GB40 GB80 GB
Data Transfer (Avg / Month)
20 GB100 GB400 GB

Installation #

  • If you are installing the open source version, download the latest release from GitHub
  • If you are installing the IceHrmPro you should have received the files after purchase.
  • Copy the downloaded file to the path you want to install iCE Hrm in your server and extract.
  • Create a mysql DB for and user. Grant all on iCE Hrm DB to new DB user.
  • Visit iCE Hrm installation path in your browser.
  • During the installation form, fill in details appropriately.
  • Once the application is installed use the username = admin and password = admin to login to your system.

After installation, the settings module can be accessed by login in as admin and going to System->Settings

Cron (Scheduled Task) for Notifications #

Notification cron is used to send periodic notifications. Document expiry notifications will depend on this scheduler.

To trigger the scheduler you need to run the following file

(IceHrm Root)/app/cron.php

Setting up Linux Cron #

In a Linux environment, a cron should be set up to run every 10 minutes.

This can be done by placing the following line in your crontab. Depending on your server you can edit crontab sudo vi /etc/crontab

or you can use crontab -e command

/10 * (IceHrm Root)/app/cron.php

Make sure that (IceHrm Root)/app/cron.php file is executable.

For setting up the windows scheduler please check http://windows.microsoft.com/en-au/windows/schedule-task#1TC=windows-7

Configure PDF Downloads #

IceHrm uses WKHTMLTOPDF.

You can download and install the correct release for your OS here https://wkhtmltopdf.org/downloads.html

Then you should find the path to ‘wkhtmltopdf’ and update icehrm/core/config.base.php as shown below.

if(!defined('WK_HTML_PATH')){
    define('WK_HTML_PATH', '/usr/local/bin/wkhtmltopdf');
}

Powered by BetterDocs