How To Install Nginx On Ubuntu 19.10 Vultr

Learn How To Install Nginx On Ubuntu 19.10 from a Vultr.com

Server.

Here is how you can install Nginx on Ubuntu. In particular on Vultr’s instance that is Ubuntu 16.04 / 18.04 LTS / 18.10 / 19.10.

First step you need to update and upgrade your Ubuntu packages by running the commands below

sudo apt update
sudo apt upgrade

Next, install Nginx web server on your Ubuntu server, run the following command.

sudo apt install nginx

When Nginx is installed, it starts running automatically. To check the Nginx service status use following command:

sudo systemctl status nginx

Other nginx commands you need to know:

sudo systemctl stop nginx.service
sudo systemctl start nginx.service
sudo systemctl enable nginx.service
service nginx restart
nginx -t

Now you can visit your server IP address and you will see an Nginx welcome page.

Feel free to comment your questions. Need help? feel free to contact me.

Leave a Comment

Keith Rainz

Contact me

Along Kafue Road, Chilanga, Lusaka Zambia.

Contact me

Connect with me