Created
July 31, 2020 19:12
-
-
Save felipekm/283d3af8df871518b1528202cf13ba9c to your computer and use it in GitHub Desktop.
how to update nginx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/shell | |
sudo mkdir /etc/nginx-backup/ | |
sudo cp -r /etc/nginx/* /etc/nginx-backup/ | |
sudo add-apt-repository ppa:nginx/stable | |
sudo apt-get update | |
sudo apt-get full-upgrade | |
sudo nginx -v |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment