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

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