Add certbot and crontab info
This commit is contained in:
parent
a93a49bc23
commit
251ac72729
|
@ -1,3 +1,3 @@
|
|||
0 5 20 * * letsencrypt renew
|
||||
0 5 20 * * sudo letsencrypt renew --force-renew && sudo service nginx restart
|
||||
30 12 * * 0 /home/josh/fs
|
||||
00 13 * * 0 /home/josh/fs
|
|
@ -18,7 +18,7 @@ sudo mv wordpress/* /var/www/website/
|
|||
|
||||
sudo add-apt-repository -y ppa:certbot/certbot
|
||||
sudo apt-get update
|
||||
sudo apt-get install -y python-certbot-nginx
|
||||
sudo apt-get install -y python-certbot-nginx certbot
|
||||
# user input required
|
||||
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://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
|
||||
|
|
Loading…
Reference in New Issue