DEV Community

Cover image for Installing Nginx on Ubuntu VM
Ola
Ola

Posted on

Installing Nginx on Ubuntu VM

First, change user to root

sudo su

su

Type the command - apt install nginx -y

apt = is the package manager of nginx
install = this is a verb and the action that you want the package manager to perform
nginx = this is what you want to install on the VM
-y = This is a command that prompts the system to automatically accept anything that requires you to accept a yes or no

In progress

Confirm installation

nginx

Visit the server / public IP in a browser to validate that it works

Public IP

Top comments (0)