2 C
Texas
angeloma
Senior Writer and partner

How to install Sentrifugo on Ubuntu 18.04?

Employees are the heart of an organization and it is necessary to have an application capable of managing all the processes pertaining to this area. So, that’s why in this article you can learn how to install Sentrifugo HRMS in Ubuntu 18.04?

Sentrifugo HRMS is a human resources management software. It has extensive features and functions that allow medium and large companies to have everything to effectively manage the business processes of employees.

One of its most salient features is that it is very configurable to the needs of each organization. So, it is highly probable that you will be able to use it in your company without any problem.

Of course, this brilliant software can be installed on a Linux server, because it has a web application to manage it. It also uses MariaDB as a database manager to ensure efficiency and effectiveness.

- Advertisement -

Now, you going to install Sentrifugo on Ubuntu 18.04.

0. Prerequisites

Although it is a fairly complete software in its area, its installation is not difficult to do. However, it’s a good idea to know a few things:

  • To install Sentrifugo it is necessary to execute commands as superuser.
  • To have a certain knowledge of the use of the terminal simplifies a lot of the steps.
  • You must have a computer with Ubuntu 18.04 ready and ready for installation.

Let’s start.

1. Upgrade the system

The first step to install Sentrifugo in Ubuntu 18.04 is to update the system. With this, the security of the system is improved and the last security patches are obtained.

:~$ sudo apt update && sudo apt upgrade

1.- Upgrade the system
1.- Upgrade the system

Already with the updated system, you can continue with the installation

2. Install Apache2 web server

Sentrifugo’s Front-end is based on a web application, that’s why you need to install a web server. In this article, I will work with apache.

:~$ sudo apt install apache2

2.- Install apache web server
2.- Install Apache web server

At the end of the installation, enable the apache service to start at system startup.

:~$ sudo sytemctl enable apache2
:~$ sudo systemctl start apache2

3.- Enabling the apache service
3.- Enabling the apache service

Now you can continue the installation.

3. Install PHP

Your web application is developed with PHP, so the next step is to install this programming language.

:~$ sudo apt 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

4.- Installing PHP
4.- Installing PHP

To check that Apache and PHP are running normally. Create a file named example.php in /var/www/html and add the following.

:~$ sudo nano /var/www/html/example.php
<?php
phpinfo();
?>

5.- phpinfo
5.- phpinfo

Now, go to the web browser and open it. http://IP_SERVER/example.php. You will see this:

7.- PHP info
6.- PHP info

Apache and PHP are installed correctly.

4. Install MariaDB

Sentrifugo HRMS uses as database manager MariaDB. So you have to install it and do a little configuration.

:~$ sudo apt install mariadb-server

7.- Installing MariaDB
7.- Installing MariaDB

When you finish installing MariaDB, you have to define a root password and other tweaks. Run:

:~$ sudo mysql_secure_installation

8.- Running mysql_secure_installation
8.- Running mysql_secure_installation

In this case, after defining the root password I answered: Y, N, Y, Y.

Then, enable the MariaDB service.

:~$ sudo systemctl enable mariadb
:~$ sudo systemctl start mariadb

8.Enabling MariaDB service
8.Enabling MariaDB service

Now you can access the MariaDB console and create the database that Sentrifugo will use. As well as the username and password of a new MariaDB user.

:~# sudo mysql -u root -p
CREATE DATABASE sentrifugodb;
USE sentrifugodb;
GRANT ALL PRIVILEGES ON sentrifugodb.* TO 'sentrifugouser'@'localhost' IDENTIFIED BY 'sentrifugopss';
FLUSH PRIVILEGES;
exit;

10.- Configuring MariaDB
10.- Configuring MariaDB

MariaDB is ready for action.

5. Install Sentrifugo

Now we can download and install Sentrifugo. First, place it in the /tmp folder and then proceed to download it.

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

11.- Download and install Sentrifugo
11.- Download and install Sentrifugo

Then, uncompress the file:

:~$ unzip Sentrifugo.zip

12.- Unzipping the file
12.- Unzipping the file

The next step is to copy the unzipped folder to /var/www/html/sentrifugo so that it is available on the web server.

:~$ sudo cp -r Sentrifugo_3.2 /var/www/html/sentrifugo

Then, change the owner of the folder.

:~$ sudo chown -R www-data:www-data /var/www/html/sentrifugo/

And finally, change the permissions:

:~$ sudo chmod -R 755 /var/www/html/sentrifugo/

13.- Preparing Sentrifugo
13.- Preparing Sentrifugo

After doing this, edit the file /var/www/html/sentrifugo/application/configs/application.ini and make the following change

:~$ sudo nano /var/www/html/sentrifugo/application/configs/application.ini
phpSettings.error_reporting = E_ALL & ~E_DEPRECATED & ~E_STRICT

14.- Editing Sentrifugo configuration file
14.- Editing Sentrifugo configuration file

Finally, enable the rewrite module and restart apache.

:~$ sudo a2enmod rewrite
:~$ sudo systemctl restart apache2

Now, you can go to your web browser to complete the installation. HTTP:/IP_SERVER/sentrifugo

6. Complete the installation

The first screen begins to check all the requirements to complete the installation.

15.- Completing the installation
15.- Completing the installation

16.- Completing the installation
16.- Completing the installation

After clicking Next, you have to write the previously created MariaDB credentials.

17.- MariaDB Credentials on the installation
17.- MariaDB Credentials on the installation

Then, you must specify your email address. I recommend Gmail. Of course in the image is not written a Gmail to avoid having to give my address, but I repeat it is recommended to use Gmail for Sentrifugo.

18.- Setting the email
18.- Setting the email

Then, you have to configure the Mail Server settings:

19.- Setting the email
19.- Setting the email

If you’re using Gmail, then the options are as follows:

Authentication type: True
User name: "Your email"
Password: "Your password"
SMTP Server: smtp.gmail.com
Secure Transport Layer: tls
Port: 587

19-1. Configuring mail server
19-1. Configuring mail server with Gmail

When you configure the mail server correctly, you will see this screen.

20.- Final check from the installer
20.- Final check from the installer

Once the installation is finished, you will be presented with a screen with the username and password to use. You will see the link to start logging into the application.

21.- Installation complete
21.- Installation complete

Then, you can log in and see the application dashboard.

And that’s it.

Conclusion

It is easy to install Sentrifugo HRMS on a Linux Ubuntu 18.04 server, but it is helpful if you require a system capable of managing employee processes.

Please spread this article.

 

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

LEAVE A REPLY

Please enter your comment!
Please enter your name here



Latest article