Activity Stream
48,167 MEMBERS
62986 ONLINE
besthostingforums On YouTube Subscribe to our Newsletter besthostingforums On Twitter besthostingforums On Facebook besthostingforums On facebook groups

Results 1 to 6 of 6
  1.     
    #1
    Respected Member
    Bharat's Avatar
    Website's:
    ShineServers.Com Pickadedi.com

    Default Install Nginx On CentOS 5.5 With SSL, PCRE, GeoIP, Zlib, Gzip And DAV Support

    Nginx (pronounced "engine x") is a free, open-source, high-performance HTTP server. Nginx is known for its stability, rich feature set, simple configuration, and low resource consumption. This tutorial shows how you can compile and install Nginx on CentOS 5.5 server with SSL, PCRE, GeoIP, Zlib, Gzip and DAV support.

    Pre-Installation

    First we install httpd-devel, pcre, pcre-devel, zlib, zlib-devel, perl, geoip and geoip-devel packages like this:

    Code: 
    yum install -y httpd-devel pcre perl pcre-devel zlib zlib-devel GeoIP GeoIP-devel
    Download required packages

    Code: 
    cd 
    wget ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/pcre-8.10.tar.gz
    wget http://zlib.net/zlib-1.2.5.tar.gz
    wget ftp://ftp.openssl.org/source/openssl-0.9.8o.tar.gz
    Now you have to untar these files.

    Code: 
    tar -xvf zlib-1.2.5.tar.gz
    tar -xvf pcre-8.10.tar.gz
    tar -xvf openssl-0.9.8o.tar.gz
    Download Nginx source package

    You need to download Nginx source package from http://nginx.org/.

    Code: 
    cd 
    wget http://nginx.org/download/nginx-0.7.67.tar.gz
    tar -xvf nginx-0.7.67.tar.gz 
    cd nginx-0.7.67
    Compile and Install Nginx

    Now you can compile and install Nginx with the following commands:

    Code: 
    ./configure --user=nginx --group=nginx --prefix=/usr/share/nginx --sbin-path=/usr/sbin/nginx --conf-path=/etc/nginx/nginx.conf --error-log-path=/var/log/nginx/error.log --http-log-path=/var/log/nginx/access.log --http-client-body-temp-path=/var/lib/nginx/tmp/client_body --http-proxy-temp-path=/var/lib/nginx/tmp/proxy --http-fastcgi-temp-path=/var/lib/nginx/tmp/fastcgi --pid-path=/var/run/nginx.pid --lock-path=/var/lock/subsys/nginx --with-http_ssl_module --with-http_realip_module --with-http_addition_module --with-http_sub_module --with-http_dav_module --with-http_flv_module --with-http_gzip_static_module --with-http_stub_status_module --with-http_perl_module --with-mail --with-mail_ssl_module --with-cc-opt='-m32 -march=i386' --with-openssl=/root/openssl-0.9.8o --with-pcre --with-pcre=/root/pcre-8.10 --with-zlib=/root/zlib-1.2.5 --with-http_geoip_module
    You can find out more options by using the following command:

    Code: 
    ./configure --help
    Now run:

    Code: 
    make
    make install


    Configuration Summary

    Code: 
    nginx path prefix: "/usr/local/nginx"
    nginx binary file: "/usr/local/nginx/sbin/nginx"
    nginx configuration prefix: "/usr/local/nginx/conf"
    nginx configuration file: "/usr/local/nginx/conf/nginx.conf"
    nginx pid file: "/usr/local/nginx/logs/nginx.pid"
    nginx error log file: "/usr/local/nginx/logs/error.log"
    nginx http access log file: "/usr/local/nginx/logs/access.log"
    nginx http client request body temporary files: "client_body_temp"
    nginx http proxy temporary files: "proxy_temp"
    nginx http fastcgi temporary files: "fastcgi_temp"
    Start Nginx Server

    Code: 
    /usr/local/nginx/sbin/nginx -c /usr/local/nginx/conf/nginx.conf


    Testing

    Code: 
    /usr/local/nginx/sbin/nginx -V
    PS : Remove --with-cc-opt='-m32 -march=i386' - 64bit platform

    Source : http://www.howtoforge.com/install-ng...nd-dav-support


    Thanks , if you got any problem Feel free to add me on IM
    Bharat Reviewed by Bharat on . Install Nginx On CentOS 5.5 With SSL, PCRE, GeoIP, Zlib, Gzip And DAV Support Nginx (pronounced "engine x") is a free, open-source, high-performance HTTP server. Nginx is known for its stability, rich feature set, simple configuration, and low resource consumption. This tutorial shows how you can compile and install Nginx on CentOS 5.5 server with SSL, PCRE, GeoIP, Zlib, Gzip and DAV support. Pre-Installation First we install httpd-devel, pcre, pcre-devel, zlib, zlib-devel, perl, geoip and geoip-devel packages like this: yum install -y httpd-devel pcre perl Rating: 5

  2.   Sponsored Links

  3.     
    #2
    Banned
    Website's:
    xsl.tel xsltel.com
    at least mention the source of this tutorial
    http://www.howtoforge.com/install-ng...nd-dav-support

  4.     
    #3
    Respected Member
    Bharat's Avatar
    Website's:
    ShineServers.Com Pickadedi.com
    Quote Originally Posted by XSLTel View Post
    at least mention the source of this tutorial
    http://www.howtoforge.com/install-ng...nd-dav-support
    Lol . added on thread

  5.     
    #4
    Member
    thanks

  6.     
    #5
    Member
    Website's:
    mafiaWarez.com phaze.co katzbb.com massddl.com buspic.com
    how do it and run fine on kloxo ?


  7.     
    #6
    Respected Member
    Bharat's Avatar
    Website's:
    ShineServers.Com Pickadedi.com
    Quote Originally Posted by -sky- View Post
    how do it and run fine on kloxo ?
    Yes it runs fine onto it , but for kloxo i recommend litespeed . as its stable for it , anyways it runs on kloxo as well .

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. How to: Install Nginx on cPanel
    By Raptile in forum Technical and Security Tutorials
    Replies: 3
    Last Post: 22nd Nov 2011, 12:31 AM
  2. How to Install Nginx On Centos
    By ifirstdoz in forum Technical Help Desk Support
    Replies: 5
    Last Post: 19th Nov 2011, 04:16 PM
  3. How to install nginx
    By Nickk96 in forum Server Management
    Replies: 11
    Last Post: 29th Sep 2011, 07:48 PM
  4. Install nginx on Linux VPS?
    By ChaoscripT in forum Server Management
    Replies: 13
    Last Post: 16th Sep 2011, 04:24 AM

Tags for this Thread

BE SOCIAL