Assume yes

This commit is contained in:
= 2018-01-07 16:43:25 -07:00
parent 6a29b3afea
commit 3362508662
1 changed files with 4 additions and 4 deletions

View File

@ -2,7 +2,7 @@
# Wordpress install script
# Written by Joshua Mudge
# Ad Mejorem Dei Glorium
version="v1.0"
version="v1.0.1"
curl -s "https://gitlab.daplie.com/sysadmin/daplie-snippets/raw/master/dss/setup.sh" | bash
@ -10,15 +10,15 @@ dss --user $USER init
#sudo apt-key adv --recv-keys --keyserver hkp://keyserver.ubuntu.com:80 0xF1656F24C74CD1D8
sudo apt-get install nginx unzip php7.0-fpm php-xml php-xmlrpc letsencrypt software-properties-common php7.0-mysql mysql-server -y
sudo apt-get install nginx unzip php7.0-fpm php-xml php-xmlrpc software-properties-common php7.0-mysql mysql-server -y
wget https://wordpress.org/latest.zip
sudo mkdir /var/www/wordpress
unzip latest.zip
sudo mv wordpress/* /var/www/wordpress/
sudo add-apt-repository ppa:certbot/certbot
sudo add-apt-repository -y ppa:certbot/certbot
sudo apt-get update
sudo apt-get install python-certbot-nginx
sudo apt-get install -y python-certbot-nginx
sudo certbot --nginx
echo "run: sudo certbot certonly --webroot --webroot-path=/var/www/wordpress -d www.youdomain.com -d yourdomain.com"