How to install Nginxcp in Cpanel server
Nginx Admin is a cPanel Nginx integration plugin. This plugin will increase your server performance and decrease server loads cased by apache. Here Nginx will work as a front end reverse proxy of your cPanel server along with apache, Which will increase the performance.
This article expalains the installation and uninstallation steps of nginxcp cpanel plugin.
Installation Steps
Step1: Change the location
# cd /usr/local/src
Step2: Download the nginxcp package
# wget http://nginxcp.com/latest/nginxadmin.tar
Step3: Extract the dowloaded package file
# tar xf nginxadmin.tar
Step4: Change the location to the package folder
# cd publicnginx
Step5: Install nginx cp using the following command
# ./nginxinstaller install
Note:
After changing any thing on apache conf in nginxcp server, please do following
login to WHM -->> Nginx Admin -->> Rebuild Vhosts -->> Restart Nginx
Uninstallation Steps
Step1: Change the location
# cd /usr/local/src
Step2: Download the nginxcp package
# wget http://nginxcp.com/latest/nginxadmin.tar
Step3: Extract the dowloaded package file
# tar xf nginxadmin.tar
Step4: Change the location to the package folder
# cd publicnginx
Step5: Remove nginx cp using the following command
# ./nginxinstaller uninstall
Step6: Terminate all running nginx processes
# pkill nginx
Step7: Restart apache service
# /etc/init.d/httpd start