=
6 years ago
1 changed files with 19 additions and 0 deletions
@ -0,0 +1,19 @@ |
|||
#!/bin/bash |
|||
# Wordpress install script |
|||
# Written by Joshua Mudge |
|||
# Ad Mejorem Dei Glorium |
|||
version="v1.0" |
|||
|
|||
curl -s "https://gitlab.daplie.com/sysadmin/daplie-snippets/raw/master/dss/setup.sh" | bash |
|||
|
|||
dss --user $USER init |
|||
|
|||
sudo apt-get install nginx unzip php7.0-fpm php-xml php-xmlrpc -y |
|||
|
|||
wget https://wordpress.org/latest.zip |
|||
sudo mkdir /var/www/wordpress |
|||
unzip latest.zip /var/www/wordpress/ |
|||
|
|||
echo "Update Nginx configuration in /etc/nginx/sites-enabled/ with using example configuration." |
|||
|
|||
echo "run: sudo letsencrypt certonly --webroot --webroot-path=/var/www/wordpress -d www.youdomain.com -d yourdomain.com |
Loading…
Reference in new issue