NGINX is most performant when its running on a Linux server. In this video, learn how to install NGINX on a VM running Ubuntu Server 18.04 LTS.
- [Instructor] Getting NGINX installed…only takes a few commands, but first we need a server.…I'll start in a directory with a Vagrant file…and use Vagrant to create a Linux VM…running the Ubuntu operating system.…If you're picking up the course with this lesson,…and need more information on Vagrant,…you can find more detail in the introduction lesson…that covers setting up Vagrant and VirtualBox…on your workstation.…I'll start my VM with the vagrant up command.…This loads the base box and starts our VM.…
Once the VM is up and running…I'll connect to it using vagrant ssh.…This logs me in as the vagrant user,…and now I can install NGINX.…But because I'm not logged in as root,…first I need to sudo to the root user.…The first thing I'll do is run apt update.…This will make sure the Ubuntu server…has the latest information on all packages…that are available to be installed.…
Once the package information has been updated…I can upgrade any packages that are out-of-date.…I'll do that with the apt upgrade command.…I'm prompted to confirm the upgrade,…
Author
Released
8/22/2018- 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 Intermediate
Duration
Views
Related Courses
-
Apache Web Server: Administration
with Jon Peck58m 3s Advanced -
DevOps Foundations: Infrastructure as Code
with Ernest Mueller2h 6m Intermediate
-
Introduction
-
What is NGINX?30s
-
Comparing NGINX to Apache4m 45s
-
Create a VM with Vagrant3m 6s
-
-
1. Install and Configure NGINX
-
Install NGINX on Ubuntu3m 13s
-
NGINX files and directories2m 39s
-
Inside nginx.conf2m 51s
-
Configure locations5m 58s
-
Configure logs3m 52s
-
Troubleshoot NGINX3m 14s
-
-
2. The Linux, NGINX, MySQL, and PHP Stack
-
The LEMP stack1m 4s
-
Install PHP on NGINX5m 37s
-
Install MariaDB on NGINX5m 25s
-
LEMP stack demonstration6m 25s
-
-
3. NGINX Security
-
Secure sites with NGINX1m 21s
-
Create a 403 page3m 3s
-
Configure HTTPS1m 37s
-
Create an SSL certificate3m 57s
-
-
4. Reverse Proxies and Load Balancers
-
Conclusion
- 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.
CancelTake 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.
Share this video
Embed this video
Video: Install NGINX on Ubuntu