{"id":9890,"date":"2021-07-29T23:05:20","date_gmt":"2021-07-29T20:05:20","guid":{"rendered":"https:\/\/kifarunix.com\/?p=9890"},"modified":"2024-03-18T19:30:46","modified_gmt":"2024-03-18T16:30:46","slug":"install-and-setup-sentrifugo-hrms-on-ubuntu-20-04","status":"publish","type":"post","link":"https:\/\/kifarunix.com\/install-and-setup-sentrifugo-hrms-on-ubuntu-20-04\/","title":{"rendered":"Install and setup Sentrifugo HRMS on Ubuntu 20.04"},"content":{"rendered":"\n<p>Today, we are going to learn about how to install and setup Sentrifugo HRMS on Ubuntu 20.04. <a href=\"http:\/\/www.sentrifugo.com\/\" target=\"_blank\" rel=\"noreferrer noopener\">Sentrifugo<\/a> HRMS is a free and open-source human resource management system (HRMS) software that allows easy management of human resource process in small to mid-sized business across a variety of industries. It offers a number of adaptable features to meet the needs of both managers and employees including;<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>It comes bundled with appraisal modules that enables managers to access the performance of their employees.<\/li>\n\n\n\n<li>Enables employees to access and manage individual information<\/li>\n\n\n\n<li>Helps in making hiring decisions through its comprehensive job candidate background checks.<\/li>\n\n\n\n<li>Provides leave management option for a department or an entire business unit.<\/li>\n<\/ul>\n\n\n\n<p>Sentrifugo has got a handful of features which you can read more about&nbsp;<a href=\"https:\/\/sourceforge.net\/p\/sentrifugo\/wiki\/Home\/\" target=\"_blank\" rel=\"noreferrer noopener\">here<\/a>.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Installing Sentrifugo HRMS on Ubuntu 20.04<\/h2>\n\n\n\n<h5 class=\"wp-block-heading\">Install LAMP\/LEMP Stack<\/h5>\n\n\n\n<p>Sentrifugo requires a&nbsp;LEMP\/LAMP&nbsp;Stack to run. We are using LAMP stack in this guide. Hence follow the link below to install LAMP on Ubuntu 20.04.<\/p>\n\n\n\n<p><a href=\"https:\/\/kifarunix.com\/install-lamp-stack-on-ubuntu-20-04\/\" target=\"_blank\" rel=\"noreferrer noopener\">Install and Setup LAMP Stack on Ubuntu 20.04<\/a><\/p>\n\n\n\n<p>Regarding PHP, ensure that the MySQL PDO as well as the GD libraries are installed. You can verify if these modules are already loaded by running the command&nbsp; below;<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"><code>php -m | egrep 'pdo_|gd'<\/code><\/pre>\n\n\n\n<pre class=\"wp-block-code\"><code>gd\npdo_dblib\npdo_mysql<\/code><\/pre>\n\n\n\n<p>If the modules listed above are not available, install them as shown below;<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"><code>sudo apt install php-{mysql,gd}<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\">Create a Database for Sentrifugo HRMS<\/h3>\n\n\n\n<p>Create a database that can be used to store Sentrifugo application data.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"><code>sudo mysql -u root -p<\/code><\/pre>\n\n\n\n<pre class=\"wp-block-preformatted\"><code>create database sentrifugo;<\/code><\/pre>\n\n\n\n<p>After that, you need to create a database user account for exclusive management of Sentrifugo. Be sure to grant this user all privileges on the Sentrifugo database;<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"><code>grant all privileges on sentrifugo.* to hradmin@localhost identified by \"<strong>PASSWORD<\/strong>\";<\/code><\/pre>\n\n\n\n<p>Flush the database privileges to reload the database grant tables and exit the database;<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"><code>flush privileges;\nquit<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\">Download Sentrifugo application<\/h3>\n\n\n\n<p>Once your server has met the above per-requisites, go ahead and download the Sentrifugo application from&nbsp;<a href=\"http:\/\/www.sentrifugo.com\/download\" target=\"_blank\" rel=\"noreferrer noopener\">Sentrifugo download page<\/a>&nbsp;to your web root directory.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"><code>sudo wget http:\/\/www.sentrifugo.com\/home\/downloadfile?file_name=Sentrifugo.zip -O \/tmp\/sentrifugo.zip<\/code><\/pre>\n\n\n\n<p>Once the download completes, unzip it to your web root directory as shown below.<\/p>\n\n\n\n<p>apt install zip -y<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"><code>unzip \/tmp\/Sentrifugo.zip -d \/var\/www\/html\/<\/code><\/pre>\n\n\n\n<p>This will extract Sentrifugo application to&nbsp;<strong>Sentrifugo_3.2<\/strong> directory.<\/p>\n\n\n\n<p>Rename this directory to&nbsp;<strong>sentrifugo<\/strong>&nbsp;and set the proper ownership and permissions for the application.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"><code>sudo mv \/var\/www\/html\/{Sentrifugo_3.2,sentrifugo}<\/code><\/pre>\n\n\n\n<pre class=\"wp-block-preformatted\"><code>sudo chown -R www-data.www-data \/var\/www\/html\/sentrifugo\nsudo chmod -R 755 \/var\/www\/html\/sentrifugo<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\">Create Sentrifugo Site Configuration<\/h3>\n\n\n\n<p>After you have installed Sentrifugo and set the proper permissions, create Apache site configuration for Sentrifugo application as shown below;<\/p>\n\n\n\n<pre class=\"scroll-box\"><code>\ncat &gt; \/etc\/apache2\/sites-available\/sentrifugo.conf &lt;&lt; 'EOL'\n&lt;VirtualHost *:80&gt;\n     DocumentRoot \/var\/www\/html\/sentrifugo\n     ServerName hr.kifarunix-demo.com\n\n\n    &lt;Directory \/var\/www\/html\/sentrifugo\/&gt;\n        Options +FollowSymlinks\n        AllowOverride All\n        Require all granted\n     &lt;\/Directory&gt;\n\n     ErrorLog ${APACHE_LOG_DIR}\/error.log\n     CustomLog ${APACHE_LOG_DIR}\/access.log combined\n\n&lt;\/VirtualHost&gt;\nEOL\n<\/code><\/pre>\n\n\n\n<p>Enable Sentrifugo site<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"><code>a2ensite sentrifugo.conf<\/code><\/pre>\n\n\n\n<p>Enable rewrite module;<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"><code>a2enmod rewrite<\/code><\/pre>\n\n\n\n<p>Set the correct timezone. Edit the file&nbsp;<code>\/etc\/php\/7.4\/fpm\/php.ini<\/code>&nbsp;such that your configuration looks like;<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"><code>sed -i 's\/;date.timezone =\/date.timezone = Asia\\\/Kolkata\/' \/etc\/php\/7.4\/fpm\/php.ini<\/code><\/pre>\n\n\n\n<p>Before you can restart Apache, verify that the configuration has no syntax errors;<\/p>\n\n\n\n<pre id=\"block-fe9924cc-dbaf-4acd-b082-1cbb439a1c3e\" class=\"wp-block-preformatted\">apachectl -t<\/pre>\n\n\n\n<pre class=\"wp-block-code\"><code>Syntax OK<\/code><\/pre>\n\n\n\n<p>If all is well,  restart Apache<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"><code>systemctl restart apache2<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\">Configure Sentrifugo HRMS from Browser<\/h3>\n\n\n\n<p>Once you are done with the configuration above, it is time to configure Sentrifugo.<\/p>\n\n\n\n<p>Most of the next configurations&nbsp; will be done from the web interface. Therefore, navigate to the browser and enter the IP\/hostname address of your server in order to access Sentrifugo.<\/p>\n\n\n\n<p>While loading Sentrifugo on browser, you may get such an error;<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>Deprecated: __autoload() is deprecated, use spl_autoload_register() instead in \/var\/www\/html\/sentrifugo\/install\/PHPMailer\/PHPMailerAutoload.php on line 45<\/code><\/pre>\n\n\n\n<p>Apply the suggested solution and restart Apache;<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"><code>sed -i.bak '45s\/__autoload\/spl_autoload_register\/' \/var\/www\/html\/sentrifugo\/install\/PHPMailer\/PHPMailerAutoload.php<\/code><\/pre>\n\n\n\n<pre class=\"wp-block-preformatted\"><code>systemctl restart apache2<\/code><\/pre>\n\n\n\n<h4 class=\"wp-block-heading\">Confirm Sentrifugo Prereqs<\/h4>\n\n\n\n<p>Ensure that all prereqs are met before you can proceed.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1203\" height=\"960\" src=\"https:\/\/kifarunix.com\/wp-content\/uploads\/2021\/07\/sentrifugo-prereqs.png\" alt=\"\" class=\"wp-image-9893\" title=\"\" srcset=\"https:\/\/kifarunix.com\/wp-content\/uploads\/2021\/07\/sentrifugo-prereqs.png?v=1627587952 1203w, https:\/\/kifarunix.com\/wp-content\/uploads\/2021\/07\/sentrifugo-prereqs-768x613.png?v=1627587952 768w\" sizes=\"(max-width: 1203px) 100vw, 1203px\" \/><\/figure>\n\n\n\n<h4 class=\"wp-block-heading\">Configure Database Connection Settings<\/h4>\n\n\n\n<p>Since all the per-requisites are met, click&nbsp;<strong>Next<\/strong>&nbsp;to configure Sentrifugo database.<\/p>\n\n\n\n<p>Be sure to enter the database connection details set above.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1151\" height=\"743\" src=\"https:\/\/kifarunix.com\/wp-content\/uploads\/2021\/07\/sentrifugo-db.png\" alt=\"\" class=\"wp-image-9894\" title=\"\" srcset=\"https:\/\/kifarunix.com\/wp-content\/uploads\/2021\/07\/sentrifugo-db.png?v=1627587986 1151w, https:\/\/kifarunix.com\/wp-content\/uploads\/2021\/07\/sentrifugo-db-768x496.png?v=1627587986 768w\" sizes=\"(max-width: 1151px) 100vw, 1151px\" \/><\/figure>\n\n\n\n<p>Click&nbsp;<strong>Confirm<\/strong>&nbsp;to proceed and then confirm that you want to proceed.<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">Application Settings<\/h4>\n\n\n\n<p>Next, you need to configure Sentrifugo Applications settings and an email ID for authenticating to Mail Server.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1059\" height=\"727\" src=\"https:\/\/kifarunix.com\/wp-content\/uploads\/2021\/07\/application-settings.png\" alt=\"\" class=\"wp-image-9895\" title=\"\" srcset=\"https:\/\/kifarunix.com\/wp-content\/uploads\/2021\/07\/application-settings.png?v=1627588013 1059w, https:\/\/kifarunix.com\/wp-content\/uploads\/2021\/07\/application-settings-768x527.png?v=1627588013 768w\" sizes=\"(max-width: 1059px) 100vw, 1059px\" \/><\/figure>\n\n\n\n<h4 class=\"wp-block-heading\">Email Settings<\/h4>\n\n\n\n<p>Configure Mail Server settings.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1091\" height=\"763\" src=\"https:\/\/kifarunix.com\/wp-content\/uploads\/2021\/07\/email-settings.png\" alt=\"\" class=\"wp-image-9896\" title=\"\" srcset=\"https:\/\/kifarunix.com\/wp-content\/uploads\/2021\/07\/email-settings.png?v=1627588037 1091w, https:\/\/kifarunix.com\/wp-content\/uploads\/2021\/07\/email-settings-768x537.png?v=1627588037 768w\" sizes=\"(max-width: 1091px) 100vw, 1091px\" \/><\/figure>\n\n\n\n<p>Configuration final checks.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1110\" height=\"726\" src=\"https:\/\/kifarunix.com\/wp-content\/uploads\/2021\/07\/final-checks.png\" alt=\"\" class=\"wp-image-9897\" title=\"\" srcset=\"https:\/\/kifarunix.com\/wp-content\/uploads\/2021\/07\/final-checks.png?v=1627588064 1110w, https:\/\/kifarunix.com\/wp-content\/uploads\/2021\/07\/final-checks-768x502.png?v=1627588064 768w\" sizes=\"(max-width: 1110px) 100vw, 1110px\" \/><\/figure>\n\n\n\n<p>Click finish to finalize on the configurations.<\/p>\n\n\n\n<p>This will take you to a page where you are given the link to access the application and the login credentials.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1112\" height=\"471\" src=\"https:\/\/kifarunix.com\/wp-content\/uploads\/2021\/07\/credentials.png\" alt=\"\" class=\"wp-image-9898\" title=\"\" srcset=\"https:\/\/kifarunix.com\/wp-content\/uploads\/2021\/07\/credentials.png?v=1627588076 1112w, https:\/\/kifarunix.com\/wp-content\/uploads\/2021\/07\/credentials-768x325.png?v=1627588076 768w\" sizes=\"(max-width: 1112px) 100vw, 1112px\" \/><\/figure>\n\n\n\n<p>The Sentrifugo has been successfully installed. If you login to your email account, you will see an email confirming the successful installation. Now, click on the <strong>link<\/strong> to access the Sentrifugo web login user interface.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1378\" height=\"666\" src=\"https:\/\/kifarunix.com\/wp-content\/uploads\/2021\/07\/sentrifugo-login.png\" alt=\"\" class=\"wp-image-9899\" title=\"\" srcset=\"https:\/\/kifarunix.com\/wp-content\/uploads\/2021\/07\/sentrifugo-login.png?v=1627588090 1378w, https:\/\/kifarunix.com\/wp-content\/uploads\/2021\/07\/sentrifugo-login-768x371.png?v=1627588090 768w\" sizes=\"(max-width: 1378px) 100vw, 1378px\" \/><\/figure>\n\n\n\n<p>Login with the credentials shown on the&nbsp;<strong>Finish<\/strong>&nbsp;configuration page. Once you login for the first time, you are welcomed by Sentrifugo default dashboard as shown below;<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1264\" height=\"898\" src=\"https:\/\/kifarunix.com\/wp-content\/uploads\/2021\/07\/configuration.png\" alt=\"\" class=\"wp-image-9900\" title=\"\" srcset=\"https:\/\/kifarunix.com\/wp-content\/uploads\/2021\/07\/configuration.png?v=1627588112 1264w, https:\/\/kifarunix.com\/wp-content\/uploads\/2021\/07\/configuration-768x546.png?v=1627588112 768w\" sizes=\"(max-width: 1264px) 100vw, 1264px\" \/><\/figure>\n\n\n\n<p>The default dashboard introduces you to a configuration wizard where you can enable modules essential to your human resource processes, configure the standards used in your organization, provide your organization information, configure business unit and departments and configure service request settings used in your organization.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1859\" height=\"718\" src=\"https:\/\/kifarunix.com\/wp-content\/uploads\/2021\/07\/analytics.png\" alt=\"\" class=\"wp-image-9901\" title=\"\" srcset=\"https:\/\/kifarunix.com\/wp-content\/uploads\/2021\/07\/analytics.png?v=1627588150 1859w, https:\/\/kifarunix.com\/wp-content\/uploads\/2021\/07\/analytics-768x297.png?v=1627588150 768w, https:\/\/kifarunix.com\/wp-content\/uploads\/2021\/07\/analytics-1536x593.png?v=1627588150 1536w\" sizes=\"(max-width: 1859px) 100vw, 1859px\" \/><\/figure>\n\n\n\n<p>Well, feel free to configure this amazing HRMS tool as it best suits you.<\/p>\n\n\n\n<p>Other tutorials<\/p>\n\n\n\n<p><a href=\"https:\/\/kifarunix.com\/install-vtiger-crm-on-rocky-linux-8\/\" target=\"_blank\" rel=\"noreferrer noopener\">Install Vtiger CRM on Rocky Linux 8<\/a><\/p>\n\n\n\n<p><a href=\"https:\/\/kifarunix.com\/install-and-setup-vtiger-crm-on-debian-10\/\" target=\"_blank\" rel=\"noreferrer noopener\">Install and Setup Vtiger CRM on Debian 10<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Today, we are going to learn about how to install and setup Sentrifugo HRMS on Ubuntu 20.04. Sentrifugo HRMS is a free and open-source human<\/p>\n","protected":false},"author":1,"featured_media":9904,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"rank_math_lock_modified_date":false,"footnotes":""},"categories":[121],"tags":[3904,234,3907,3905,1200],"class_list":["post-9890","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-howtos","tag-install-sentrifugo-ubuntu-20-04","tag-sentrifugo","tag-sentrifugo-install","tag-sentrifugo-ubuntu","tag-ubuntu-20-04","generate-columns","tablet-grid-50","mobile-grid-100","grid-parent","grid-50","resize-featured-image"],"_links":{"self":[{"href":"https:\/\/kifarunix.com\/wp-json\/wp\/v2\/posts\/9890"}],"collection":[{"href":"https:\/\/kifarunix.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/kifarunix.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/kifarunix.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/kifarunix.com\/wp-json\/wp\/v2\/comments?post=9890"}],"version-history":[{"count":5,"href":"https:\/\/kifarunix.com\/wp-json\/wp\/v2\/posts\/9890\/revisions"}],"predecessor-version":[{"id":21712,"href":"https:\/\/kifarunix.com\/wp-json\/wp\/v2\/posts\/9890\/revisions\/21712"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/kifarunix.com\/wp-json\/wp\/v2\/media\/9904"}],"wp:attachment":[{"href":"https:\/\/kifarunix.com\/wp-json\/wp\/v2\/media?parent=9890"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/kifarunix.com\/wp-json\/wp\/v2\/categories?post=9890"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/kifarunix.com\/wp-json\/wp\/v2\/tags?post=9890"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}