How to Install Sentrifugo HRM on CentOS 8

Everything Linux, A.I, IT News, DataOps, Open Source and more delivered right to you.
"The best Linux newsletter on the web"


Sentrifugo is a FREE and powerful Human Resource Management System that can be easily configured to meet your organizational needs. Also 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 and privileges.

How Sentrifugo Works

Sentrifugo offers HR resource modules with exceptional features and an intuitive interface. It’s easy to set up, configure and use.


Just follow the steps below

  • Install Apache, start and enable it
dnf -y install httpd && systemctl start httpd && systemctl enable httpd
  • Install PHP with the following command
dnf install epel-release -y && rpm -Uvh && dnf install -y php-curl php-cli php-openssl php php-mbstring php-pear php-devel php-gd php-mysqli
  • Verify that php has been installed.
php -v
  • Edit the loaded PHP configuration file.
vim /etc/php.ini
  • Set an appropriate timezone.
date.timezone = Africa/Cairo
         #Replace "Africa/Cairo" with your appropriate timezone
  • Install MariaDB which is a fork of MySQL and start MariaDB then enable it to automatically start at boot time.
dnf install -y mariadb-server.x86_64 mariadb.x86_64 && systemctl start mariadb && systemctl enable mariadb
  • Secure MariaDB


By default, there is no root password in MariaDB installation. Press the “Enter” key to proceed.Then set a strong password for the root user of your MariaDB server and answer “Y” to all of the other questions that are asked.

  • Log into mysql as a root with password you created.
mysql -u root -p
  • Provide the password for the MariaDB root then run the following queries.
CREATE DATABASE sentrifugo_db CHARACTER SET utf8 COLLATE utf8_general_ci;
CREATE USER 'sentrifugo_user'@'localhost' IDENTIFIED BY 'unixcopPassword';
GRANT ALL PRIVILEGES ON sentrifugo_db.* TO 'sentrifugo_user'@'localhost';
  • So Install Sentrifugo HRM by downloading sentrifugo zip file.
wget -O
  • Extract the archive then change the extracted file with sentrifugo then provide the appropriate ownership for it by running command below.
unzip -d /var/www/html/ && mv /var/www/html/Sentrifugo_* /var/www/html/sentrifugo && chown -R apache:apache /var/www/html/sentrifugo
  • Also allow HTTP traffic on port 80 on the firewall.
firewall-cmd --zone=public --permanent --add-service=http && firewall-cmd --zone=public --permanent --add-service=https && firewall-cmd --reload
  • Create a virtual host for your Sentrifugo HRM site.
vim /etc/httpd/conf.d/
  • Then add the following:
<VirtualHost *:80>
    DocumentRoot /var/www/html/sentrifugo
    <Directory /var/www/html/sentrifugo>
        Options Indexes FollowSymLinks MultiViews
        AllowOverride All
        Order allow,deny
        allow from all
  • Restart Apache.
systemctl restart httpd
  • You will need to finish the installation through the web interface. You can access the web installer by opening your browser then


As shown in above screenshot, there is an warning in the line 45 of PHPMailerAutoload.php file where the directive __autoload() is deprecated, So we will solve that with the recommended solution of Sentrifugo.

  • Edit the file with vim
vim /var/www/html/sentrifugo/install/PHPMailer/PHPMailerAutoload.php +45
  • Then add spl_autoload_register instead of __autoload() as shown in below screenshot.
  • Try to reload your Sentrifugo installer web page again, you will get the warning again then make sure that all prerequisites are marked green then click Next as shown below.
  • Fill the Sentrifugo Database name, Database username and Database password for Database connection. Click Confirm.
  • Set the App name and provide your email then Click Confirm.
  • Now the Mail Server settings. fill them with your email information.

As shown below i am using outlook configuration, So choose your mail conf. then click confirm.

  • Make sure that you completed all of the above for the final check then Click Finish.
  • You will get the credentials to login to the Sentrifugo HRM dashboard, So open the link in the page to login into dashboard.
  • Login into the application with previous mentioned credintials.

You will be directed to the dashboard.

You have successfully installed Sentrifugo HRM on CentOS 8 server.



That’s all

In this installation guide, we show you how to install Sentrifugo HRM on CentOS 8.

Everything Linux, A.I, IT News, DataOps, Open Source and more delivered right to you.
"The best Linux newsletter on the web"
unixcop Admin


Please enter your comment!
Please enter your name here

Latest articles

Join us on Facebook