<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="fr">
	<id>https://wiki.jordan-lenuff.com/index.php?action=history&amp;feed=atom&amp;title=Outillage%2FKanboard</id>
	<title>Outillage/Kanboard - Historique des versions</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.jordan-lenuff.com/index.php?action=history&amp;feed=atom&amp;title=Outillage%2FKanboard"/>
	<link rel="alternate" type="text/html" href="https://wiki.jordan-lenuff.com/index.php?title=Outillage/Kanboard&amp;action=history"/>
	<updated>2026-04-23T15:57:31Z</updated>
	<subtitle>Historique des révisions pour cette page sur le wiki</subtitle>
	<generator>MediaWiki 1.34.0</generator>
	<entry>
		<id>https://wiki.jordan-lenuff.com/index.php?title=Outillage/Kanboard&amp;diff=215&amp;oldid=prev</id>
		<title>Jordan : Page créée avec « ==Présentation== Cette page a pour objet de décrire l'outil Kanboard.  ==Description== Kanboard est un logiciel libre de gestion de projet qui utilise la méthode [https... »</title>
		<link rel="alternate" type="text/html" href="https://wiki.jordan-lenuff.com/index.php?title=Outillage/Kanboard&amp;diff=215&amp;oldid=prev"/>
		<updated>2019-09-09T08:48:33Z</updated>

		<summary type="html">&lt;p&gt;Page créée avec « ==Présentation== Cette page a pour objet de décrire l&amp;#039;outil Kanboard.  ==Description== Kanboard est un logiciel libre de gestion de projet qui utilise la méthode [https... »&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Nouvelle page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;==Présentation==&lt;br /&gt;
Cette page a pour objet de décrire l'outil Kanboard.&lt;br /&gt;
&lt;br /&gt;
==Description==&lt;br /&gt;
Kanboard est un logiciel libre de gestion de projet qui utilise la méthode [https://fr.wikipedia.org/wiki/Kanban_(d%C3%A9veloppement) Kanban].&lt;br /&gt;
&lt;br /&gt;
Plus d'informations sur le site officiel : https://kanboard.org/.&lt;br /&gt;
&lt;br /&gt;
==Installation==&lt;br /&gt;
===Prérequis===&lt;br /&gt;
====Système d'exploitation====&lt;br /&gt;
Selon la [https://docs.kanboard.org/en/latest/admin_guide/requirements.html documentation officielle sur les prérequis], les systèmes d'exploitation supportés sont les suivants :&lt;br /&gt;
*Alpine Linux &amp;gt;= 3.8&lt;br /&gt;
*Linux Ubuntu &amp;gt;= 16.04&lt;br /&gt;
*Linux Centos 7.x&lt;br /&gt;
*Linux Redhat 7.x&lt;br /&gt;
*Linux Debian 9&lt;br /&gt;
*FreeBSD 10.x&lt;br /&gt;
*Microsoft Windows 2016&lt;br /&gt;
*Microsoft Windows 2012 R2&lt;br /&gt;
&lt;br /&gt;
Le serveur sur lequel sera installé Kanboard étant en CentOS 7, ce prérequis est respecté.&lt;br /&gt;
&lt;br /&gt;
====Base de données====&lt;br /&gt;
Selon la [https://docs.kanboard.org/en/latest/admin_guide/requirements.html documentation officielle sur les prérequis], les bases de données supportées sont les suivantes :&lt;br /&gt;
*Sqlite &amp;gt;= 3.7&lt;br /&gt;
*Mysql &amp;gt;= 5.6&lt;br /&gt;
*MariaDB &amp;gt;= 10&lt;br /&gt;
*Postgresql &amp;gt;= 9.3&lt;br /&gt;
&lt;br /&gt;
La base de données du serveur ''vmexploit02'' étant MySQL 5.7.26, ce prérequis est respecté.&lt;br /&gt;
&lt;br /&gt;
====Serveur web====&lt;br /&gt;
Selon la [https://docs.kanboard.org/en/latest/admin_guide/requirements.html documentation officielle sur les prérequis], les serveurs web supportés sont les suivants :&lt;br /&gt;
*Apache HTTP Server&lt;br /&gt;
*Nginx&lt;br /&gt;
*Microsoft IIS&lt;br /&gt;
*Caddy Server&lt;br /&gt;
&lt;br /&gt;
Le serveur web utilisé sur le serveur sur lequel sera installé Kanboard étant Apache 2.4.39, ce prérequis est respecté.&lt;br /&gt;
&lt;br /&gt;
Les modules &amp;lt;code&amp;gt;mod_rewrite&amp;lt;/code&amp;gt; et &amp;lt;code&amp;gt;mod_version&amp;lt;/code&amp;gt; devront être activés.&lt;br /&gt;
&lt;br /&gt;
Le module &amp;lt;code&amp;gt;mod_security&amp;lt;/code&amp;gt; devra être désactivé.&lt;br /&gt;
&lt;br /&gt;
====PHP====&lt;br /&gt;
Selon la [https://docs.kanboard.org/en/latest/admin_guide/requirements.html documentation officielle sur les prérequis], la version minimum de PHP à utiliser est la 5.6.0.&lt;br /&gt;
&lt;br /&gt;
Les versions de PHP sur le serveur sur lequel sera installé Kanboard étant 5.6.40 et 7.3.4, ce prérequis est respecté.&lt;br /&gt;
&lt;br /&gt;
Les extensions suivantes seront à activer :&lt;br /&gt;
*pdo_mysql&lt;br /&gt;
*gd&lt;br /&gt;
*mbstring&lt;br /&gt;
*openssl&lt;br /&gt;
*json&lt;br /&gt;
*hash&lt;br /&gt;
*ctype&lt;br /&gt;
*session&lt;br /&gt;
*filter&lt;br /&gt;
*xml&lt;br /&gt;
*SimpleXML&lt;br /&gt;
*dom&lt;br /&gt;
&lt;br /&gt;
Les extensions suivantes sont optionnelles, mais recommandées :&lt;br /&gt;
*zip&lt;br /&gt;
*ldap&lt;br /&gt;
*curl&lt;br /&gt;
&lt;br /&gt;
La documentation recommande également d'activer la gestion de cache avec OpCode.&lt;br /&gt;
&lt;br /&gt;
===Téléchargement===&lt;br /&gt;
Pour télécharger Kanboard, lancer la commande suivante :&lt;br /&gt;
 wget -O ~/downloads/kanboard-1.2.11.tar.gz https://codeload.github.com/kanboard/kanboard/tar.gz/v1.2.11&lt;br /&gt;
&lt;br /&gt;
===Déploiement des sources===&lt;br /&gt;
Créer le dossier principal dédié à l'application :&lt;br /&gt;
 mkdir /data/www/kanboard&lt;br /&gt;
&lt;br /&gt;
Décompresser le fichier dans le répertoire web cible :&lt;br /&gt;
 tar -xzf ~/downloads/kanboard-1.2.11.tar.gz -C /data/www/kanboard&lt;br /&gt;
&lt;br /&gt;
Créer le lien symbolique pointant vers la version en cours :&lt;br /&gt;
 ln -s /data/www/kanboard/kanboard-1.2.11 /data/www/kanboard/current&lt;br /&gt;
&lt;br /&gt;
Changer le propriétaire du dossier :&lt;br /&gt;
 chown -R www:www /data/www/kanboard&lt;br /&gt;
&lt;br /&gt;
===Configuration PHP===&lt;br /&gt;
Sur le serveur web, créer le fichier &amp;lt;code&amp;gt;/local/php/php-7.3.4/etc/php-fpm.d/kanboard.conf&amp;lt;/code&amp;gt; et y ajouter le contenu suivant :&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;ini&amp;quot;&amp;gt;&lt;br /&gt;
[kanboard]&lt;br /&gt;
user = php-fpm&lt;br /&gt;
group = php-fpm&lt;br /&gt;
&lt;br /&gt;
; Socket Unix dédié à Kanboard&lt;br /&gt;
listen = /local/php/sockets/php7_$pool.sock&lt;br /&gt;
&lt;br /&gt;
; Donner à Apache (www) les droits d'accès au socket&lt;br /&gt;
listen.owner = www&lt;br /&gt;
listen.group = www&lt;br /&gt;
&lt;br /&gt;
; Définition du chemin d'accès des logs&lt;br /&gt;
access.log = /data/logs/$pool/$pool_php7.access.log&lt;br /&gt;
slowlog = /data/logs/$pool/$pool_php7.log.slow&lt;br /&gt;
php_admin_value[error_log] = /data/logs/$pool/$pool_php7.log&lt;br /&gt;
php_admin_flag[log_errors] = on&lt;br /&gt;
; https://www.php.net/manual/fr/errorfunc.constants.php&lt;br /&gt;
php_admin_value[error_reporting] = E_NOTICE&lt;br /&gt;
&lt;br /&gt;
; Tuning du pool php-fpm&lt;br /&gt;
pm = dynamic&lt;br /&gt;
pm.max_children = 5&lt;br /&gt;
pm.start_servers = 2&lt;br /&gt;
pm.min_spare_servers = 1&lt;br /&gt;
pm.max_spare_servers = 3&lt;br /&gt;
pm.status_path = /status&lt;br /&gt;
ping.path = /ping&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Changer temporairement de umask&lt;br /&gt;
 umask 0002&lt;br /&gt;
&lt;br /&gt;
Créer le dossier de loggs :&lt;br /&gt;
 mkdir /data/logs/kanboard&lt;br /&gt;
&lt;br /&gt;
Créer les fichiers de logs :&lt;br /&gt;
 touch /data/logs/kanboard/kanboard_php7.access.log&lt;br /&gt;
 touch /data/logs/kanboard/kanboard_php7.log&lt;br /&gt;
 touch /data/logs/kanboard/kanboard_php7.log.slow&lt;br /&gt;
&lt;br /&gt;
Changer de propriétaire le dossier de logs :&lt;br /&gt;
 chown -R php-fpm:www /data/logs/kanboard&lt;br /&gt;
&lt;br /&gt;
Recharger la configuration PHP avec la commande :&lt;br /&gt;
 systemctl restart php7-fpm&lt;br /&gt;
&lt;br /&gt;
===Configuration Apache===&lt;br /&gt;
Editer le fichier &amp;lt;code&amp;gt;/local/www/httpd-2.4.39/conf/sites/01_vmexploit02.conf&amp;lt;/code&amp;gt; et y ajouter la section suivante :&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;apache&amp;quot;&amp;gt;&lt;br /&gt;
# Configuration Kanboard&lt;br /&gt;
Alias /kb /data/www/kanboard/current&lt;br /&gt;
&amp;lt;Directory &amp;quot;/data/www/kanboard/current&amp;quot;&amp;gt;&lt;br /&gt;
	Options FollowSymLinks&lt;br /&gt;
	DirectoryIndex index.php&lt;br /&gt;
	AllowOverride All&lt;br /&gt;
	Require all granted&lt;br /&gt;
	&amp;lt;FilesMatch \.php$&amp;gt;&lt;br /&gt;
		SetHandler &amp;quot;proxy:unix:/local/php/sockets/php7_kanboard.sock|fcgi://localhost/&amp;quot;&lt;br /&gt;
	&amp;lt;/FilesMatch&amp;gt;&lt;br /&gt;
&amp;lt;/Directory&amp;gt;&lt;br /&gt;
# Fin de configuration Kanboard&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Relancer Apache pour prise en compte :&lt;br /&gt;
 httpd -k graceful&lt;br /&gt;
&lt;br /&gt;
===Configuration MySQL===&lt;br /&gt;
Se connecter à l'instance de base de données :&lt;br /&gt;
 mysql -uroot -p&lt;br /&gt;
&lt;br /&gt;
Créer une base de données dédiée à Kanboard :&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;sql&amp;quot;&amp;gt;&lt;br /&gt;
CREATE DATABASE kanboard_db;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Créer un utilisateur de base de données dédié à Kanboard :&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;sql&amp;quot;&amp;gt;&lt;br /&gt;
CREATE USER 'kanboard_user'@'localhost' IDENTIFIED WITH mysql_native_password BY 'xxxxxxxxxxxx';&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Lui donner les droits d'accès à la base de données :&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;sql&amp;quot;&amp;gt;&lt;br /&gt;
GRANT ALL PRIVILEGES ON kanboard_db.* TO 'kanboard_user'@'localhost' WITH GRANT OPTION;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Paramétrage===&lt;br /&gt;
Copier le fichier &amp;lt;code&amp;gt;config.default.php&amp;lt;/code&amp;gt; en &amp;lt;code&amp;gt;config.php&amp;lt;/code&amp;gt; :&lt;br /&gt;
 cp config.default.php config.php&lt;br /&gt;
&lt;br /&gt;
Il faut ensuite éditer le fichier &amp;lt;code&amp;gt;config.php&amp;lt;/code&amp;gt; et adapter les paramètres en fonction des besoins (voir la [https://docs.kanboard.org/en/latest/admin_guide/config_file.html documentation officielle]).&lt;br /&gt;
&lt;br /&gt;
Définir le type d'historisation à ''file'' :&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;php&amp;quot;&amp;gt;&lt;br /&gt;
define('LOG_DRIVER', 'file');&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Définir le fichier de log :&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;php&amp;quot;&amp;gt;&lt;br /&gt;
define('LOG_FILE', '../logs/debug.log');&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Créer le dossier de logs :&lt;br /&gt;
 mkdir /data/www/kanboard/logs&lt;br /&gt;
 chown php-fpm:www /data/www/kanboard/logs&lt;br /&gt;
&lt;br /&gt;
Définir les différents paramètres de connexion à la base de données :&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;php&amp;quot;&amp;gt;&lt;br /&gt;
define('DB_DRIVER', 'mysql');&lt;br /&gt;
define('DB_USERNAME', 'kanboard_user');&lt;br /&gt;
define('DB_PASSWORD', 'xxxxxxxxxxxxx');&lt;br /&gt;
define('DB_HOSTNAME', 'localhost;unix_socket=/local/mysql/current/mysql.sock');&lt;br /&gt;
define('DB_NAME', 'kanboard_db');&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Définir les différents paramètres de connexion au LDAP :&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;php&amp;quot;&amp;gt;&lt;br /&gt;
define('LDAP_AUTH', true);&lt;br /&gt;
define('LDAP_SERVER', 'xxxxxxxxxxxx');&lt;br /&gt;
define('LDAP_BIND_TYPE', 'proxy');&lt;br /&gt;
define('LDAP_USERNAME', 'xxxxxxxxxxxx');&lt;br /&gt;
define('LDAP_PASSWORD', 'xxxxxxxxxxxx');&lt;br /&gt;
define('LDAP_USER_BASE_DN', 'xxxxxxxxxxxx');&lt;br /&gt;
define('LDAP_USER_FILTER', '(&amp;amp;(objectClass=user)(sAMAccountName=%s))');&lt;br /&gt;
define('LDAP_USER_ATTRIBUTE_USERNAME', 'samaccountname');&lt;br /&gt;
define('LDAP_USER_ATTRIBUTE_FULLNAME', 'displayname');&lt;br /&gt;
define('LDAP_USER_ATTRIBUTE_PHOTO', 'thumbnailPhoto ');&lt;br /&gt;
define('LDAP_GROUP_ADMIN_DN', 'xxxxxxxxxxxx');&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
''NB : Il faut adapter les valeurs xxxxxxxxxxxx en fonction du besoin.''&lt;br /&gt;
&lt;br /&gt;
Activer les URLs conviviales :&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;php&amp;quot;&amp;gt;&lt;br /&gt;
define('ENABLE_URL_REWRITE', true);&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Configuration==&lt;/div&gt;</summary>
		<author><name>Jordan</name></author>
		
	</entry>
</feed>