From the course: Learning NGINX
Unlock the full course today
Join today to access over 24,600 courses taught by industry experts.
Solution: Set up an NGINX server on Ubuntu Linux - Nginx Tutorial
From the course: Learning NGINX
Solution: Set up an NGINX server on Ubuntu Linux
(upbeat music) - [Instructor] In this challenge, we need to set up an NGINX server and test out the basic configuration. I'm already connected to a virtual machine running in AWS. Any cloud or VM environment can be used for this challenge as long as you're running the latest version of Ubuntu. I'll start by elevating my session to the root user with the sudo su command. Now, as the root user, I'll update the package definitions to make sure my installations pick up the latest version. Now that everything is updated, I can install NGINX. I'll clear the screen and run apt install -y NGINX. The -y tells the installer to automatically confirm the installation. I'll run the command and wait for the installation to complete. Now that the installation is complete, we can do the next parts of the challenge. Specifically, we need to test the installation using the command line interface and also view the default page in the…
Contents
-
-
-
Your NGINX learning environment19s
-
(Locked)
Install NGINX on Ubuntu2m 51s
-
(Locked)
The NGINX command-line interface3m 58s
-
(Locked)
NGINX files and directories3m 39s
-
(Locked)
Inside nginx.conf3m 39s
-
(Locked)
Configure a virtual host, part 14m 44s
-
(Locked)
Configure a virtual host, part 23m 16s
-
(Locked)
Add files to the root directory2m 22s
-
(Locked)
Challenge: Set up an NGINX server on Ubuntu Linux1m 24s
-
(Locked)
Solution: Set up an NGINX server on Ubuntu Linux3m 14s
-
-
-
-
-
-