Installation on Debian

Debian 9 (Stretch)

Install Apache and PHP:

apt update
apt install -y apache2 libapache2-mod-php7.0 php7.0-cli php7.0-mbstring \
    php7.0-sqlite3 php7.0-opcache php7.0-json php7.0-mysql php7.0-pgsql \
    php7.0-ldap php7.0-gd php7.0-xml

systemctl enable apache2 postgresql

Install Kanboard:

version=1.2.5
wget https://github.com/kanboard/kanboard/archive/v$version.tar.gz
tar xzvf v$version.tar.gz -C /var/www/
chown -R www-data:www-data /var/www/kanboard-$version/data

Debian 8 (Jessie)

Install Apache and PHP:

apt-get update
apt-get install -y php5 php5-sqlite php5-gd unzip
service apache2 restart

Install Kanboard:

cd /var/www/html

# Download the latest release from https://github.com/kanboard/kanboard/releases
wget https://github.com/kanboard/kanboard/archive/v<version>.zip

unzip kanboard-<version>.zip
chown -R www-data:www-data kanboard-<version>/data
rm kanboard-<version>.zip

Debian 7 (Wheezy)

Install Apache and PHP:

apt-get update
apt-get install -y php5 php5-sqlite php5-gd unzip

Install Kanboard:

cd /var/www

# Download the latest release from https://github.com/kanboard/kanboard/releases
wget https://github.com/kanboard/kanboard/archive/v<version>.zip

unzip kanboard-<version>.zip
chown -R www-data:www-data kanboard-<version>/data
rm kanboard-<version>.zip

Debian 6 (Squeeze)

Install Apache and PHP:

apt-get update
apt-get install -y libapache2-mod-php5 php5-sqlite php5-gd unzip

Install Kanboard:

cd /var/www

# Download the latest release from https://github.com/kanboard/kanboard/releases
wget https://github.com/kanboard/kanboard/archive/v<version>.zip

unzip kanboard-<version>.zip
chown -R www-data:www-data kanboard-<version>/data
rm kanboard-<version>.zip