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

Install Free SSL Let’s Encrypt plugin in cPanel

Let’s Encrypt is a trusted, open source certificate authority that offers free SSL certificates...

Install nginx as a reverse proxy cPanel plugin

Install Nginx on your cPanel/WHM server using the Engintron cPanel Plugin as a reverse proxy. It...

Powered by WHMCompleteSolution