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?
✗ Incorrect
You must update the package list with
sudo apt update before installing new software.What command starts the Nginx service?
✗ Incorrect
Use
sudo systemctl start nginx to start the Nginx service.Where does Nginx serve files from by default?
✗ Incorrect
The default folder for web files is
/var/www/html.Which command checks if Nginx is running?
✗ Incorrect
Use
sudo systemctl status nginx to see if Nginx is active.What is the first step before installing Nginx on a fresh Ubuntu system?
✗ Incorrect
Always update the package list with
sudo apt update before installing new software.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.