|
@ -18,7 +18,7 @@ sudo mv wordpress/* /var/www/website/ |
|
|
|
|
|
|
|
|
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 certbot |
|
|
# user input required |
|
|
# user input required |
|
|
echo "run: sudo certbot --authenticator webroot --installer nginx after configuring default_server and root directory" |
|
|
echo "run: sudo certbot --authenticator webroot --installer nginx after configuring default_server and root directory" |
|
|
|
|
|
|
|
@ -40,3 +40,5 @@ echo "Update Nginx configuration in /etc/nginx/sites-enabled/ with using example |
|
|
#https://askubuntu.com/questions/705458/ubuntu-15-10-mysql-error-1524-unix-socket |
|
|
#https://askubuntu.com/questions/705458/ubuntu-15-10-mysql-error-1524-unix-socket |
|
|
|
|
|
|
|
|
#https://www.digitalocean.com/community/tutorials/how-to-install-linux-apache-mysql-php-lamp-stack-on-ubuntu-16-04 |
|
|
#https://www.digitalocean.com/community/tutorials/how-to-install-linux-apache-mysql-php-lamp-stack-on-ubuntu-16-04 |
|
|
|
|
|
|
|
|
|
|
|
# Create root crontab: 0 5 20 * * sudo letsencrypt renew --force-renew && sudo service nginx restart |
|
|