Install Nginx on cPanel

August 21, 2011 by admin · Leave a Comment 

Here is a excellent tutorial show you how to Install Nginx on cPanel:

The bright people over at http://www.nginxcp.com have come up with 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.

So if you have a site that is slow you might benefit from Nginx serving up all the static content and only using Apache to process the php files..

Nginx Admin (Stable version) v2.6

Changelog:
Below is a detailed list of all the changes in this release:

1- Feature: Based on nginx 1.0.4 Stable See this link for more details( http://nginx.org/en/CHANGES )
2- New script added /scripts/rebuildvhosts
3- Installer updated for cPanel 11.30

Install Instructions:

Code:
cd /usr/local/src
wget http://nginxcp.com/nginxadmin2.6-stable.tar
tar xf nginxadmin2.6-stable.tar
cd publicnginx
./nginxinstaller install

Note:
As Its a major release so if you have previously installed the any version of the nginx, please uninstall and then perform the installation.

Uninstall Instruction:

Code:
cd /usr/local/src
wget http://nginxcp.com/nginxadmin2.6-stable.tar
tar xf nginxadmin2.6-stable.tar
cd publicnginx
./nginxinstaller uninstall

NginX Installer with whm Interface

August 21, 2011 by admin · Leave a Comment 

Here is a excellent tutorial show you about NginX Installer with whm Interface:

Install instruction:
cd /usr/local/src
http://nginxcp.com/nginx1.10.tar
tar xf nginx1.10.tar
cd publicnginx
./nginxinstaller install

If you don’t want to uninstall old version and just want to install whm interface then run
./cpwhm-install
Instead of ./nginxinstaller install

This is open sourced version, All developers are welcomed to modify/upgrade the whm interface.