How to install TaskBoard Kanban on Debian 10

s2 0

TaskBoard is a free and open source PHP based tool that helps users keep track of their important tasks. It has a simple, easy-to-use web interface that is intuitive and easy to use. It is easily customizable and can be used on any Linux platform. With TaskBoard you can create unlimited boards and projects and keep track of things that need to be done.

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

  • Free, open source
  • Self hosted.
  • Easy to install.
  • Unlimited board and projects.
  • Adjustment of columns within boards and permanent expansion / reduction per user.
  • Elements allow custom colors, categorization, markdown descriptions, attachments, and comments.
  • Items indicate the full history of activities.
  • Complete history of all board activities for administrators.
  • Easy customization.
  • Basic user management (admin and normal users).
  • No external dependencies.
  • Automatically creates a SQLite database on first use.
  • RESTful API.
  • Works on almost all web hosts

We ran the commands and procedures mentioned in this article on a Debian 10 operating system.

requirements

Here are some prerequisites we need to install before we install the TaskBoard.

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

Step 1: update the system

Before installing TaskBoard and its prerequisites, we need to update the package database. This allows the system to find out whether the new versions of the installed packages are available. To do this, start the terminal application in your system by entering the activities Tab in the top left corner of your Debian desktop. Then type in the search bar 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

Now that we’ve updated the package database, we need to update the installed packages. To do this, run the following command:

$ sudo apt upgrade

Step 2: install Apache

TaskBoard needs a web server to serve its content. We use the Apache web server for this. Run the following command in Terminal to install it:

$ apt -y install apache2

After you have completed the installation of the Apache web server, enable the Apache service so that it starts automatically when the server restarts.

$ systemctl enable apache2

Then run the following command to start the Apache service:

$ systemctl start apache2

Run the following command in Terminal to check that Apache is running:

$ systemctl status apache2

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

Or open any web browser and enter http: // followed by your IP address as follows:

https://IP_address

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

Apache standard page

Step 3: install PHP and SQLite

TaskBoard is a PHP-based application. So the next step would be to install PHP and other required libraries on our system. Run the following command in Terminal to install PHP along with several extensions:

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

Installation of the PHP scripting language

It will take a while depending on your internet speed and then PHP and all its extensions will be installed on your system.

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

$ php -v

Check PHP version

Instead, TaskBoard does not need a SQL server, just a SQLite database to store data. Run the following command in the terminal to install the SQLite database.

$ apt -y install sqlite

Install the SQLite database

Wait a while for the SQLite installation to finish. You are now ready to install Taskboard on your system.

Step 4: Download and install TaskBoard

Now download the latest version of the TaskBoard from the Git repository into 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

After the download, you need to extract the downloaded file. Make sure the extraction utility is installed on your system. If it isn’t already installed, you can install it with the following command:

$ apt -y install unzip

Install extract

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

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

Unpack the TaskBoard source file archive

All extracted files are saved in the task board master Directory. Rename the directory to Task board.

$ mv TaskBoard-master/ taskboard

Next, install some additional PHP dependencies using Composer. Change the directory to TaskBoard beforehand and update the Composer to the latest version:

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

You will see the output similar to the one below.

Update composer

After the composer has been updated to the latest version, install PHP dependencies with the following command:

$ ./build/composer.phar install

Install with Composer

Now set the correct permissions on 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 the TaskBoard. To do this, run the following command in the 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.

<VirtualHost *:80>

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

</VirtualHost>

Create an Apache virtual host

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

$ sudo a2ensite taskboard

$ sudo a2enmod rewrite

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

$ systemctl reload apache2

$ systemctl restart apache2

Now that we’ve installed and set up TaskBoard, it’s time to start. Open your web browser and enter the TaskBoard address in the following format:

https://IP_address or domain.com

You will see the standard TaskBoard login page. Log in with the default username and password as Administrator / Administrator.

TaskBoard login

That’s all! In this article we learned how to install a TaskBoard on the Apache, PHP and SQLite stack on Debian 10 OS.

How to install TaskBoard Kanban on Debian 10