Practical Nginx: Installation
Step-1: Installation of Nginx on Host. (Debian)
Because Nginx is available in Debian’s default repositories, it is possible to install it from these repositories using the apt
packaging system.
First update our local package index so that we have access to the most recent package listings and install Nginx: