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.

nginx

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

[email protected] [/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

 

 

Get more cPanel Knowledgebase

Subscribe to our mailing list and get interesting stuff and updates to your email inbox.

Thank you for subscribing.

Something went wrong.

0.00 avg. rating (0% score) - 0 votes
Website Pin Facebook Twitter Myspace Friendfeed Technorati del.icio.us Digg Google StumbleUpon Premium Responsive