Last active
August 24, 2018 19:45
-
-
Save mnguyenngo/234e8cad29487b04a446290029fcd4b9 to your computer and use it in GitHub Desktop.
Typical workflow for nginx on a new VM
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
# update the virtual machine | |
sudo apt-get update | |
# install nginx | |
sudo apt-get install nginx | |
# check version | |
sudo nginx -v | |
# start the nginx service | |
sudo systemctl start nginx | |
# check the status | |
sudo systemctl status nginx | |
# stop the nginx service | |
sudo systemctl stop nginx | |
# Reference: Kubernetes Udacity Course (https://classroom.udacity.com/courses/ud615) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment