When using distros such as CentOS 7, which is a distro that offers us a host of practical functions to optimize the services of the organization, it is essential to know that we can further extend its potential by installing and configuring free, open source tools developed for this purpose.
What is TaskBoard?
TaskBoard is an application to view in a simple way and with a visual environment a follow-up of the tasks that will be necessary to carry out.
Update CentOS 7
In the first place it will be necessary to update the CentOS 7 packages, and for this, we will execute the following line:
yum -y update
Install Apache in CentOS 7
The HTTP server offered by Apache has been developed to be a software whose purpose is to create a robust source of code, commercial, functional in all areas and free.
To install Apache in CentOS 7, we will execute the following line:
yum -y install httpd
Now we will execute the following lines:
systemctl start httpd systemctl enable httpd
Install PHP & SQLite in CentOS 7
The next step is to install PHP since this is a component that is part of the configuration and thanks to which it will be possible to process codes to display dynamic content.
TaskBoard is written in PHP, so it is vital to install it in CentOS 7.
PHP's default repository does not have version 7.1, so it will be necessary to install it through EPEL and for this we will execute the following in the first place:
yum -y install epel-release
In this case, we already have the most recent version of EPEL. Then we will update the system again using the line:
yum -y update
Next we will install the Webtatic repository executing the following line:
rpm -Uvh https://mirror.webtatic.com/yum/el7/webtatic-release.rpm
yum -y update
Once updated, we proceed to install PHP with its respective dependencies, executing the following line:
yum -y install php71w php71w-json php71w-gd php71w-cli php71w-readline php71w-sqlite3
Check that PHP has been installed correctly by running the next line to know its version:
Because TaskBar uses SQLite as a database manager, we will proceed with its installation using the following line:
yum -y install sqlite
Install TaskBoard on CentOS 7
Once we complete the previous steps we proceed to install TaskBoard and for this first of all we will go to the directory /var/www/ executing the following:
Once there we will download the latest version of TaskBoard using the following line:
Extract the contents of the downloaded file by running:
The above command is responsible for extracting the file to the master directory TaskBoard. We will modify the name of the directory by executing the following line:
mv TaskBoard-master/ taskboard
The next step is to install the required PHP dependencies through Composer by running the following command:
Once all the dependencies are installed, we must provide ownership of the files to Apache by running the following line:
chown -R apache:apache /var/www/taskboard
Modify Firewall & Create VHosts in CenTOS 7
The next step is to allow HTTP traffic on port 80 through the CentOS 7 firewall and for this, we will execute the following:
firewall-cmd --zone=public --permanent --add-service=httpfirewall-cmd –reload
Now we will create a virtual host for the TaskBoard application and to do this we will run the following:
In this file we will paste the following:
<VirtualHost *:80> ServerAdmin [email protected] DocumentRoot "/var/www/taskboard" ServerName board. (Dominio).com ServerAlias www.board.(Dominio).com <Directory "/var/www/taskboard"> Options Indexes FollowSymLinks AllowOverride All Require all granted </Directory> ErrorLog "/var/log/httpd/board. (Dominio).com-error_log" CustomLog "/var/log/httpd/board. (Dominio).com-access_log" combined</VirtualHost>
Save the changes using the key combination Ctrl + O and exit the editor using Ctrl + X.
We restart the Apache service by executing the following:
systemctl restart httpd
Run TaskBoard in CentOS 7
To access this tool we go to any browser and enter the syntax:
There we will enter the user admin and the password admin.
Finally, TaskBoard has been installed in CentOS 7.