Install Nginx

The Nginx package is included in the default Debian Buster repositories. The installation is pretty straightforward, just run the following commands as root or user with sudo privileges:

sudo apt update
sudo apt install nginx

Nginx service will automatically start after the installation process is complete. You can verify it with [curl](https://linuxize.com/post/curl-command-examples/) as shown below:

curl -I 127.0.0.1

The output will look similar to this:

HTTP/1.1 200 OK
Server: nginx/1.14.2
Date: Tue, 16 Jul 2019 16:50:46 GMT
Content-Type: text/html
Content-Length: 612
Last-Modified: Tue, 16 Jul 2019 16:50:26 GMT
Connection: keep-alive
ETag: "5d2e0052-264"
Accept-Ranges: bytes

#nginx #debian 10 #linux

How to Install Nginx on Debian 10 Linux
1.85 GEEK