NGINX is controlled by its command-line interface (CLI). In this video, learn the commands to stop and start NGINX, check the status of the service, and test NGINX's configuration after making changes.
- [Instructor] Like many other Linux services,…NGINX is controlled by it's command line interface, or CLI.…Let's take a look at some of the commands…we'll be using as we get more familiar with NGINX.…Keep in mind, that you need to either be…either logged in as a root user…or preface the command with sudo to…enable root privileges as the command is run.…Since I'll be running several commands that…require root privileges, I'll become the…root user by typing sudo, su, dash.…Now, we can check the status of the NGINX…service with systemctl, status, NGINX.…
This gives a brief report letting us know the…service is running, how long it's been running,…and some details on how the process was started.…This command uses a pager by default,…so you have to type Q to end the…status report and get back to the prompt.…One way to get around this is to use the no pager switch.…So I can run the same command with…dash, dash, no, dash, pager.…This gives us the complete output…and then goes right back to the command prompt.…We can also use systemctl to stop and start NGINX,…
- Installing NGINX on Linux
- Configuring a virtual host
- Installing PHP and MariaDB for the LEMP stack
- Securing sites with NGINX
- Creating SSL certificates
- Reverse proxies
- Load balancing
Skill Level Beginner
DevOps Foundations: Infrastructure as Codewith Ernest Mueller2h 6m Intermediate
1. Install and Configure NGINX
2. The Linux, NGINX, MySQL, and PHP Stack
3. NGINX Security
4. Reverse Proxies and Load Balancers
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.Cancel
Take notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.