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,…
- 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.