How to Install Nginx on cPanel/WHM
Nginx is an alternative to Apache and as many of you already know it’s faster consumes less memory and can truly handle much more requests than Apache, so if you are looking to speed up your web server we suggest giving Nginx (engine-x) 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.
In this article, we are going to introduce you to the easy way by using a famous 3rd party plugin for cPanel/WHM the nginxcp.
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 mess with command line.
Make sure you have a remote key created first
Installation Instructions
cd /usr/local/src wget http://nginxcp.com/latest/nginxadmin.tar tar xf nginxadmin.tar cd publicnginx ./nginxinstaller install
Note: If you have already a previous version installed you should uninstall it and install the latest one.
Uninstall Instructions
cd /usr/local/src wget http://nginxcp.com/latest/nginxadmin.tar tar xf nginxadmin.tar cd publicnginx ./nginxinstaller uninstall
Leave a Reply