1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

nginx automated installer

Discussion in 'Workarounds and Optimization' started by blargman, Feb 17, 2010.

Thread Status:
Not open for further replies.
  1. macuto

    macuto New Member

    Joined:
    Oct 2, 2010
    Messages:
    15
    Likes Received:
    0
    Trophy Points:
    1
    i put in 100m

    same problem
     
  2. 9xlinux

    9xlinux Member

    Joined:
    Dec 20, 2009
    Messages:
    185
    Likes Received:
    0
    Trophy Points:
    16
    You should edit /etc/nginx/proxy.inc instead of /usr/local/src/publicnginx/nginx.conf

    and add/update below,

    client_max_body_size 20m;
    client_body_buffer_size 128k;
    proxy_send_timeout 90;
    proxy_read_timeout 90;
    proxy_buffer_size 128k;
    proxy_buffers 4 256k;
    proxy_busy_buffers_size 256k;
    proxy_temp_file_write_size 256k;
     
    #282 9xlinux, Oct 3, 2010
    Last edited: Oct 3, 2010
  3. hostingmetro

    hostingmetro Member

    Joined:
    May 30, 2003
    Messages:
    42
    Likes Received:
    0
    Trophy Points:
    6
    Got this error:

    [root@cwh3 publicnginx]# ./nginxinstaller install
    /usr/local/src/publicnginx
    Welcome to the Nginx installer......Starting Install
    Generating vhosts...
    Traceback (most recent call last):
    File "/scripts/createvhosts.py", line 160, in ?
    f = open('/var/cpanel/userdata/' + i + '/main')
    IOError: [Errno 2] No such file or directory: '/var/cpanel/userdata/dialogos/main'
    -------
    The other vhost has the main file but not this one. How does one recreate it?
     
  4. 9xlinux

    9xlinux Member

    Joined:
    Dec 20, 2009
    Messages:
    185
    Likes Received:
    0
    Trophy Points:
    16
    Which OS you are using?
     
  5. shadowspid

    shadowspid Member

    Joined:
    Nov 28, 2002
    Messages:
    30
    Likes Received:
    0
    Trophy Points:
    6
    hello..
    i tried your installation.
    seems to be working.

    how can i make sure that it was done correctly?

    in my previous server i needed to edit
    Main >> Service Configuration >> Apache Configuration >> Include Editor >> Pre Main Include

    and add in some of my static ipaddresses like these:

    -------------------------START---------------------------------
    LoadModule rpaf_module modules/mod_rpaf-2.0.so

    RPAFenable On
    # Enable reverse proxy add forward
    RPAFproxy_ips 127.0.0.1 xxx.xxx.xxx xxx.xxx.xxx
    # which ips are forwarding requests to us
    RPAFsethostname On
    # let rpaf update vhost settings
    # allows to have the same hostnames as in the "real"
    # configuration for the forwarding Apache
    RPAFheader X-Real-IP
    # Allows you to change which header mod_rpaf looks
    # for when trying to find the ip the that is forwarding
    # our requests
     
  6. macuto

    macuto New Member

    Joined:
    Oct 2, 2010
    Messages:
    15
    Likes Received:
    0
    Trophy Points:
    1
    Hello,

    there is any way to get this module working whit
    nginx upload progress bar

    now when we upload some files in php this no show the progress of the uploading

    this feature will be good to implement to this automated installation module :)
     
  7. RACKSET

    RACKSET Member

    Joined:
    Apr 28, 2006
    Messages:
    44
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    localhost
    Beware 9xlinux script changes [% vhost.homedir %] to [% vhost.documentroot %] and creates /var/cpanel/templates/apache2/vhost.local .

    This effects php open_basedir settings and restricts it to public_html/ an can cause issues with vhosts have file/folders outside of public_html/
     
  8. syslint

    syslint Member

    Joined:
    Oct 9, 2006
    Messages:
    148
    Likes Received:
    0
    Trophy Points:
    16
    Perfect nginx plugin

    If you need a perfectly working cPanel nginx plugin please visit , cPnginx : cPanel Nginx plugin - Turbo boost your cPanel server with high stability , It have full compatibility with cPanel
    WHM Plugin Interface : cPnginx whm interface will help you to manage your nginx server completely with in whmcs . It include Nginx configuration editor and service manager.
    Chkservd Integrated : cPnginx is integrated to your cPanel Server chkservd. This will help to monitor nginx server.
    GZIP compression , Save bandwidth : cPnginx is integrated with GZIP compression. You can enable and disable this feature.You can also set the compression lever from 1 to 9.
    Full Bandwidth and stats : Now your domains will get the full bandwidth and stats information for the static files served by nginx. So there is no bandwidth loss.
    cPanel Proxy : Now you can access cpanel.yourdomain.com , whm.yourdomain.com, etc,. after installing nginx plugin.
    Full mod_rewrite support : Support all type SEF urls
    Fully customizable main configuration
    Technical support
    Auto updates
    Continuous development
    Fix for whm apache status

    Read more visit cPnginx : cPanel Nginx plugin - Turbo boost your cPanel server with high stability
     
  9. macuto

    macuto New Member

    Joined:
    Oct 2, 2010
    Messages:
    15
    Likes Received:
    0
    Trophy Points:
    1
    $5 a month for this is too much money,
     
  10. InterServed

    InterServed Member

    Joined:
    Jul 10, 2007
    Messages:
    255
    Likes Received:
    2
    Trophy Points:
    18

    It doesn't seem very nice to see you advertising your product (which is sold for money) into a non-advertising topic. At a first glace i believe all you did is taking this public sources which are available and maybe fix small issues and now you ask money for it. As you can see .... this topic was always related to open-source nginx integration. Also note that i do not do any accusations or flame , you might indeed have something "more special" than the open-source files presented into this topic , but i guess it would only be fair to keep the advertising for the proper thread/forum section.
     
  11. texo

    texo Member

    Joined:
    Mar 28, 2007
    Messages:
    143
    Likes Received:
    0
    Trophy Points:
    16
    @mastersherin

    I disagree that your plugin "works perfectly". I installed it and it began displaying the cpanel login page instead of the websites! I had to quickly uninstall it.
     
  12. 9xlinux

    9xlinux Member

    Joined:
    Dec 20, 2009
    Messages:
    185
    Likes Received:
    0
    Trophy Points:
    16
    Just for our information, all functions you offering right now in your paid product is already available since first release of original developer (since 02-17-2010) free of cost and more development then your paid version.
     
  13. texo

    texo Member

    Joined:
    Mar 28, 2007
    Messages:
    143
    Likes Received:
    0
    Trophy Points:
    16
    and it works perfectly!
     
  14. macuto

    macuto New Member

    Joined:
    Oct 2, 2010
    Messages:
    15
    Likes Received:
    0
    Trophy Points:
    1
    hi,

    let go back to the tread

    Hello,

    there is any way to get this module working whit
    nginx upload progress bar

    now when we upload some files in php this no show the progress of the uploading

    this feature will be good to implement to this automated installation module
     
  15. GaryT

    GaryT Member

    Joined:
    May 19, 2010
    Messages:
    321
    Likes Received:
    0
    Trophy Points:
    16
    Ok then go with litespeed ! I'm using 8 cores, so that will set me back at $92.00 USD Monthly

    Case closed ! :mad:

    Now my turn :D

    I been following this thread now and I have not seen someone explain the performance issue,

    I'm running on a highly modified fastcgi - server loads are an average of 0.00 / 0.30 but as you would guess fasCGI can eat the memory as busy periods but how does this new installer come and whats it like with memory compaired to fastCGI with eAccelerator.

    One of my servers Im running on litespeed, Runs great, Memory issue is great and the spawns are next to nothing, HTTP flooding is never due to the script setup protection.

    So my question is can it be compaired to litespeed php, If so then I'm willing to give this a try at the cost.

    whats the difference to this chart:

    http://www.litespeedtech.com/litespeed-web-server-editions.html
     
    #295 GaryT, Oct 5, 2010
    Last edited: Oct 5, 2010
  16. 9xlinux

    9xlinux Member

    Joined:
    Dec 20, 2009
    Messages:
    185
    Likes Received:
    0
    Trophy Points:
    16
    This thread is not for such perpose.Open new thread for this question.
     
  17. macuto

    macuto New Member

    Joined:
    Oct 2, 2010
    Messages:
    15
    Likes Received:
    0
    Trophy Points:
    1
    hi,

    let go back to the tread

    Hello,

    there is any way to get this module working whit
    nginx upload progress bar

    now when we upload some files in php this no show the progress of the uploading

    this feature will be good to implement to this automated installation module
     
  18. 9xlinux

    9xlinux Member

    Joined:
    Dec 20, 2009
    Messages:
    185
    Likes Received:
    0
    Trophy Points:
    16
    We will try in next version.
     
  19. macuto

    macuto New Member

    Joined:
    Oct 2, 2010
    Messages:
    15
    Likes Received:
    0
    Trophy Points:
    1
    very good.

    im notice this error in the erro.log

    [notice] 11150#0: *1278 a client request body is buffered to a temporary file /tmp/nginx_client/0046934964, client: 127.0.0.1, server: _, request: "POST / HTTP/1.0"

    any idea why ?
     
  20. GaryT

    GaryT Member

    Joined:
    May 19, 2010
    Messages:
    321
    Likes Received:
    0
    Trophy Points:
    16

    perpose Purpose


    And will do that lol
     
Thread Status:
Not open for further replies.

Share This Page