12 lines
451 B
Plaintext
12 lines
451 B
Plaintext
#!/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
|