From 79ad4f0ea3ffbf08ccf67a5b4313f5ce5e1272ae Mon Sep 17 00:00:00 2001 From: sio2022-ppe24 Date: Tue, 23 Mar 2021 11:54:19 +0100 Subject: [PATCH] fichier wiki --- install-dokuwiki | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 install-dokuwiki diff --git a/install-dokuwiki b/install-dokuwiki new file mode 100644 index 0000000..2fe9131 --- /dev/null +++ b/install-dokuwiki @@ -0,0 +1,11 @@ +#!/bash/bin +sudo apt update && sudo apt upgrade -y +sudo apt install -y php7.3 php7.3-cli php7.3-fpm php7.3-gd php7.3-xml php7.3-zip +export http_proxy=http://10.121.38.1:8080 +wget http://download.dokuwiki.org/src/dokuwiki/dokuwiki-stable.tgz +tar xvfz dokuwiki-stable.tgz +mkdir /var/www/html/doku +cp -a dokuwiki-2020-07-29/* /var/www/html/doku +cd /var/www/html/doku +chown -R root:root ./etc/mysql/mariadb.conf.d +chown -R www-data:www-data data lib conf