{"id":7138,"date":"2018-10-24T13:30:19","date_gmt":"2018-10-24T10:30:19","guid":{"rendered":"https:\/\/www.howtoforge.com\/tutorial\/ubuntu-sentrifugo-hrm-installation\/"},"modified":"2018-10-24T13:30:19","modified_gmt":"2018-10-24T10:30:19","slug":"how-to-install-sentrifugo-hrm-on-ubuntu-18-04-lts","status":"publish","type":"post","link":"https:\/\/afaghhosting.net\/blog\/how-to-install-sentrifugo-hrm-on-ubuntu-18-04-lts\/","title":{"rendered":"How to Install Sentrifugo HRM on Ubuntu 18.04 LTS"},"content":{"rendered":"<p>Sentrifugo is a powerful Human Resource Management System (HRM) written in PHP\u00a0that uses MySQL\/MariaDB to store its database. It is a feature-rich and easily configurable application software that can be used to track the employee&#8217;s performance, vacation dates, roles, privileges and much more. Sentrifugo comes with lots of modules like Appraisal, Time Management, Leave Management, Employee Management, Analytics, Hiring\/Recruitment, Background Check and Service Desk that makes your organization\u2019s HR process easier. Sentrifugo exists in a free OpenSource version and in a paid edition. In this tutorial, we will install the OpenSource version.<\/p>\n<p>In this tutorial, we will be going to explain how to install Sentrifugo on Ubuntu 18.04 LTS server.<\/p>\n<h2 id=\"requirements\">Requirements<\/h2>\n<ul>\n<li>A server running Ubuntu 18.04.<\/li>\n<li>A non-root user with sudo privileges.<\/li>\n<\/ul>\n<h2 id=\"install-apache-php-and-mariadb\">Install Apache, PHP, and MariaDB<\/h2>\n<p>Let&#8217;s start with installing Apache and MariaDB server to your system by running the following command:<\/p>\n<p class=\"command\">sudo apt-get install apache2 mariadb-server -y<\/p>\n<p>Install PHP along with required libraries by running the following command:<\/p>\n<p class=\"command\">sudo apt-get install php7.2 libapache2-mod-php7.2 php7.2-common php7.2-mbstring php7.2-xmlrpc php7.2-soap php7.2-gd php7.2-xml php7.2-intl php7.2-mysql php7.2-cli php7.2 php7.2-ldap php7.2-zip php7.2-curl unzip wget -y<\/p>\n<p>Once all the packages are installed, start Apache and MariaDB service and enable them to start on boot time with the following command:<\/p>\n<p class=\"command\">sudo systemctl start apache2<br \/>sudo systemctl start mariadb<br \/>sudo systemctl enable apache2<br \/>sudo systemctl enable mariadb<\/p>\n<h2 id=\"configure-mariadb\">Configure MariaDB<\/h2>\n<p>Next, you will need to secure MariaDB installation. You can secure it by running the mysql_secure_installation script:<\/p>\n<p class=\"command\">sudo mysql_secure_installation<\/p>\n<p>Answer all the questions as below:<\/p>\n<pre> Enter current password for root (enter for none): ENTER&#13; Set root password? [Y\/n]: N&#13; Remove anonymous users? [Y\/n]: Y&#13; Disallow root login remotely? [Y\/n]: Y&#13; Remove test database and access to it? [Y\/n]: Y&#13; Reload privilege tables now? [Y\/n]: Y&#13;\n<\/pre>\n<p>Once the MariaDB is secured, log in to MariaDB shell:<\/p>\n<p class=\"command\">mysql -u root -p<\/p>\n<p>Enter your root password when prompt, then create a database for Sentrifugo:<\/p>\n<p class=\"command\">MariaDB [(none)]&gt; CREATE DATABASE sentrifugodb;<\/p>\n<p>Next, create a user for Sentrifugo and grant privileges:<\/p>\n<p class=\"command\">MariaDB [(none)]&gt; CREATE USER &#8216;sentrifugo&#8217;@&#8217;localhost&#8217; IDENTIFIED BY &#8216;howtoforge&#8217;;<br \/>MariaDB [(none)]&gt; GRANT ALL ON sentrifugodb.* TO &#8216;sentrifugo&#8217;@&#8217;localhost&#8217; IDENTIFIED BY &#8216;howtoforge&#8217; WITH GRANT OPTION;<\/p>\n<p>Next, flush the privileges with the following command:<\/p>\n<p class=\"command\">MariaDB [(none)]&gt; FLUSH PRIVILEGES;<\/p>\n<p>Finally, exit from the MariaDB shell:<\/p>\n<p class=\"command\">MariaDB [(none)]&gt; exit;<\/p>\n<h2 id=\"download-and-install-sentrifugo\">Download and Install Sentrifugo<\/h2>\n<p>You can download the latest version of Sentrifugo from their official website with the following command:<\/p>\n<p class=\"command\">cd \/tmp<br \/>wget http:\/\/www.sentrifugo.com\/home\/downloadfile?file_name=Sentrifugo.zip -O Sentrifugo.zip<\/p>\n<p>Next, unzip the downloaded file with the following command:<\/p>\n<p class=\"command\">unzip Sentrifugo.zip<\/p>\n<p>Next, copy the extracted directory to the Apache web root directory and provide proper permissions:<\/p>\n<p class=\"command\">sudo cp -r Sentrifugo_3.2 \/var\/www\/html\/sentrifugo<br \/>sudo chown -R www-data:www-data \/var\/www\/html\/sentrifugo\/<br \/>sudo chmod -R 755 \/var\/www\/html\/sentrifugo\/<\/p>\n<p>Edit the Sentrifugo application.ini file:<\/p>\n<p class=\"command\">nano <span>\/var\/www\/<\/span>html<span>\/<\/span>sentrifugo\/application\/configs\/application.ini<\/p>\n<p>and change the line:<\/p>\n<pre>phpSettings.error_reporting = E_All<\/pre>\n<p>to:<\/p>\n<pre>phpSettings<span>.error_reporting =<span>\u00a0<\/span><\/span>E_ALL &amp; ~E_DEPRECATED &amp; ~E_STRICT<\/pre>\n<p>In line 4 of the file.<\/p>\n<p>Next, create an Apache virtual host file for Sentrifugo with the following command:<\/p>\n<p class=\"command\">sudo nano \/etc\/apache2\/sites-available\/sentrifugo.conf<\/p>\n<p>Add the following lines:<\/p>\n<pre>&lt;VirtualHost *:80&gt;&#13; ServerAdmin <a href=\"https:\/\/www.howtoforge.com\/cdn-cgi\/l\/email-protection\" class=\"__cf_email__\" data-cfemail=\"d0b1b4bdb9be90b5a8b1bda0bcb5feb3bfbd\" target=\"_blank\" rel=\"noopener\">[email\u00a0protected]<\/a>&#13; DocumentRoot \/var\/www\/html\/sentrifugo&#13; ServerName example.com&#13; ServerAlias www.example.com&#13;\n&#13; &lt;Directory \/var\/www\/html\/sentrifugo\/&gt;&#13; Options +FollowSymlinks&#13; AllowOverride All&#13; Require all granted&#13; &lt;\/Directory&gt;&#13;\n&#13; ErrorLog ${APACHE_LOG_DIR}\/error.log&#13; CustomLog ${APACHE_LOG_DIR}\/access.log combined&#13;\n&#13;\n&lt;\/VirtualHost&gt;&#13;\n<\/pre>\n<p>Save and close the file. Then, enable virtual host file with the following command:<\/p>\n<p class=\"command\">sudo a2ensite sentrifugo<\/p>\n<p>Next, enable Apache rewrite module and reload Apache service with the following command:<\/p>\n<p class=\"command\">sudo a2enmod rewrite<br \/>sudo systemctl restart apache2<\/p>\n<h2 id=\"access-sentrifugo\">Access Sentrifugo<\/h2>\n<p>Now, open your web browser and type the URL http:\/\/example.com. You will be redirected to the following page:<\/p>\n<p><a class=\"fancybox\" id=\"img-page1\" href=\"https:\/\/www.howtoforge.com\/images\/how_to_install_sentrifugo_hrm_on_ubuntu_1804\/big\/page1.png\" target=\"_blank\" rel=\"noopener\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/afaghhosting.net\/blog\/wp-content\/uploads\/2018\/10\/how-to-install-sentrifugo-hrm-on-ubuntu-18-04-lts.png\" alt=\"Checking prerequisites\" width=\"550\" height=\"384\" title=\"\"><\/a><\/p>\n<p>Once all the requirements are satisfied. Then, click on the <strong>Next<\/strong> button. You should see the following page:<\/p>\n<p><a class=\"fancybox\" id=\"img-page2\" href=\"https:\/\/www.howtoforge.com\/images\/how_to_install_sentrifugo_hrm_on_ubuntu_1804\/big\/page2.png\" target=\"_blank\" rel=\"noopener\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/afaghhosting.net\/blog\/wp-content\/uploads\/2018\/10\/how-to-install-sentrifugo-hrm-on-ubuntu-18-04-lts-1.png\" alt=\"Database settings\" width=\"550\" height=\"311\" title=\"\"><\/a><\/p>\n<p>Here, provide your database details and click on the <strong>Next<\/strong> button. You should see the following page:<\/p>\n<p><a class=\"fancybox\" id=\"img-page3\" href=\"https:\/\/www.howtoforge.com\/images\/how_to_install_sentrifugo_hrm_on_ubuntu_1804\/big\/page3.png\" target=\"_blank\" rel=\"noopener\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/afaghhosting.net\/blog\/wp-content\/uploads\/2018\/10\/how-to-install-sentrifugo-hrm-on-ubuntu-18-04-lts-2.png\" alt=\"Application name\" width=\"550\" height=\"324\" title=\"\"><\/a><\/p>\n<p>Next, provide your Application name and email address. Then, click on the <strong>Next<\/strong> button. You should see the following page:<\/p>\n<p><a class=\"fancybox\" id=\"img-page4\" href=\"https:\/\/www.howtoforge.com\/images\/how_to_install_sentrifugo_hrm_on_ubuntu_1804\/big\/page4.png\" target=\"_blank\" rel=\"noopener\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/afaghhosting.net\/blog\/wp-content\/uploads\/2018\/10\/how-to-install-sentrifugo-hrm-on-ubuntu-18-04-lts-3.png\" alt=\"Mail server settings\" width=\"550\" height=\"330\" title=\"\"><\/a><\/p>\n<p>Next, provide your SMTP server details and click on the <strong>Confirm<\/strong> button. You should see the following page:<\/p>\n<p><a class=\"fancybox\" id=\"img-page5\" href=\"https:\/\/www.howtoforge.com\/images\/how_to_install_sentrifugo_hrm_on_ubuntu_1804\/big\/page5.png\" target=\"_blank\" rel=\"noopener\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/afaghhosting.net\/blog\/wp-content\/uploads\/2018\/10\/how-to-install-sentrifugo-hrm-on-ubuntu-18-04-lts-4.png\" alt=\"Final installation check\" width=\"550\" height=\"331\" title=\"\"><\/a><\/p>\n<p>Now, click on the Finish button to <strong>Finish<\/strong> button. You should see the following page:<\/p>\n<p><a class=\"fancybox\" id=\"img-page6\" href=\"https:\/\/www.howtoforge.com\/images\/how_to_install_sentrifugo_hrm_on_ubuntu_1804\/big\/page6.png\" target=\"_blank\" rel=\"noopener\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/afaghhosting.net\/blog\/wp-content\/uploads\/2018\/10\/how-to-install-sentrifugo-hrm-on-ubuntu-18-04-lts-5.png\" alt=\"Installation finished\" width=\"550\" height=\"266\" title=\"\"><\/a><\/p>\n<p><strong>Note:<\/strong> If you can&#8217;t login with the username displayed there, use the email address that you entered during setup instead of the username.<\/p>\n<p>Now, click on the <strong>Follow this link to open the application<\/strong>. You should see the following page:<\/p>\n<p><a class=\"fancybox\" id=\"img-page7\" href=\"https:\/\/www.howtoforge.com\/images\/how_to_install_sentrifugo_hrm_on_ubuntu_1804\/big\/page7.png\" target=\"_blank\" rel=\"noopener\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/afaghhosting.net\/blog\/wp-content\/uploads\/2018\/10\/how-to-install-sentrifugo-hrm-on-ubuntu-18-04-lts-6.png\" alt=\"Sentrifugo Login\" width=\"550\" height=\"324\" title=\"\"><\/a><\/p>\n<p>Here, provide your login details and click on the <strong>LOG<\/strong> <strong>IN<\/strong> button. You should see the Sentrifugo default dashboard in the following page:<\/p>\n<p><a class=\"fancybox\" id=\"img-page8\" href=\"https:\/\/www.howtoforge.com\/images\/how_to_install_sentrifugo_hrm_on_ubuntu_1804\/big\/page8.png\" target=\"_blank\" rel=\"noopener\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/afaghhosting.net\/blog\/wp-content\/uploads\/2018\/10\/how-to-install-sentrifugo-hrm-on-ubuntu-18-04-lts-7.png\" alt=\"Sentrifugo dashboard\" width=\"550\" height=\"347\" title=\"\"><\/a><\/p>\n<h2 id=\"g0.0.23\">Virtual machine image download of this tutorial<\/h2>\n<p>This tutorial is available as ready to use virtual machine image in ovf\/ova format that is compatible with VMWare and Virtualbox. The virtual machine image uses the following login details:<\/p>\n<p><strong>SSH \/ Shell Login<\/strong><\/p>\n<p>Username: administrator<br \/>Password: howtoforge<\/p>\n<p>This user has sudo rights.<\/p>\n<p><strong>Sentrifugo Login<\/strong><\/p>\n<p>Username:\u00a0<a href=\"https:\/\/www.howtoforge.com\/cdn-cgi\/l\/email-protection\" class=\"__cf_email__\" data-cfemail=\"61080f070e210419000c110d044f020e0c\" target=\"_blank\" rel=\"noopener\">[email\u00a0protected]<\/a><br \/>Password:\u00a05bcf25a528bf9<\/p>\n<p><strong>MySQL Login<\/strong><\/p>\n<p>Username:\u00a0root<br \/>Password: howtoforge<\/p>\n<p>The IP of the VM is 192.168.0.100, it can be changed in the file \/etc\/netplan\/01-netcfg.yaml. Please change all the above passwords to secure the virtual machine.<\/p>\n<div class=\"authorbox\" readability=\"30\">\n<img decoding=\"async\" src=\"https:\/\/afaghhosting.net\/blog\/wp-content\/uploads\/2018\/10\/how-to-install-sentrifugo-hrm-on-ubuntu-18-04-lts.jpg\" alt=\"Hitesh Jethva\" title=\"\"> <\/p>\n<p><strong>About Hitesh Jethva<\/strong><\/p>\n<p>Over 8 years of experience as a Linux system administrator. My skills include a depth knowledge of Redhat\/Centos, Ubuntu Nginx and Apache, Mysql, Subversion, Linux, Ubuntu, web hosting, web server, Squid proxy, NFS, FTP, DNS, Samba, LDAP, OpenVPN, Haproxy, Amazon web services, WHMCS, OpenStack Cloud, Postfix Mail Server, Security etc.<\/p>\n<\/div>\n<div>\n<p><b>Share this page:<\/b><\/p>\n<p>\n<a href=\"https:\/\/www.facebook.com\/sharer.php?u=https%3A%2F%2Fwww.howtoforge.com%2Ftutorial%2Fubuntu-sentrifugo-hrm-installation%2F\" target=\"_blank\" rel=\"nofollow noopener noreferrer\"><img decoding=\"async\" src=\"https:\/\/afaghhosting.net\/blog\/wp-content\/uploads\/2018\/10\/how-to-install-sentrifugo-hrm-on-ubuntu-18-04-lts-8.png\" height=\"20\" alt=\"\" title=\"\"><\/a><br \/>\n<a href=\"https:\/\/twitter.com\/intent\/tweet?url=https%3A%2F%2Fwww.howtoforge.com%2Ftutorial%2Fubuntu-sentrifugo-hrm-installation%2F&amp;text=How+to+Install+Sentrifugo+HRM+on+Ubuntu+18.04+LTS&amp;via=howtoforgecom&amp;related=howtoforgecom\" target=\"_blank\" rel=\"nofollow noopener noreferrer\"><img decoding=\"async\" src=\"https:\/\/afaghhosting.net\/blog\/wp-content\/uploads\/2018\/10\/how-to-install-sentrifugo-hrm-on-ubuntu-18-04-lts-9.png\" height=\"20\" alt=\"\" title=\"\"><\/a><br \/>\n<a href=\"https:\/\/twitter.com\/howtoforgecom\/\" target=\"_blank\" rel=\"nofollow noopener noreferrer\"><img decoding=\"async\" src=\"https:\/\/afaghhosting.net\/blog\/wp-content\/uploads\/2018\/10\/how-to-install-sentrifugo-hrm-on-ubuntu-18-04-lts-10.png\" height=\"20\" alt=\"\" title=\"\"><\/a><br \/>\n<a href=\"https:\/\/plus.google.com\/share?url=https%3A%2F%2Fwww.howtoforge.com%2Ftutorial%2Fubuntu-sentrifugo-hrm-installation%2F\" target=\"_blank\" rel=\"nofollow noopener noreferrer\"><img decoding=\"async\" src=\"https:\/\/afaghhosting.net\/blog\/wp-content\/uploads\/2018\/10\/how-to-install-sentrifugo-hrm-on-ubuntu-18-04-lts-11.png\" height=\"20\" alt=\"\" title=\"\"><\/a>\n<\/p>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>Sentrifugo is a powerful Human Resource Management System (HRM) written in PHP\u00a0that uses MySQL\/MariaDB to store its database. It is a feature-rich and easily configurable application software that can be used to track the employee&#8217;s performance, vacation dates, roles, privileges and much more. Sentrifugo comes with lots of modules like Appraisal, Time Management, Leave Management, &hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[36],"tags":[],"class_list":["post-7138","post","type-post","status-publish","format-standard","hentry","category-36"],"_links":{"self":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/posts\/7138","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/comments?post=7138"}],"version-history":[{"count":0,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/posts\/7138\/revisions"}],"wp:attachment":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/media?parent=7138"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/categories?post=7138"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/tags?post=7138"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}