Install and uninstall Nginx Admin cPanel plugin

How to series - Nginx
How to series - Nginx

What is Nginx?

NginX is the one of the fastest webserver in the world. Nginx is known for its high performance and low resource usage. Many enterprises/companies, such as WordPress and Comodo switched to NginX as it proves to be the most powerful web-server on the planet now a days. Nginx will work as a front end reverse proxy of your cPanel server along with apache. Which will increase the performance

How to install Nginx Admin cPanel plugin?

Prerequisites : To install Nginx admin cPanel plugin, server root login credential as well as shell access required.

Commands to execute as a root user:

cd /usr/local/src

wget http://nginxcp.com/latest/nginxadmin.tar

tar xf nginxadmin.tar

cd publicnginx

./nginxinstaller install

Above command will start the installation process but if you get an error that says “Remote Access Key does not exist”, then generate a new key and restart the script.

Login to your WHM Interface, click on Remote Key Access under Clusters and select Generate New Key.

Go back to the command line and enter the following command:

./nginxinstaller install

As soon as installation completes, Nginx will be integrated with cPanel / WHM. You can manage it from your WHM under Plugins > Nginx Admin section.

How to uninstall Nginx Admin cPanel plugin?

Prerequisites : To install Nginx admin cPanel plugin, server root login credential as well as shell access required.

Commands to execute as a root user:

cd /usr/local/src

wget http://nginxcp.com/latest/nginxadmin.tar

tar xf nginxadmin.tar

cd publicnginx

./nginxinstaller uninstall

Above commands will uninstall Nginx admin plugin from your server, for confirmation kindly login into the WHM and check under Plugins section, 
if Nginx Adminplugin is available or not?

Senior technical writer

Be Sociable, Share!
About Anant 364 Articles
Senior technical writer