This commit is contained in:
“Clément 2023-05-11 15:58:23 +02:00
commit b8711daa5d

17
scripts/inst-doku.sh Executable file
View File

@ -0,0 +1,17 @@
#!/bin/bash
wget http://depl.sio.lan/store/dokuwiki-stable.tgz
tar xvfz dokuwiki-stable.tgz
mkdir /var/www/html/doku
cp -a dokuwiki-2023-04-04/* /var/www/html/doku
cd /var/www/html
chown -R root:root .
cd doku
chown -R www-data:www-data data lib conf
export http_proxy=http://10.121.38.1:8080
apt update
apt install -y apache2 php php-gd php-xml
systemctl restart apache2
echo "Installation de dokuwiki terminee. Connectez-vous avec un navigateur à l'adresse http://adresse/doku"