瀏覽代碼

Php zip extension added and chown plugin folder

DricomDragon 5 年之前
父節點
當前提交
67564a7a66
共有 1 個文件被更改,包括 3 次插入1 次删除
  1. 3 1
      Install/kanboard-install

+ 3 - 1
Install/kanboard-install

@@ -14,7 +14,7 @@ sudo cp Templates/config.php "/var/www/html/kanboard-$version/"
 
 ## Install PHP
 sudo apt install -y apache2 libapache2-mod-php php-cli php-mbstring  \
-    php-opcache php-json php-pgsql php-gd php-xml
+    php-opcache php-json php-pgsql php-gd php-xml php-zip
 
 ## Install Kanboard
 ### Go to apache folder
@@ -25,6 +25,8 @@ wget "https://github.com/kanboard/kanboard/archive/v$version.zip"
 
 ### Deploy
 unzip "v$version.zip"
+mkdir "kanboard-$version/plugins"
 chown -R www-data:www-data "kanboard-$version/data"
+chown -R www-data:www-data "kanboard-$version/plugins"
 rm "v$version.zip"