Free cPanel Nginx automated installer Plugin

nginx is open-source, high-performance HTTP server and reverse proxy, as well as an IMAP/POP3 proxy server. nginxcp cPanel nginx automated installer Plugin which Turbo boost your cPanel server with low resources usage.

Free cPanel Nginx automated installer plugin

Nginx Admin Install instruction:

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

Nginx Admin Uninstall instruction:

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

If you get any error message “access key doesn’t exist, Go to WHM >> Cluster/Remote Access >> Setup Remote Access Key
Then click Generate New Key  and then to install it.

Please visit http://nginxcp.com/ for information.

 

Python Errors

root@host [/usr/local/src/publicnginx]# ./nginxinstaller install
/usr/local/src/publicnginx
Welcome to the Nginx Admin installer……Starting Install
\
Generating vhosts…
Traceback (most recent call last):
File “/scripts/createvhosts.py”, line 2, in ?
import yaml
File “/usr/lib/python2.4/site-packages/PyYAML-3.10-py2.4-linux-x86_64.egg/yaml/__init__.py”, line 26
SyntaxError: ‘yield’ not allowed in a ‘try’ block with a ‘finally’ clause
Installing WHM interface…
deploying booster rockets
Traceback (most recent call last):
File “/usr/local/src/publicnginx/nginxinstaller2″, line 9, in ?
import createvhosts
File “/usr/local/src/publicnginx/createvhosts.py”, line 2, in ?
import yaml
File “/usr/lib/python2.4/site-packages/PyYAML-3.10-py2.4-linux-x86_64.egg/yaml/__init__.py”, line 26
SyntaxError: ‘yield’ not allowed in a ‘try’ block with a ‘finally’ clause

Fix

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

After that you can run installer as per bellow,

  • ./nginxinstaller install
  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

cPHulk Brute Force Protection

WHM/cPanel has a service, protected from Brute Force attack, which is called “cPHulk Brute Force...

Enable SSH key authorized login without root password

You need to generate SSH Key ( the private key )on your cpanel server and then update remote...

How can I Redirect URLs in cPanel

Login your cpanel 1. Click the Redirects button on the front page under the “domains” 2. Enter...

Enable Custom php.ini for Fast CGI

With fast-cgi, custom php.ini needs to be in the cgi-bin folder. 1) Move php.ini to cgi-bin...

ConfigServer Firewall CSF installation

ConfigServer firewall is a popular linux firewall security suite. It is easy to install, flexible...

Powered by WHMCompleteSolution