Before that, do you know what Nginx is? Nginx is a web server released in 2004 by Igor Sysoev. Built with the C programming language, Nginx is popular because it is quite stable, resource-efficient and suitable for servers with low specifications. How to install Nginx is almost the same as the installation process of other web servers such as Apache. Here's the step by step.
How to Install Nginx on Ubuntu
1. Access Cloud VPS via SSH
The first thing you have to do is access the Cloud VPS via SSH. Why does it have to be via SSH? Because the Nginx installation process is all through the command console. So, make sure you have SSH access to the Cloud VPS first in accordance with Cloud VPS SSH Access Guide.
2. Install Apache of Cloud VPS Ubuntu
Please write,
Please wait a moment for the installation process to complete.
3. Check if the service is running
To check whether the Nginx installation process was successful or not, please write
4. Start, Stop and Restart Nginx
To start the Nginx service please write
To turn off the Nginx service please write
If you want to restart Nginx please write
The restart process is usually required when you have changed some configurations of Nginx.
5. Nginx Installation on Ubuntu Successful
Nginx is successfully installed on your Ubuntu Cloud VPS. Nginx installation aims to allow you to create a website on Cloud VPS. One of the requirements for the website to be installed on the server is to install a web server first. After that, if you want to upload the website files that have been prepared or install a CMS.