How to install Kanboard on CentOS 7

How to install Kanboard on CentOS 7

Kanboard is a free and open source project management tool that uses the kanban methodology . Kanboard focuses on simplicity and minimalism and it is mainly designed for small teams. It also helps you to manage your projects and visualize your workflow. By using the kanboard you can limit the number of task that are under in progress. This tutorial covers the installation procedure of Kanboard on CentOS 7.

Pre-Requisites

LAMP SETUP

- Apache

- Mariadb

- Php 7

Installation procedure

Before starting the installation process, go to kanboard official website and copy the link for downloading it using wget command.

[root@linuxhelp ~]# wget http://kanboard.net/kanboard-latest.zip
--2017-08-18 14:02:53--  http://kanboard.net/kanboard-latest.zip
Resolving kanboard.net (kanboard.net)... 104.28.17.221, 104.28.16.221, 2400:cb00:2048:1::681c:10dd, ...
Connecting to kanboard.net (kanboard.net)|104.28.17.221|:80... connected.
HTTP request sent, awaiting response... 301 Moved Permanently
Location: https://kanboard.net/kanboard-latest.zip [following]
--2017-08-18 14:02:53--  https://kanboard.net/kanboard-latest.zip
Connecting to kanboard.net (kanboard.net)|104.28.17.221|:443... connected.
HTTP request sent, awaiting response... 302 Found
Location: /kanboard-1.0.46.zip [following]
--2017-08-18 14:02:55--  https://kanboard.net/kanboard-1.0.46.zip
Reusing existing connection to kanboard.net:443.
HTTP request sent, awaiting response... 200 OK
Length: 7082302 (6.8M) [application/zip]
Saving to: ‘ kanboard-latest.zip’ 
100%[======================================> ] 7,082,302   1.11MB/s   in 6.7s   

2017-08-18 14:03:03 (1.01 MB/s) - ‘ kanboard-latest.zip’  saved [7082302/7082302]

Now extract the package under Apache root directory running the unzip command.

[root@linuxhelp ~]# unzip kanboard-latest.zip -d /var/www/html/
Archive:  kanboard-latest.zip
   creating: /var/www/html/kanboard/
  inflating: /var/www/html/kanboard/.htaccess  
   creating: /var/www/html/kanboard/app/
  inflating: /var/www/html/kanboard/app/.htaccess  
   creating: /var/www/html/kanboard/app/Action/
  inflating: /var/www/html/kanboard/app/Action/Base.php  
  inflating: /var/www/html/kanboard/app/Action/CommentCreation.php  
.
.
.
/Exception/InvalidArgumentException.php  
  inflating: /var/www/html/kanboard/vendor/zendframework/zendxml/library/ZendXml/Exception/RuntimeException.php  
  inflating: /var/www/html/kanboard/vendor/zendframework/zendxml/library/ZendXml/Security.php  
  inflating: /var/www/html/kanboard/vendor/zendframework/zendxml/LICENSE.md  
  inflating: /var/www/html/kanboard/web.config  

Go to the apache root directory and enter into the kanboard directory and move all the files into apache root directory by executing the set of following commands.

[root@linuxhelp ~]# cd /var/www/html/
[root@linuxhelp html]# ls -l
total 4
drwxr-xr-x 8 root root 4096 Aug 14 03:42 kanboard
[root@linuxhelp html]# cd kanboard/
[root@linuxhelp kanboard]# mv * /var/www/html/
[root@linuxhelp kanboard]# cd ..

Remove that empty kanboard directory using rm command.

[root@linuxhelp html]# rm -rf kanboard

Now provide owner permission and read write execute permission to the recently moved apache root directory.

[root@linuxhelp html]# chown -R apache:apache /var/www/html/
[root@linuxhelp html]# chmod 775 /var/www/html/
[root@linuxhelp html]# mv config.default.php config.php

Create a configuration file named config.php using vim editor and enter the following contents into the file. Save and exit from the file.

[root@linuxhelp]# vim /etc/config.php
define(' DB_DRIVER' , ' mysql' ) // Mysql/Postgres username
define(' DB_USERNAME' , ' kanboard_user' ) // Mysql/Postgres password
define(' DB_PASSWORD' , ' Your Strong password' ) // Mysql/Postgres hostname
define(' DB_HOSTNAME' , ' localhost' ) 
// Mysql/Postgres database name define(' DB_NAME' , ' kanboard' ) 

Restart the Apache service by running the following command.

[root@linuxhelp html]# systemctl restart httpd

Next switch to your web browser and enter your machine‘ s IP http://192.168.7.165. The kanboard login page appears on the screen.

By default the username and password is “ admin” .

The kanboard application contains the dashboard. Now use the Project creation option.

Enter a name for the new project and save it.

Now you can add tasks to the kanban view.

This page contains the projects' overview.

The tasks are added to the project and viewed in kanban view.

You can also create tasks in bulk.

The tasks are entered in the project' s header without any hassles and you can also move the task from one header to another.

The installation of kanboard in CentOS 7 is done successfully.

Comment
pcmc
Nov 03 2017
Very good. How do you protect the DB_Password in config.php? This file is owned by root, but needs to be visible by the apache account.
Add a comment
FAQ
Q
Why minified files are committed into the source tree?
A
his is to simplify Kanboard release process.
People can download the archive directly from GitHub.
Q
How to add a new plugin to the list?
A
Update the files plugins.json and index.html, then send a pull-request.
compatible_version is the latest stable version tested with your plugin.
remote_install allows people to install the plugin from the Kanboard user interface.
Q
what are its pre requisites?
A
Pre-Requisites, LAMP SETUP - Apache - Mariadb - Php 7
Q
Where to download the latest release of it?
A
Please refer the link as follow "http://kanboard.net/".
Q
I am getting mysql connection error?
A
Check with "/etc/config.php" file for mysql connection error.