Prerequisites
- A system running Ubuntu 18.04
- A user account with sudo privileges
- SSH Access
Steps to Installing Nginx on Ubuntu
Update Software Repositories
ssh [email protected]
Before installing new software, it is strongly recommended to update your local software database. Updating helps to make sure you’re installing the latest and best-patched software available.
Enter the following:
sudo apt update
Allow the process to finish.
Install Nginx on Ubuntu
sudo apt install nginx
This may take some time for the system to download the software packages and install them. Allow it to complete before moving on.
Read More