How To Install / Uninstall Nginx Admin on a cPanel Server

cpanel-nginx

Nginx Admin is a free plugin for cPanel to add nginx support. Its very easy to install and get it working. It will hardly take 10-15 minutes to get things done.

How to install Nginx Admin

Step 1:

Login into WHM as root user and navigate to: WHM Home >> Clusters >> Remote Access Key

Now click Generate New Key button.

Step 2:

Login to server via SSH as root user and run following commands

cd /usr/local/src
wget http://nginxcp.com/latest/nginxadmin.tar
tar xf nginxadmin.tar
cd publicnginx

Step 3:

If you are installing Nginx Admin for the first time, run pythonfix. If you have previously installed nginx admin, you can ignore below command.

./pythonfix

Step 4:

Now run installer.

./nginxinstaller install
/etc/init.d/httpd restart

Step 5:

If you have any firewall installed on the server like CSF firewall, allow port 8081

Step 6:

Done!!
Check nginx status in

WHM Home >> Plugins >> Nginx Admin

How to Un-install Nginx Admin

Run below commands to un-install Nginx Admin from the server

cd /usr/local/src
wget http://nginxcp.com/latest/nginxadmin.tar
tar xf nginxadmin.tar
cd publicnginx
./nginxinstaller uninstall
/etc/init.d/httpd restart

How to re-install Nginx Admin

To re-install Nginx admin:

  1. Un-install Nginx Admin using steps mentioned above
  2. Install Nginx Admin using steps mentioned above

How to Update Nginx Admin

If you want to update nginx admin to latest verion:

  1. Un-install Nginx Admin using steps mentioned above
  2. Install Nginx Admin using steps mentioned above

Our Top Rated Host

Related Posts