How to install TaskBoard Kanban on Debian 10

TaskBoard is a free, open source PHP-based tool that helps users keep track of their important tasks. It has a simple and convenient web interface, intuitive and easy to use. It is easy to configure and can work on any Linux platform. With TaskBoard, you can create an unlimited number of boards and projects and keep track of what needs to be done.

In this article, we will explain how you can install TaskBoard on a Linux operating system. TaskBoard provides many features. Some of them are listed below:

  • Free, open source
  • Self Hosted.
  • Easy to install.
  • Unlimited board and projects.
  • Setting up columns inside the board and constantly expanding / collapsing for each user.
  • Elements allow you to customize colors, classify, describe Mark Down, attachments and comments.
  • Elements display a complete history of actions.
  • Full history of all forum activity for administrators.
  • Simple setup.
  • Basic user management (administrator and regular users).
  • No external dependencies.
  • Automatically creates a SQLite database on first use.
  • RESTful API.
  • Works on almost any web host

We have completed the commands and procedures mentioned in this article on the Debian 10 operating system.

Background

Here are some prerequisites that we need to set before installing the taskbar.

  • Apache 2
  • Sqlite
  • PHP> 5.5, php5-sqlite PHP library

Step 1: Update Your System

Before installing TaskBoard and its prerequisites, we need to update the package database. This will let the system know if new versions of installed packages are available. To do this, launch the Terminal application on your system by going to activity tab in the upper left corner of the Debian desktop. Then in the search bar enter Terminal, When the terminal icon appears, click on it to launch it.

Then enter the following command in Terminal to update the package database.

$ sudo apt update

After we update the package database, we will need to update the installed packages. To do this, run the command below:

$ sudo apt upgrade

Step 2: Install Apache

TaskBoard requires a web server to serve its content. For this purpose we will use the Apache web server. To install, run the following command in Terminal:

$ apt -y install apache2

After the Apache web server installation is complete, enable the Apache service to start automatically after the server reboots.

$ systemctl enable apache2

Then run the following command to start the Apache service:

$ systemctl start apache2

To verify that Apache is running, run the following command in the terminal:

$ systemctl status apache2

You will get results similar to the ones below, showing that the Apache service is up and running.

Check Apache Status

Or open any web browser and enter Http: // followed by your IP address:

http://IP_address

If the web server is actively running, you will see the default Apache page, as shown below.

Apache default page

Step 3: Install PHP and SQLite

TaskBoard is a PHP based application. Therefore, the next step is to install PHP and other necessary libraries in our system. Run the command below in Terminal to install PHP along with several extensions:

$ apt -y install php php-json php-cli php-gd php-sqlite3 libapache2-mod-php

Installing the PHP Scripting Language

It will take some time, depending on your internet speed, and then PHP and all extensions will be installed on your system.

After installation is complete, run the following command to verify the installed version of PHP.

$ php -v

Check PHP Version

TaskBoard does not require an SQL server, it only needs a sqlite database to store data. Run the following command in a terminal to install the SQLite database.

$ apt -y install sqlite

Install SQLite Database

Wait for a while until the installation of SQLite is complete. You are now ready to install Taskboard on your system.

Step 4: Download and Install TaskBoard

Now download the latest version of TaskBoard from the Git repository to the document root directory. / Var / www / html / your system. To do this, run the following command:

$ wget https://github.com/kiswa/TaskBoard/archive/master.zip -P /var/www/html/

Install TaskBoard

Once it is downloaded, you will need to extract the downloaded file. Make sure that unzip is installed on your system. If it is not already installed, you can install it with the following command:

$ apt -y install unzip

Install unzip

Now go to the root directory of the document with the following command and extract the downloaded file using unzip. To do this, run the following commands.

$ cd /var/www/html
$ unzip master.zip

unzip the archive with the original TaskBoard file

All extracted files will be saved to Taskboard master catalog. Rename the directory to taskboard,

$ mv TaskBoard-master/ taskboard

Then install additional PHP dependencies using Composer. Before that, change the directory to TaskBoard and update Composer to the latest version:

$ cd taskboard/
$ ./build/composer.phar self-update

You will see a conclusion similar to the one below.

Composer Update

After upgrading Composer to the latest version, install PHP dependencies with it using the following command:

$ ./build/composer.phar install

Install using Composer

Now set the correct permissions for the TaskBoard directory by running the following command:

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

Step 5: Create an Apache Virtual Host

Now we need to create an Apache virtual host file for TaskBoard. To do this, run the following command in Terminal:

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

Add the following lines. Remember to replace domain.com with your own domain name or IP address.



ServerName domain.com

DocumentRoot /var/www/html/taskboard

Options -Indexes +FollowSymLinks +MultiViews

AllowOverride All

Require all granted

ErrorLog ${APACHE_LOG_DIR}/domain.com-error.log

CustomLog ${APACHE_LOG_DIR}/domain.com-access.log combined

Create Apache Virtual Host

Save and close the file. Now run the following commands to include the virtual host file and the Apache rewrite module.

$ sudo a2ensite taskboard

$ sudo a2enmod rewrite

Now restart the Apache2 service for the change to take effect.

$ systemctl reload apache2

$ systemctl restart apache2

Now that we have installed and configured TaskBoard, it’s time to start. Open a web browser and enter the TaskBoard address in the following format:

http://IP_address or domain.com

You will see the default login page on the taskbar. Log in using the default username and password as admin / admin,

TaskBoard Login

That is all there is to it! In this article, we learned how to install TaskBoard on top of the Apache, PHP and SQLite stack on Debian 10.

How to install TaskBoard Kanban on Debian 10

Sidebar