How to install Kanboard on OpenSUSE Leap 42.3
To install Kanboard on OpenSUSE Leap 42.3
Kanboard is a free and open source project management tool and it uses the kanban methodology for this. Kanboard focuses on simplicity and minimalism and it is mainly designed for small teams. Kanboard helps you to manage your projects and visualize your workflow. By using Kanboard you can limit the number of task that are under progress. This tutorial covers the installation procedure of Kanboard on OpenSUSE Leap 42.3.
Pre- Requisite
LAMP Setup
- Apache
- MariaDB
- PHP 7 (php php-mysql php-common php-pdo php-gd php-xml php-xmlrpc php-mcrypt php-mbstring)
Installation Procedure
To start with the installation procedure, go to the official website of Kanboard and get the link for downloading it using wget command.
linuxhelp:~ # wget http://kanboard.net/kanboard-latest.zip
--2017-10-13 09:16:25-- http://kanboard.net/kanboard-latest.zip
Resolving kanboard.net (kanboard.net)... 104.28.16.221, 104.28.17.221, 2400:cb00:2048:1::681c:11dd, ...
Connecting to kanboard.net (kanboard.net)|104.28.16.221|:80... connected.
HTTP request sent, awaiting response... 301 Moved Permanently
Location: https://kanboard.net/kanboard-latest.zip [following]
--2017-10-13 09:16:26-- https://kanboard.net/kanboard-latest.zip
Connecting to kanboard.net (kanboard.net)|104.28.16.221|:443... connected.
HTTP request sent, awaiting response... 302 Found
Location: https://github.com/kanboard/kanboard/releases/download/v1.0.47/kanboard-1.0.47.zip [following]
--2017-10-13 09:16:28-- https://github.com/kanboard/kanboard/releases/download/v1.0.47/kanboard-1.0.47.zip
.
.
.
.
Connecting to github-production-release-asset-2e65be.s3.amazonaws.com (github-production-release-asset-2e65be.s3.amazonaws.com)|52.216.18.184|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 7107833 (6.8M) [application/octet-stream]
Saving to: ‘ kanboard-latest.zip’
100%[======================================> ] 7,107,833 127KB/s in 32s
2017-10-13 09:17:03 (216 KB/s) - ‘ kanboard-latest.zip’ saved [7107833/7107833]
Extract the downloaded package by running the unzip command.
linuxhelp:~ # unzip kanboard-latest.zip
Archive: kanboard-latest.zip
creating: kanboard/
inflating: kanboard/.htaccess
creating: kanboard/app/
inflating: kanboard/app/.htaccess
creating: kanboard/app/Action/
inflating: kanboard/app/Action/Base.php
inflating: kanboard/app/Action/CommentCreation.php
inflating: kanboard/app/Action/CommentCreationMoveTaskColumn.php
inflating: kanboard/app/Action/TaskAssignCategoryColor.php
inflating: kanboard/app/Action/TaskAssignCategoryLabel.php
inflating: kanboard/app/Action/TaskAssignCategoryLink.php
inflating: kanboard/app/Action/TaskAssignColorCategory.php
inflating: kanboard/app/Action/TaskAssignColorColumn.php
.
.
.
.
.
inflating: kanboard/vendor/zendframework/zendxml/library/ZendXml/Exception/InvalidArgumentException.php
inflating: kanboard/vendor/zendframework/zendxml/library/ZendXml/Exception/RuntimeException.php
inflating: kanboard/vendor/zendframework/zendxml/library/ZendXml/Security.php
inflating: kanboard/vendor/zendframework/zendxml/LICENSE.md
inflating: kanboard/web.config
Move the kanboard directory to Apache document root by running the following command and list the files in the directory.
linuxhelp:~ # mv kanboard /srv/www/htdocs/ linuxhelp:~ # cd /srv/www/htdocs/ linuxhelp:/srv/www/htdocs # ll total 12 drwxrwxrwx 2 wwwrun www 4096 Oct 9 23:15 gif -rwxrwxrwx 1 wwwrun www 2356 Mar 18 2017 info2html.css drwxr-xr-x 8 root root 4096 Oct 4 09:48 kanboard
Provide the owner permission and file execution permission by executing the following set of commands.
linuxhelp:/srv/www/htdocs # chown -R wwwrun:www /srv/www/htdocs/
linuxhelp:/srv/www/htdocs # chmod -R 777 /srv/www/htdocs/
Now rename the config.default.php to config.php and open the config.php file using vim editor. Enter the following content in the file and save it.
linuxhelp:/srv/www/htdocs/kanboard # mv config.default.php config.php
linuxhelp:/srv/www/htdocs/kanboard # vim 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' )
Now you need to configure your VirtualHost for Apache. Open your configuration file by running the following command.
linuxhelp:~ # vim /etc/apache2/conf.d/kanboard.conf
Here make the following changes, save and exit from it once it is done.
< VirtualHost *:80> DocumentRoot " /srv/www/htdocs" ServerName www.linuxhelp1.com < Directory " /srv/www/htdocs/" > DirectoryIndex index.php Options FollowSymLinks AllowOverride All Require all granted < /Directory> < /VirtualHost>
Restart your Apache service.
linuxhelp:/srv/www/htdocs/kanboard # systemctl restart apache2
Next set the firewall settings by executing the following command.
linuxhelp:/srv/www/htdocs/kanboard # vim /etc/sysconfig/SuSEfirewall2
FW_CONFIGURATIONS_EXT=" apache"
Restart the firewall by running the following command.
linuxhelp:/srv/www/htdocs/kanboard # systemctl restart SuSEfirewall2
Switch over to the browser and access Kanboard login page.
Enter the admin credentials and login.
The dashboard of kanboard appears on the screen.
Create a new name for the private project and save the changes.
Now you can manage the Projects with ease.
Thus concludes the installation procedure of Kanboard on OpenSUSE Leap 42.3.
Changing existing code will require too many changes.