How to Install NGINX on Ubuntu 18.04

Previously on {{ PLP }}, we’ve just installed Ubuntu 18.04 LTS Linux distribution from our web server. In case you missed out our last event on installing Ubuntu 18.04, you can go back to this event before you can jump to this loop for today.


Welcome to our next event loop on {{ PLP }}, today we will be learning on how to install NGINX as our web server.

Nginx is a web server which can also be used as a reverse proxy, load balancer, mail proxy, and HTTP cache. The software was created by Igor Sysoev and first publicly released in 2004.

According to:

Without NGINX, we can’t serve our web-based applications at all.  So, let’s begin installing NGINX.

Step 1:  Install NGINX

Execute this command from your Lish Console.

sudo apt update
sudo apt install nginx

If prompt with “Do you want to continue? [Y/n], type ‘Y‘ and hit enter key again to continue the installation.  It should be running smooth and straightforward to install the NGINX web server.

Step 2:  Configure Basic Setup for NGINX

For now, we will be doing some basic configuration for our newly installed NGINX web server.

But, later in our next event loop on {{ PLP }}, we will be going to set up a domain name for our NGINX web server instead of using I.P Address given automatically by Linode cloud provider.

Allow me to switch back you on Step 2: New Linode Instance from your Dashboard section of which we can get our I.P Address from Linode instance we’ve created earlier.

Now, when you try to access our development server I.P Address in your web browser and type in this address:

Welcome to nginx!

If you see this page, the nginx web server is successfully installed and working. Further configuration is required.

For online documentation and support please refer to
Commercial support is available at

Thank you for using nginx.

Congratulation!, when you’ll be able to see this nice and simple “Welcome to nginx!” default page from NGINX web server response, that’s great, we’re good to go.

However, this is just a very basic installation of nginx web server, but don’t worry, I’ll be here guiding you until you’re mature enough to build your own web server.

In the next event loop on {{ PLP }}.

We will be installing the SFTP means, SSH File Transfer Protocol to our web server.  We use “FileZilla” open source which is the popular tool for developers like you for us to access our web server from your own PC to upload files to our web server to be served later on.

See you in the next event loop on How to Install FileZilla on Ubuntu 18.04 LTS.

That’s all, have fun learning with {{ PLP }}.

To help Filipino students to learn Python programming language with Django to enhance their capabilities in developing robust web-based applications with practical and direct to the point tutorials, step-by-step with actual information that I provided for you. Leave a comment below or email me at [email protected], thank you!