How to Install Nginx Admin in a VPS:
Nginx Admin is plugin for cPanel server to manage Nginx from WHM. Nginx will work as a front end reverse proxy of your cPanel server along with Apache.
Nginx is known for its high performance, speed & low resource usage. Many enterprises, such as WordPress & Comodo, already switched to Nginx as it proves to be the most powerful web-server.
In this tutorial we will install step by step the Nginx Admin cPanel plugin.
If you installing Nginx Admin for the first time, You must need to follow these steps.
You need to generate a WHM access hash (Remote Access Key)
Login to WHM as root
Go to Cluster/Remote Access » Setup Remote Access Key
Click Generate new key
Download the latest Nginx Admin Package.
tar xf nginxadmin.tar
If you are installing first time you have to run Python fix.
Run install script
Wait couple of minutes & reinstall Apache.
Add automated /tmp cleanup cron.
Add the line at the end of the file.
0 */1 * * * /usr/sbin/tmpwatch -am 1 /tmp/nginx_client
Congratulation! you have installed Nginx Admin successfully
Login to SSH as a root & run the bellow commands.
For more info approximately Nginx Admin please visit http://www.nginxcp.com/
- Although its not necessary yet its better you should re save Tweak Settings to prevent some error, for this login to root whm, go to Server Configuration » Tweak Settings & just click Save
- At root WHM go to Service Configuration » Apache Configuration » Piped Log Configuration, check Enable Piped Apache Logs & click save