Prerequisites
- A system running Ubuntu 18.04
- A user account with sudo privileges
- SSH Access
Steps to Installing Nginx on Ubuntu
Update Software Repositories
Log into your Server via SSH as the root user
ssh root@hostname
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
Enter the following to 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