Nginx (pronounced as engine-x) is a free, open-source, and high-performance HTTP server. NGINX also a reverse proxy, and IMAP/POP3 proxy server. This server is developed Igor Sysoev and later by the community. NGINX is one of Apache Server best alternative.
To install Nginx on your Ubuntu 15.04, you can run this command in terminal:
sudo apt-get install nginx
Beginning with Ubuntu 15.04, the default init system is using systemd, so, to run the Nginx server you can use systemctl command:
sudo systemctl start nginx
and check their status with:
sudo systemctl status nginx
this is the sample output of Nginx status on my server:
● nginx.service – A high performance web server and a reverse proxy server
Loaded: loaded (/lib/systemd/system/nginx.service; enabled; vendor preset: enabled)
Active: active (running) since Fri 2015-05-01 16:18:40 IST; 45s ago
Main PID: 1510 (nginx)
├─1510 nginx: master process /usr/sbin/nginx -g daemon on; master_…
├─1511 nginx: worker process
├─1512 nginx: worker process
├─1513 nginx: worker process
└─1514 nginx: worker process
May 01 16:18:39 server systemd: Starting A high performance web server a…..
May 01 16:18:40 server systemd: Failed to read PID from file /run/nginx….nt
May 01 16:18:40 server systemd: Started A high performance web server an…r.
May 01 16:19:17 server systemd: Started A high performance web server an…r.
Hint: Some lines were ellipsized, use -l to show in full.