Learn How To Install and Configure TaskBoard on Ubuntu 16.04

March 16, 2020

Table of Contents

If you are using a different system, please check our other tutorials.

Introduction

TaskBoard is a free and open source tool that can be used to keep track of things that need to get done. It provides a user friendly web interface and minimal application for keeping track of tasks. TaskBoard is easily customizable and works on almost any web host.

In this tutorial, I will explain how to install and configure TaskBoard on Ubuntu 16.04 server.

Prerequisites

  • A newly deployed IT Web Services Ubuntu 16.04 server instance.
  • A non-root user with sudo privileges setup on your server.
  • A static IP address 192.168.15.110 configured on your system.

Step 1: Update the system

First, update your system to the latest stable version by running the following command:

sudo apt-get update -y
sudo apt-get upgrade -y
sudo reboot

Step 2: Install Apache, SQLite, and PHP

Before starting, you will need to install the Apache web server, PHP 7, SQLite database, and other required libraries on your server.

You can install these by running the following command:

sudo apt-get install apache2 apache2-bin apache2-data apache2-mpm-prefork libaio1 libapr1 libaprutil1 libaprutil1-dbd-sqlite3 libaprutil1-ldap libdbi-perl libhtml-template-perl libterm-readkey-perl libwrap0 ssl-cert tcpd libapache2-mod-php7.0 php7.0-cli php7.0-common php7.0-json php7.0-readline php7.0-sqlite sqlite

Once installation is complete, you can proceed to the next step.

Step 3: Download and install TaskBoard

You can download the latest version of the TaskBoard from GitHub using the wget command:

wget https://github.com/kiswa/TaskBoard/archive/master.zip

Once the download has finished, extract the downloaded archive with the following command:

unzip master.zip

Next, rename the extracted directory to taskboard.

mv TaskBoard-master taskboard

Install the required PHP dependencies using Composer.

cd taskboard
sudo ./build/composer.phar install

Move the taskboard directory to /var/www/html/.

sudo mv taskboard /var/www/html/

Set the proper permissions on the taskboard directory.

sudo chown -R www-data:www-data /var/www/html/taskboard

Step 4: Configure Apache for TaskBoard

Create a new virtual host configuration file for TaskBoard. You can do this with the following command:

sudo nano /etc/apache2/sites-available/taskboard.conf

Add the following lines:

<VirtualHost *:80>
   ServerName 192.168.15.110
   DocumentRoot /var/www/html/taskboard
 <Directory /var/www/html/taskboard>
   Options -Indexes +FollowSymLinks +MultiViews
   AllowOverride All
   Require all granted
 </Directory>ErrorLog ${APACHE_LOG_DIR}/taskboard-error.log
   CustomLog ${APACHE_LOG_DIR}/taskboard-access.log combined
</VirtualHost>

Save the file and enable the virtual host with the following command:

sudo a2ensite taskboard

TaskBoard uses an .htaccess file, so you will also need to enable both the mod_expires and mod_rewrite modules.

sudo a2enmod expires
sudo a2enmod rewrite

Next, reload the Apache service for these changes to take effect:

sudo service apache2 reload

Step 5: Conclusion

Now that the installation is complete, you can proceed to access the TaskBoard web interface.

Open your favorite web browser and type the URL http://192.168.15.110. Log into TaskBoard using default username and password admin. After successfully logging in, you will be presented with the main dashboard.

Need help?

Do you need help setting up this on your own service?
Please contact us and we’ll provide you the best possible quote!