Nginx Quick Start for Linux Mint 18 Sarah
Hi! The Tutorial shows you Step-by-Step How to Install and Getting-Started with the Latest NGINX Web Server on Linux Mint 18 Sarah LTS 32/64-bit Mate/Cinnamon/KDE/Xfce Desktop.
And NGINX for Linux is a Free, Open-Source, High-Performance HTTP Server and Reverse Proxy, as well as an IMAP/POP3 Proxy Server.
Moreover, NGINX is known for its High performance, Stability, Rich Feature set, Simple Configuration, and Low Resource Consumption.
It is Necessary to Manually Set Up the Apt NGINX Repo to Get Installed the Latest Mainline Release, because the Default Repos are Serving an Older NGINX Release…
-
Open a Terminal Shell emulator window
(Press “Enter” to Execute Commands)In case first see: Terminal QuickStart Guide.
-
Login as Super User.
sudo su
-
Set Up the NGINX Mainline Apt Repo.
echo "deb http:/ ginx.org/packages/mainline/ubuntu/ xenial nginx" | sudo tee -a /etc/apt/sources.list.d ginx.list
echo "deb-src http:/ ginx.org/packages/mainline/ubuntu/ xenial nginx" | sudo tee -a /etc/apt/sources.list.d ginx.list
-
Add the Signing Key.
cd ~
wget http:/ ginx.org/keys ginx_signing.key
apt-key add nginx_signing.key
rm nginx_signing.key
-
Installing NGINX.
apt-get update
sudo apt-get -y install nginx
-
Stop Apache & Restart NGINX (Only if Apache is Installed!)
sudo service apache2 stop
sudo service nginx restart
-
Check NGINX Installation
On a localhost:curl http://127.0.0.1
Or browse the Server IP…
-
To Edit the NGINX Configuration File.
nano /etc ginx/conf.d/default.conf
-
End the Super User Session.
exit