Warning: include(.../cache/template/template63867.php): failed to open stream: No such file or directory in /home/codingta/public_html/includes/vb5/template.php on line 328 Warning: include(): Failed opening '.../cache/template/template63867.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/codingta/public_html/includes/vb5/template.php on line 328 nginx easy installer Nginx Admin for cpanel/centos - Coding-Talk

nginx easy installer Nginx Admin for cpanel/centos

Collapse
This is a sticky topic.
X
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • nginx easy installer Nginx Admin for cpanel/centos

    the latest versions you can find here: Nginx Admin - cPanel nginx automated installer Plugin

    connect to your server via ssh,
    and use this commands step by step:

    Code:
    cd /usr/local/src
     wget http://nginxcp.com/nginxadmin2.5-stable.tar
     tar xf nginxadmin2.5-stable.tar
     cd publicnginx
     ./nginxinstaller install
    after you installed it go to WHM Tweak Settings > System > and change in the field Apache non-SSL IP/port [?] the value 80 to 8081 save the settings,

    now you need to enable in your firewall the port 8081

    edit crontab via ssh with command:
    Code:
    crontab -e
    and add this line to it:
    Code:
    */15 * * * * /usr/sbin/tmpwatch -am 4 /tmp/nginx_client
    Done.

  • #2
    well just doing this much will shall give speed to my server or i need to make some more changes in server or script ror downloads

    Comment


    • #3
      you can edit the configuration and change the no. of worker and/or no. of worker processes according to your site's need and resources required.
      no of workers is generally preferred to be equivalent to the no. of cores of your server.

      Comment


      • #4
        is this to install ontop of apache ?

        Comment


        • #5
          Originally posted by subzero View Post
          is this to install ontop of apache ?
          Yep..nginx would work as a reverse proxy to apache..

          Comment

          Working...
          X