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
Please visit http://nginxcp.com/forums/ in case of any issue.
Incoming search terms:
- nginxcp
- nginx admin
- Install nginxcp
- nginxcp install
- nginx auto installer
- nginx admin panel
- go to WHM > Cluster/Remote Access > Setup Remote Access Key
- install nginx admin
- nginxcp apache 2 4
- nginx admin update

Tried to install and got this error message: “access key doesn’t exist create it in WHM”
What to do?
Thank you.
At root whm go to
Main >> Cluster/Remote Access >> Setup Remote Access Key
Then click Generate New Key
and retry to install
Thank you very much; this is working very fine now.
Great script and glad to get it installed.
Success!
I have been unable to get the ssl to work. Also have you thought about including mod_rpaf to fix the ip logging.
SSL is not supported currently by Nginx Admin, mod_rpaf is already included.
Thanks for this fantastic script, since installing server load is down from around 40 with apache alone to 1.5 running nginx on my php forum
Keep up the great work
Hello :
Is nginxcp support Cache ?
If yes . Can you config cache for me , if I donate for you ?
Thank you
Yes nginxcp support cache and we can do this for you.
Hello:
After completed install and reboot my VPS, I access my site and get 504 gateway error.
How to fix them. Thanks
Where do I get NGinx from ?
Is this the ‘official’ source for it ?
http://*****/Buy-Now
This source does not make mention of the auto installer … can somene please tell me where best to purchase nginx with the installer ?
Thanks and best regards, Lef
Nginx Admin is free product, Visit http://nginxcp.com/forums/ for installation instructions.
Please create such a plugin for DirectAdmin too. DirectAdmin is a lighter panel and provided at low cost or free of cost by several dedicated server and VPS providers. Please support other panels especially DirectAdmin and if possible even Plesk etc. in the future.
Cpanel/FreeBSD Compatibility ?
Hi. Do I need to install nginx first, or will this script install it?
If it will install it, then what paths? And will it install the latest nginx (1.0.3)?
Thanks
When I try to install I get this:
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
What I suppose to do for fix this?
I got the same exact thing.
Same error here….with the latest stable build…
ok..found the solution here….
http://www.adminspoint.com/web-servers/1218-how-install-nginx-cpanel-whm-server-automatic-installer.html
suggestion please,
I will install this nginx admin in the next few hours, before I proceed I need some suggestion and recommendation.
Im running an unmanaged dedicated CEntos 5.x
with WHM/cpanel v11.30
with memcached
Server is all in good right now, but I want to install nginx to make more faster for all the websites server is a bit slow now.
If I do this installation below, what are the consequences of bad things to happen, would it stop my server from running all my websites?
Install guide:
Code:
cd /usr/local/src
wget http://nginxcp.com/latest/nginxadmin.tar
tar xf nginxadmin.tar
cd publicnginx
./nginxinstaller install
Will the uninstall of nginx helps if my server stopped?
what are other configurations needed to do after installation to make it run?
Is it like – Once installed, All Good?
Dear,
How ti install ini Directadmin
thanks
Great web server for web hosting, i like it more over litespeed
Installed perfectly! Way too easy. Thank you for this great contribution.
I installed nginxcp successfully but the status is "down". What can I do to put it on. I currently using apache. Please help.
I would like to know if implementing nginx as frontend of a cPanel server would break the traffic accounting of the static files such as .jpg, .html, .png and others.
Thanks.
This is probably the single best download I've come across in a long time.
It has reduced the load time on all my client servers, and mine. . .in addition
to reducing the CPU load — I am planning to donate to your cause — it's worth it! =0)
Installation:cd /usr/local/srcwget http://nginxcp.com/latest/nginxadmin.tar
tar xf nginxadmin.tar
cd publicnginx
./nginxinstaller install
wanted to give a try to your plugin, but i've got this error :
./nginxinstaller install
Please upgrade cPanel to version 11.30 or above
…we are usign cPanel version 11.32… …so what's the problem? :-p Any way to fix this?
Those who are getting Python-related errors on installation: you need to upgrade your Python binaries to a newer version (I upgraded from 2.4 to 2.7 and it worked well); details on how to do this are on the python.org site.
Thanks to the creator of this plug-in; it's a very valuable service you have done to the community here.
You do not need the new version of Python, what you need is to just run
./pythonfix before you run the installer.
Presto. found it on the http://nginxcp.com/forums/Thread-python-error-issue-fix
Great plugin. Thanks
Does it now support SSL?
Thanks for help us!
I can not remove nginx through document.
I tried this command, but it shows:
root@sv7 [/usr/local/src/publicnginx]# ./nginxinstaller unistall
Usage ./nginstaller [install | uninstall]
Yeah, did I type wrong here?
obviously you’ve mispelled. you dont even double check before you post here? blehh
I tried that uninstall, but it left nginx running and did not remove the Apache configuration file changes.
Hi !
I have the same problem of Dave.
I need to reinstall nginx, but i can't uninstall it.
I installed it and received the Python error on my cpanel VPS. I uninstalled it and ran the Puthon fix and then reinstalled, but I am still receiving the Python error.
Quote:
File "/usr/lib/python2.4/site-packages/PyYAML-3.10-py2.4-linux-i686.egg/yaml/__init__.py", line 26
SyntaxError: 'yield' not allowed in a 'try' block with a 'finally' clause
Got the same Python error as others. Tried to uninstall via the insturctions above:
root@home [/usr/local/src/publicnginx]# ./nginxinstaller uninstall
sed: can't read /var/cpanel/templates/apache2/vhost.local: No such file or directory
Any idea?
i am currently using apache, should i just follow same instructions? and it will remove apache automatically?
Hello
this software is a trash. Not working
Installed in 2 server without sucess.
Thank you
MKA
root@server [/usr/local/src/publicnginx]# ./nginxinstaller install
/usr/local/src/publicnginx
Welcome to the Nginx Admin installer……Starting Install
Please Wait …….
Generating vhosts…
Traceback (most recent call last):
File “/scripts/createvhosts.py”, line 7, 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…
Installing mod_rpaf…
Updating cPanel Configuration
Traceback (most recent call last):
File “/usr/local/src/publicnginx/nginxinstaller2″, line 14, in ?
import createvhosts
File “/usr/local/src/publicnginx/createvhosts.py”, line 7, 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
Me too.
I installed it and it hijacked the httpd script in init.d somehow, so that “service httpd affects the nginx daemon, not the apache httpd daemon.
If I can’t figure out what the heck this installer did, very quickly, I will uninstall it. Hopefully it uninstalls cleanly and I will be able to get things back to where they were before I started, after which I will install nginx normally and configure it manually.
Hi,
When I get it installed, the caching via .htaccess is not working. Any solution?
Thanks,
Sengkhoy
Anyone have caching problem after installation? It seems that .htaccess in root folder is not working. After uninstalled, caching validation passed for google pagespeed. I don’t know why?
I am getting the errors:
Generating vhosts…
Traceback (most recent call last):
File “/scripts/createvhosts.py”, line 157, in
parsedDOC = minidom.parseString(DOC)
File “/usr/lib64/python2.6/xml/dom/minidom.py”, line 1928, in parseString
return expatbuilder.parseString(string)
File “/usr/lib64/python2.6/xml/dom/expatbuilder.py”, line 940, in parseString
return builder.parseString(string)
File “/usr/lib64/python2.6/xml/dom/expatbuilder.py”, line 223, in parseString
parser.Parse(string, True)
xml.parsers.expat.ExpatError: not well-formed (invalid token): line 720, column 15
when run:
./nginxinstaller install
as root. Is there some fix ? I am using cPanel 11.36.0 (build 18) and Python 2.6.6.
hello… i try install an this msg appear:
——————
access key doesn’t exist
go to WHM > Cluster/Remote Access > Setup Remote Access Key
——————
And i make this comman but dont resolv… another point to fix ?