Nginx Admin version 1.8 (Stable) released.

Change Log:
1- Added /tmp cleanup function in whm interface.

Please do the following to install!

Install instruction:
cd /usr/local/src
wget http://nginxcp.com/nginxadmin1.8-stable.tar
tar xf nginxadmin1.8-stable.tar
cd publicnginx
./nginxinstaller install

Note: This is mirror version so no need to uninstall old version for upgrade. Follow the below upgrade instructions.

Upgrade instruction is given below,

cd /usr/local/src
wget http://nginxcp.com/nginxadmin1.8-stable.tar
tar xf nginxadmin1.8-stable.tar
cd publicnginx
./cpwhm-install

47 comments

  • Congratulations!!!
    It’s amazing 😀 ‘

  • Very nice release… Smokin fast

  • Drops

    very very good idea. Thanks

  • vpshn

    Generating vhosts…
    Installing WHM interface…
    deploying booster rockets
    gettin there
    update apache logsconfigure
    Hangup

    =======================

    Hello! It did not support 5.2.15 PHP? Now cpanel has been updated, find it installed a fault, unable to properly installed.

  • vpshn

    I tried reshipment 4 times, while problems discovered and reshipment system also cannot be solved, it in VZ kernel situations.

  • erick

    You are really rock and roll
    can you give solution for virtualmin or webmin plus nginx?

    Because in cpanel we had to pay more money for monthly….
    thank you once again from Indonesia

  • Chirag

    First of all thanks a lot for adding in that cleanup button it was much needed.

    Secondly, I get this errors in my logs do you know what that might be?

    2011/01/05 08:41:36 [notice] 6071#0: signal 17 (SIGCHLD) received
    2011/01/05 08:41:36 [notice] 6071#0: worker process 18432 exited with code 0
    2011/01/05 08:41:36 [notice] 6071#0: signal 29 (SIGIO) received
    2011/01/05 08:43:53 [notice] 18440#0: exiting
    2011/01/05 08:43:53 [notice] 18440#0: exit
    2011/01/05 08:43:53 [notice] 6071#0: signal 17 (SIGCHLD) received
    2011/01/05 08:43:53 [notice] 6071#0: worker process 18440 exited with code 0
    2011/01/05 08:43:53 [notice] 6071#0: signal 29 (SIGIO) received
    2011/01/05 14:34:01 [notice] 18435#0: exiting
    2011/01/05 14:34:01 [notice] 18435#0: exit
    2011/01/05 14:34:04 [notice] 6071#0: signal 17 (SIGCHLD) received
    2011/01/05 14:34:04 [notice] 6071#0: worker process 18435 exited with code 0
    2011/01/05 14:34:04 [notice] 6071#0: signal 29 (SIGIO) received

  • Damn, it is really Amazing script! good job!

    i want to know is Nginx admin also create vhost addon domain & sub domain?
    I try add addon domain from cpanel but I didn’t see vhost config file under nginx directory 🙁

    Regards,

  • I try add addon domain from cpanel but I didn’t see vhost config file under nginx directory, did I do something wrong?

  • M

    Hi,

    when will you support ssl sites?

  • Chirag

    After running the command

    ./cpwhm-install

    I get this

    root@linux-server2 [/usr/local/src/publicnginx]# ./cpwhm-install
    –2011-01-11 17:06:41– http://nginxcp.com/cpnginx.tar
    Resolving nginxcp.com… 75.75.226.98
    Connecting to nginxcp.com|75.75.226.98|:80… connected.
    HTTP request sent, awaiting response… 200 OK
    Length: 30720 (30K) [application/octet-stream]
    Saving to: `cpnginx.tar’

    100%[===================================================================================================================================================================================================>] 30,720 –.-K/s in 0.07s

    2011-01-11 17:06:42 (461 KB/s) – `cpnginx.tar’ saved [30720/30720]

    Done

    What should I do next?

  • vij

    502 Bad Gateway error

    how to uninstall Nginx Admin WHM plugin v1.8 ?

    or any resolve issues? there

  • Josh

    Hi, installation was perfect in my almost empty server, benchmarks give same performance than before installing nginx, why is that?

    Before Nginx:
    root@server:~# ab -n 100 -c 5 http://domain.com/ (a small HTML with a simply image)
    Requests per second: 2373.49 [#/sec] (mean)

    root@server:~# ab -n 100 -c 5 http://desktop.domain.net/ (joomla 3.0)
    Requests per second: 8.42 [#/sec] (mean)

    After:
    Before Nginx:
    root@server:~# ab -n 100 -c 5 http://domain.com/ (a small HTML with a simply image)
    Requests per second: 2268.45 [#/sec] (mean)

    root@server:~# ab -n 100 -c 5 http://desktop.domain.net/ (joomla 3.0)
    Requests per second: 7.45 [#/sec] (mean)

    Server has a lot of resources, 4GBs dedicated RAM and i7 inter with 8 cores 🙁

    • benchmarks results will be same for small files cause Apache and nginx both can serv small files but you will see differance at huge load and for big files.
      Futher nginx can serve large data with low RAM and CPU load but apache can’t.

  • K

    does not work with wildcard sub domain like *.domain.com

    • wildcard domain are working fine but should be added via dns not via sub domain.
      if you add via subdomain, A wrong entry will also be created in httpd.conf like www.*.domain.com which is wrong.
      The wildcard domain record shouldbe in format *.domain.com not www.*.domain.com.

  • petru

    Hello,

    I tried to install the cache service and I have this in my nginx.conf:

    proxy_cache_path /cache levels=1:2 keys_zone=my-cache:8m max_size=1000m inactive=600m;
    proxy_temp_path /vcache;

    and when restartign i get this:

    Restarting nginx daemon: nginx/etc/init.d/nginx: line 26: 2387 Segmentation fault $DAEMON -c $CONFIGFILE
    already running.

    Commenting (disabling) the above-mentioned lines gives no error and nginx restarts normally.

    Any ideas about the cause ?

  • M

    What about the SSl support? 🙂 Really need that.

  • suhaimi

    -bash-3.2# ./nginxinstaller install
    /usr/local/src/publicnginx
    Welcome to the Nginx Admin installer……Starting Install
    Generating vhosts…
    Installing WHM interface…
    deploying booster rockets
    gettin there
    update apache logsconfigure
    Hangup

    I dont know whats wrong. Im using WHM11.28.64 in virtuozzo container

  • JohnX

    suhaimi, check here

    – Go to Main >> Server Configuration >> Tweak Settings
    – Change “Apache non-SSL IP/port ” to 0.0.0.0:8081 instead of 0.0.0.0:80
    – Restart Apache – Reinstall Nginx Admin Again.

  • Jenny

    Hey, I’m getting the following error when I try to restart apache as directed

    ————————————–
    root@shkewa [/usr/local/src/publicnginx]# ./nginxinstaller install
    /usr/local/src/publicnginx
    Welcome to the Nginx Admin installer……Starting Install
    Generating vhosts…
    Installing WHM interface…
    deploying booster rockets
    gettin there
    update apache logsconfigure
    ****************************************************
    * Installation Complete *
    *run /etc/init.d/httpd restart to start Nginx Admin*
    ****************************************************
    root@shkewa [/usr/local/src/publicnginx]# /etc/init.d/httpd restart
    Restarting nginx daemon: nginx[emerg]: bind() to xxx.xxx.xxx.xxx:80 failed (99: Cannot assign requested address)
    already running.
    ————————————–

    I’ve commented the IP with “xxx” above, but what I can say is that it is a secondary dedicated ip address. Meaning, the server has a main shared IP, and one site is running on a dedicated IP, and apache is all working well, but after installing nginx and restarting apache I get that error.

    Can anyone assist me on this please?

    Thank you
    Jenny

    • There maybe a wrong virtual host entry in your httpd.conf about this IP. Also check is this IP is realy assigned to your server via ifconfig command at ssh.

  • Jenny

    The virtual host is fine, just like the other ones, I compared them line by line. The only difference is the serveralias which has 14 domains, there is also a NameVirtualHost declared with the dedicated ip
    And yes, on ifconfig I do have the ip listed as eth0:cp2, not sure why the cp2, but seems like because it was added via cpanel, any comments?

  • Thiago

    Why happens this error:

    $ ./nginxinstaller install
    /usr/local/src/publicnginx
    Welcome to the Nginx Admin installer……Starting Install
    Generating vhosts…
    It looks like logins not working, check access key.
    Installing WHM interface…
    deploying booster rockets
    It looks like logins not working, check access key.

    Thanks.

  • Akbar

    Sir,

    When I trying to reinstall the nginx 1.8 I see this error :

    root@nodes [/usr/local/src/publicnginx]# ./nginxinstaller install
    /usr/local/src/publicnginx
    Welcome to the Nginx Admin installer……Starting Install
    cp: cannot create regular file `/etc/nginx/nginx.conf’: No such file or directory
    cp: cannot create regular file `/etc/nginx/proxy.inc’: No such file or directory
    Generating vhosts…
    Installing WHM interface…
    deploying booster rockets
    /bin/sh: cannot create temp file for here document: No space left on device
    /bin/sh: cannot create temp file for here document: No space left on device
    gettin there
    update apache logsconfigure
    Installation Complete — run /etc/init.d/httpd restart to start nginx

    Can you help to fix this problem ?

    Thanks.

  • sm69

    Hi,
    I am very much interested about cpnginx.I have installed it on my server.But after activating it send me email every 10 minutes that my server ip is banned .

    “””””””””””””””””””
    Banned the following ip addresses on Sat Jan 29 09:44:01 CST 2011

    123.12.12.100(masked ip sorry) with 356 connections
    ”””””””””””””””””'”

    Dont know what to do?Advise please.

    Thanks

  • Alexey

    Howto rebuild VHOSTS again ? Seems corresponding WHM link do nothing.

  • Hello,

    I am using nginx on my several servers. It’s really amaizing but i am having same issue on all servers that it shows same IP on different scripts. (IP = Server IP) One of my client has sent me screenshot. I tried to contact with cPanel and they said that it’s due to nginx. I request you to please let me know that how may i resolve this issue.
    Please look at screenshot: http://img200.imageshack.us/img200/5421/18745947.gif

    Thanks in advance.

  • Ben Jackiel

    sir… i have 2 web server…
    my friend help me to install nginx web server…
    i try nginx.. and working…

    but someday.. i try switch again to apache….
    and now i want switch apache to nginx web server…

    in whm any Nginx Admin (v1.8 Stable)
    please tell me step by step for switch again to nginx…

    please sending by email sir..
    i’m very need your help…
    thanks

  • Sousa

    Hello,

    After install, ngnix still down.

    After i run /etc/init.d/httpd restart
    i receive this error:
    Warning: DocumentRoot [/dev/null] does not exist

    All domains are running on 8081 port, and nothing response on port 80

    there is a way to solve this?

Leave a Reply

Your email address will not be published. Required fields are marked *

*

This site uses Akismet to reduce spam. Learn how your comment data is processed.