How-to: Install NginX on Cpanel Easily!

Status
Not open for further replies.

Storming

Active Member
1,809
2009
44
0
A wonderful little tool for working with Nginx. It integrates a admin panel into WHM so you can stop and restart Nginx, recreate the vhost config, view the Nginx Logs and check apache. Also it autoconfigures WHM and Apache for use with Nginx by changing apache from listening on port 80 to port 8081.

For those who don’t know what Nginx is its a caching proxy that will cache static content such as images and html files and serves them up without having to access Apache for the content thus improving speed, memory usage and processor overhead. All dynamic content such as php, java and video are proxied to Apache for processing.


Creator website: http://www.nginxcp.com/

Simply install the script and NginX will be installed aswell :)

Do this via SSH:
cd /usr/local/src
wget http://nginxcp.com/nginxadmin1.8-stable.tar
tar xf nginxadmin1.8-stable.tar
cd publicnginx
./nginxinstaller install

Remember to + Rep :)
 
Last edited:
12 comments
No issues at all :)
I did find that some things such as VBSEO have custom url rewrites in .htaccess but they provide a new one for ngninx systems.

Hope it helps.
 
thank you for your useful information Storming,

and yes the thing that keeping me back to install nginx is because i have a .htaccess
i am having a headache with it :D
 
Did this and it gave me a bad gateway after restarting my vps and trying to access my forums. Don't have anything else on the site except my vb forum. I didn't touch anything in the config. Is there a trick to it or what. Was able to uninstall it and got my site back
 
for 1 single forum dnt use this. use only nginx+php(fpm/fcgi)+mysql5.1.56+xcache
and optimize your mysql using mysqltuner .
 
Status
Not open for further replies.
Back
Top