Linux - How to install nginx, NGINX - JSP servers

How to install nginx

Nginx is commonly used by hosting providers to execute multiple tomcat daemon on same server. Below steps will provide you an simple idea to install the scripts on server.

Login to SSH and do this
 cd /usr/local/src
 wget http://nginxcp.com/latest/nginxadmin.tar
 tar xf nginxadmin.tar
 cd publicnginx
 ./pythonfix
 ./nginxinstaller install
Its Done, Now go to WHM and search for nginx, You can find it there.

Now you might receive the Error 502 Bad Gateway error

To fix the error, now you have to tweak some setting in WHM.

Open your WHM control panel and search for tweak settings, search for Apache non-SSL and set it to 0.0.0.0:8081
  Apache non-SSL -==> 0.0.0.0:8081  

The topic on Linux - How to install nginx is posted by - Math

Hope you have enjoyed, Linux - How to install nginxThanks for your time

Tech Bluff