How to Install and Configure Sentrifugo on CentOS

Prerequisites

Update your CentOS 7 System

# sudo yum -y update

Install Unzip

# sudo yum -y install unzip

Install Nano Editor

# sudo yum install nano

Install epel-release:

# sudo yum install epel-release

Enable remi repo and Install yum-utils

# 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 Apache

# sudo yum -y install httpd

Install PHP 5.6

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

Install MariaDB (MySQL) Server

# sudo yum -y install mariadb-server
# sudo systemctl enable mariadb
# sudo systemctl start mariadb
# sudo mysql_secure_installation

Configure Database

# mysql -u root -p
CREATE DATABASE hrm CHARACTER SET utf8 COLLATE utf8_general_ci;
CREATE USER 'hrm'@'localhost' IDENTIFIED BY '654321Ab';
GRANT ALL PRIVILEGES ON hrm.* TO 'hrm'@'localhost';
FLUSH PRIVILEGES;
EXIT;

Sentrifugo Human Resource Management

# wget http://www.sentrifugo.com/home/downloadfile?file_name=Sentrifugo.zip -O Sentrifugo.zip
# ls -li
# sudo unzip Sentrifugo.zip -d /var/www
# cd /var/www
# sudo chown -R apache:apache /var/www/Sentrifugo_3.2
# sudo nano /etc/httpd/conf.d/softpedia.xyz.conf
<VirtualHost *:80>
ServerName softpedia.xyz
DocumentRoot /var/www/Sentrifugo_3.2
<Directory /var/www/Sentrifugo_3.2>
Options Indexes FollowSymLinks MultiViews
AllowOverride All
Order allow,deny
allow from all
</Directory>
</VirtualHost>
# sudo systemctl restart httpd

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store