User Tools

Site Tools


archive:centos_install_kanboard

CentOS install Kanboard

Before installing Kanboard make sure the following is installed:

epel-release - apache - php 7.3x - MariaDB 10.x

Install Kanboard

cd /var/www/html/
wget https://github.com/kanboard/kanboard/archive/v1.2.11.tar.gz
tar zxvfp v1.2.11.tar.gz
mv kanboard* kanboard
rm *gz
cd kanboard
chown -R apache: *

Create the MaraiDB for Kanboard

mysql -u root -p -e "CREATE DATABASE kanboard;" 
mysql -u root -p kanboard < /var/www/html/kanboard/app/Schema/Sql/mysql.sql
mysql -u root -p -e "CREATE USER 'kanboarduser'@'localhost' IDENTIFIED BY 'yourpassword';"
mysql -u root -p -e "GRANT ALL PRIVILEGES ON kanboard.* TO 'kanboarduser'@'localhost' IDENTIFIED BY 'yourpassword' WITH GRANT OPTION;"
mysql -u root -p -e "FLUSH PRIVILEGES;"

Modify the Kanboard configuration file

cd /var/www/html/kanboard
mv config.default.php config.php
vi config.php

Adjust the following to match your setup

// Database driver: sqlite, mysql or postgres (sqlite by default)
define('DB_DRIVER', 'sqlite');

// Mysql/Postgres username
define('DB_USERNAME', 'root');

// Mysql/Postgres password
define('DB_PASSWORD', 'yourpassword');

// Mysql/Postgres hostname
define('DB_HOSTNAME', 'localhost');

// Mysql/Postgres database name
define('DB_NAME', 'kanboard');

Restart Apache

systemctl restart httpd.service

Access Kanboard

Access Kanboard using either Ip or hostname in a browser according to what your Apache config looks like i.e.

http://xxx.xxx.xxx.xxx/kanboard

archive/centos_install_kanboard.txt · Last modified: 24/11/2023 12:41 by Allan