• Contact
  • Contact Us
  • Disclamer
  • Home 1
  • Home 2
  • Home 3
  • Privacy Policy
Friday, May 9, 2025
How VPS - How to use/setup VPS
  • Login
  • Home
  • Management guides
    • Web servers software
      • Directadmin
      • Hocvps Script
      • Centmin Mod
      • CWP
      • Kloxo-MR
      • Plesk
    • Control Panels
    • Securing VPS/Servers
      • SSL Certificates
      • Upgrading
      • Authentication
  • Operating System
    • CentOS
    • Fedora
    • Debian
    • Linux
    • Arch
    • BSD
    • CoreOS
  • Reviews
  • Coupon
    • Domain Coupon
    • Hosting Coupon
No Result
View All Result
  • Home
  • Management guides
    • Web servers software
      • Directadmin
      • Hocvps Script
      • Centmin Mod
      • CWP
      • Kloxo-MR
      • Plesk
    • Control Panels
    • Securing VPS/Servers
      • SSL Certificates
      • Upgrading
      • Authentication
  • Operating System
    • CentOS
    • Fedora
    • Debian
    • Linux
    • Arch
    • BSD
    • CoreOS
  • Reviews
  • Coupon
    • Domain Coupon
    • Hosting Coupon
No Result
View All Result
How VPS - How to use/setup VPS
No Result
View All Result
Home Operating System CentOS

How to Install Sentrifugo HRM on CentOS 7

How VPS by How VPS
October 1, 2019
in CentOS
0
0
SHARES
42
VIEWS
Share on FacebookShare on Twitter

Contents

  1. Using a Different System?
    1. Prerequisites
    2. Install Apache
    3. Install PHP 5.6
    4. Install MariaDB
    5. Install Sentrifugo HRM
    6. Create a virtual host
    7. Wrapping Up
  2. Want to contribute?

Using a Different System?

  • How to Install Sentrifugo HRM on Ubuntu 16.04

Are we missing a guide for your target system? Request one, or submit your own!


Sentrifugo HRM is a free and open source Human Resource Management application. It is a feature-rich and easily configurable application. It is written in PHP and uses MySQL/MariaDB to store its database. You can use Sentrifugo to track the employee’s performance, vacation dates, roles, privileges and much more. It comes with a performance appraisal module which helps the HR managers track the performance of the employee over time. It contains numerous features which are required for day to day employee management, such as employee self-service, powerful analytics, easy background checks, leave management, expenses, and asset management.

Prerequisites

  • A Vultr CentOS 7 server instance with at least 2GB RAM.
  • A sudo user.

For this tutorial, we will use hrm.example.com as the domain name pointed towards the Vultr instance. Please make sure to replace all occurrences of the example domain name with the actual one.

Update your base system using the guide How to Update CentOS 7. Once your system has been updated, proceed to install the dependencies.

Install Apache

Install Apache.

sudo yum -y install httpd

Start Apache and enable it to automatically run at boot time.

sudo systemctl start httpd
sudo systemctl enable httpd

Install PHP 5.6

Add and enable the Remi repository as PHP version 5.6 is not available by default in the yum repository.

sudo rpm -Uvh http://rpms.remirepo.net/enterprise/remi-release-7.rpm
sudo yum -y install yum-utils
sudo yum-config-manager --enable remi-php56

Install PHP version 5.6 along with the modules required by Sentrifugo HRM.

sudo yum -y install php php-gd php-mysqli php-mbstring php-curl php-cli php-pear php-devel php-openssl

Edit the loaded PHP configuration file.

sudo nano /etc/php.ini

Find the following line. Uncomment and set appropriate timezone.

date.timezone = Asia/Kolkata
;Replace "Asia/Kolkata" with your appropriate timezone

memory_limit = -1

Install MariaDB

MariaDB is a fork of MySQL. Add the MariaDB repository into your system. The default yum repository contains an older version of MariaDB.

echo "[mariadb]
name = MariaDB
baseurl = http://yum.mariadb.org/10.2/centos7-amd64
gpgkey=https://yum.mariadb.org/RPM-GPG-KEY-MariaDB
gpgcheck=1" | sudo tee /etc/yum.repos.d/mariadb.repo

Install MariaDB.

sudo yum -y install mariadb mariadb-server

Start MariaDB and enable it to automatically start at boot time.

sudo systemctl start mariadb
sudo systemctl enable mariadb

Before configuring the database, you will need to secure MariaDB first.

sudo mysql_secure_installation

You will be asked for the current MariaDB root password. By default, there is no root password in a fresh MariaDB installation. Press the “Enter” key to proceed. Set a strong password for the root user of your MariaDB server and answer “Y” to all of the other questions that are asked. The questions asked are self-explanatory.

Log into the MySQL shell as root.

mysql -u root -p

Provide the password for the MariaDB root user to log in.

Run the following queries to create a database and a database user for the Sentrifugo installation.

CREATE DATABASE hrm_data CHARACTER SET utf8 COLLATE utf8_general_ci;
CREATE USER 'hrm_user'@'localhost' IDENTIFIED BY 'StrongPassword';
GRANT ALL PRIVILEGES ON hrm_data.* TO 'hrm_user'@'localhost';
FLUSH PRIVILEGES;
EXIT;

You can replace the database name hrm_data and username hrm_user according to your choice. Please make sure to change StrongPassword to a very strong password.

Install Sentrifugo HRM

Download the Sentrifugo HRM zip archive.

wget http://www.sentrifugo.com/home/downloadfile?file_name=Sentrifugo.zip -O Sentrifugo.zip

Install unzip.

sudo yum -y install unzip

Extract the archive.

sudo unzip Sentrifugo.zip -d /var/www

Change the name of the directory and provide the appropriate ownership.

cd /var/www
sudo mv Sentrifugo_*/ sentrifugo/
sudo chown -R apache:apache /var/www/sentrifugo

Allow HTTP traffic on port 80 through the firewall.

sudo firewall-cmd --zone=public --permanent --add-service=http
sudo firewall-cmd --zone=public --permanent --add-service=https
sudo firewall-cmd --reload

Create a virtual host

Create a virtual host for your Sentrifugo HRM site.

sudo nano /etc/httpd/conf.d/hrm.example.com.conf

Populate the file.

<VirtualHost *:80>
    ServerName hrm.example.com
    DocumentRoot /var/www/sentrifugo
    <Directory /var/www/sentrifugo>
        Options Indexes FollowSymLinks MultiViews
        AllowOverride All
        Order allow,deny
        allow from all
    </Directory>
</VirtualHost>

Restart Apache.

sudo systemctl restart httpd

Wrapping Up

Now that you have successfully installed Sentrifugo HRM through the command line, you will need to finish the installation through the web interface. You can access the web installer on http://hrm.example.com. If you have followed the tutorial correctly, you should see that you have all the prerequisites satisfied to continue web-based installation. Provide the database and SMTP server details. Once you have provided the required database and SMTP server details, the setup will write into the database and a random username and password will be generated. Login to the HRM dashboard and configure the application according to your needs.

Congratulations, you have successfully installed Sentrifugo HRM on CentOS 7 server.

Want to contribute?

You could earn up to $300 by adding new articles

Submit your article
Suggest an update
Request an article
Previous Post

Setup PPTP VPN Server on CentOS 6

Next Post

How to Install Zammad 2.0 on CentOS 7

Next Post

How to Install Zammad 2.0 on CentOS 7

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

No Result
View All Result

Recent Post

Install Imagemagick on CentOS
CentOS

Install Imagemagick on CentOS

by How VPS
June 28, 2023
0

This is how I installed Imagemagick on a vanilla CentOS server Start off by installing the prerequisites yum install php-pear...

Read more
how to Check phpinfo

How to Check phpinfo of Hosting or VPS?

June 28, 2023
Failed to download metadata for repo 'appstream' on Centos 8

How to fix error: Failed to download metadata for repo ‘appstream’ on Centos 8

February 25, 2022
How to Fix MySQL Error "Plugin 'InnoDB' registration as a STORAGE ENGINE failed"?

How to Fix MySQL Error “Plugin ‘InnoDB’ registration as a STORAGE ENGINE failed”?

November 17, 2020
How to optimize Mysql or MariaDB

How to optimize Mysql or MariaDB

November 3, 2020

Recent News

  • Install Imagemagick on CentOS
  • How to Check phpinfo of Hosting or VPS?
  • How to fix error: Failed to download metadata for repo ‘appstream’ on Centos 8

Category

  • Arch
  • Authentication
  • Backups
  • BSD
  • Centmin Mod
  • CentOS
  • Control Panels
  • CoreOS
  • CWP
  • Debian
  • Directadmin
  • Encryption
  • Fedora
  • Firewalls
  • Hocvps Script
  • Hosting providers
  • Kloxo-MR
  • Linux
  • Mitigations
  • Operating System
  • Plesk
  • Reviews
  • Securing VPS/Servers
  • Security Patches
  • SSL Certificates
  • Uncategorized
  • Upgrading
  • VPS/Servers management guides
  • Vulnerability Detection
  • Web servers software
  • Webhosting Control Panel
  • About
  • Advertise
  • Careers
  • Contact

© 2025 JNews - Premium WordPress news & magazine theme by Jegtheme.

No Result
View All Result
  • Home
  • Management guides
    • Web servers software
      • Directadmin
      • Hocvps Script
      • Centmin Mod
      • CWP
      • Kloxo-MR
      • Plesk
    • Control Panels
    • Securing VPS/Servers
      • SSL Certificates
      • Upgrading
      • Authentication
  • Operating System
    • CentOS
    • Fedora
    • Debian
    • Linux
    • Arch
    • BSD
    • CoreOS
  • Reviews
  • Coupon
    • Domain Coupon
    • Hosting Coupon

© 2025 JNews - Premium WordPress news & magazine theme by Jegtheme.

Welcome Back!

Login to your account below

Forgotten Password?

Retrieve your password

Please enter your username or email address to reset your password.

Log In
Thabet