0
0
Nginxdevops~5 mins

Nginx installation - Cheat Sheet & Quick Revision

Choose your learning style9 modes available
Recall & Review
beginner
What is Nginx?
Nginx is a web server that can also be used as a reverse proxy, load balancer, and HTTP cache. It helps deliver websites quickly and efficiently.
Click to reveal answer
beginner
Which command installs Nginx on Ubuntu?
Use sudo apt update to refresh packages, then sudo apt install nginx to install Nginx.
Click to reveal answer
beginner
How do you start the Nginx service after installation?
Run sudo systemctl start nginx to start the Nginx service.
Click to reveal answer
beginner
How to check if Nginx is running?
Use sudo systemctl status nginx. It shows if Nginx is active and running.
Click to reveal answer
beginner
What is the default folder where Nginx serves web files?
Nginx serves files from /var/www/html by default.
Click to reveal answer
Which command updates the package list before installing Nginx on Ubuntu?
Asudo apt upgrade
Bsudo apt install nginx
Csudo apt update
Dsudo systemctl start nginx
What command starts the Nginx service?
Asudo systemctl start nginx
Bsudo apt install nginx
Csudo service nginx install
Dsudo nginx start
Where does Nginx serve files from by default?
A/home/nginx
B/usr/share/nginx
C/etc/nginx
D/var/www/html
Which command checks if Nginx is running?
Asudo systemctl status nginx
Bnginx -v
Csudo apt list nginx
Dsudo systemctl enable nginx
What is the first step before installing Nginx on a fresh Ubuntu system?
AStart Nginx service
BUpdate package list
CCreate web files
DRestart the computer
Describe the steps to install and start Nginx on an Ubuntu system.
Think about updating packages, installing, starting, and checking status.
You got /4 concepts.
    Explain where Nginx serves web files from and how you can verify Nginx is running.
    Focus on default folder and service status command.
    You got /3 concepts.