Install NGINX on cPanel

If your looking for a free way to speed up for web server I’d suggest giving nginxcp a try. It acts as a super fast web server to serve up static content such as images and static html but passes php and other dynamic content back to Apache. This will speed up content and lower processor usage on your server.

This application adds all the correct settings into WHM and also adds an application into the WHM control panel so you can stop or start the service and also make configuration changes without having to drop to command line.

[code]cd /usr/local/src
wget http://nginxcp.com/latest/nginxadmin.tar
tar xf nginxadmin.tar
cd publicnginx
./nginxinstaller install[/code]

 

Note:
You may needed to run pythonfix script if you are installing it in first time.
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 Instructions:

 

[code]cd /usr/local/src
wget http://nginxcp.com/latest/nginxadmin.tar
tar xf nginxadmin.tar
cd publicnginx
./nginxinstaller uninstall
[/code]

Leave a Reply

Your email address will not be published. Required fields are marked *