Skip to content

Instantly share code, notes, and snippets.

@mnguyenngo
Last active August 24, 2018 19:45
Show Gist options
  • Save mnguyenngo/234e8cad29487b04a446290029fcd4b9 to your computer and use it in GitHub Desktop.
Save mnguyenngo/234e8cad29487b04a446290029fcd4b9 to your computer and use it in GitHub Desktop.
Typical workflow for nginx on a new VM
# 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