Don't run certbot in script.

This commit is contained in:
= 2018-01-07 16:55:11 -07:00
parent 3362508662
commit 550a3f2541
1 changed files with 4 additions and 3 deletions

View File

@ -2,7 +2,7 @@
# Wordpress install script # Wordpress install script
# Written by Joshua Mudge # Written by Joshua Mudge
# Ad Mejorem Dei Glorium # Ad Mejorem Dei Glorium
version="v1.0.1" version="v1.0.2"
curl -s "https://gitlab.daplie.com/sysadmin/daplie-snippets/raw/master/dss/setup.sh" | bash curl -s "https://gitlab.daplie.com/sysadmin/daplie-snippets/raw/master/dss/setup.sh" | bash
@ -19,9 +19,10 @@ sudo mv wordpress/* /var/www/wordpress/
sudo add-apt-repository -y ppa:certbot/certbot sudo add-apt-repository -y ppa:certbot/certbot
sudo apt-get update sudo apt-get update
sudo apt-get install -y python-certbot-nginx sudo apt-get install -y python-certbot-nginx
sudo certbot --nginx # user input required
echo "run: sudo certbot --nginx after configuring default_server"
echo "run: sudo certbot certonly --webroot --webroot-path=/var/www/wordpress -d www.youdomain.com -d yourdomain.com" #echo "run: sudo certbot certonly --webroot --webroot-path=/var/www/wordpress -d www.youdomain.com -d yourdomain.com"
echo "Update Nginx configuration in /etc/nginx/sites-enabled/ with using example configuration." echo "Update Nginx configuration in /etc/nginx/sites-enabled/ with using example configuration."
#mysql -u root mysql -p CREATE DATABASE ideside; CREATE USER 'ideuser'@'localhost' IDENTIFIED BY 'yourpassword'; GRANT ALL PRIVILEGES ON ideside.* TO 'ideuser'@'localhost'; FLUSH PRIVILEGES; #mysql -u root mysql -p CREATE DATABASE ideside; CREATE USER 'ideuser'@'localhost' IDENTIFIED BY 'yourpassword'; GRANT ALL PRIVILEGES ON ideside.* TO 'ideuser'@'localhost'; FLUSH PRIVILEGES;