From 9e781de91decc3fd8e9392d62cbbd2530b533a7e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20Guillot?= Date: Wed, 17 Sep 2014 20:59:22 +0200 Subject: [PATCH] Add install procedure for Centos 7 --- docs/centos-installation.markdown | 34 +++++++++++++++++++++++++++++-- 1 file changed, 32 insertions(+), 2 deletions(-) diff --git a/docs/centos-installation.markdown b/docs/centos-installation.markdown index f5a310434..ccffa0526 100644 --- a/docs/centos-installation.markdown +++ b/docs/centos-installation.markdown @@ -4,17 +4,47 @@ Centos Installation Centos 7 -------- +Install PHP and Apache: +```bash +yum install -y php php-mbstring php-pdo unzip wget +``` + +By default Centos 7 use PHP 5.4.16 and Apache 2.4.6. + +Restart Apache: + +```bash +systemctl restart httpd.service +``` + +Install Kanboard: + +```bash +cd /var/www/html +wget http://kanboard.net/kanboard-latest.zip +unzip kanboard-latest.zip +chown -R apache:apache kanboard/data +rm kanboard-latest.zip +``` + +If SeLinux is enabled, be sure that the Apache user can write to the directory data: + +```bash +chcon -R -t httpd_sys_content_rw_t /var/www/html/kanboard/data +``` Centos 6.5 ---------- -Install PHP: +Install PHP and Apache: ```bash -yum install -y php php-mbstring php-pdo unzip +yum install -y php php-mbstring php-pdo unzip wget ``` +By default Centos 6.5 use PHP 5.3.3 and Apache 2.2.15. + Enable short tags: - Edit the file `/etc/php.ini`