Results 1 to 6 of 6
-
20th Nov 2011, 06:49 AM #1
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
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
Code:tar -xvf zlib-1.2.5.tar.gz tar -xvf pcre-8.10.tar.gz tar -xvf openssl-0.9.8o.tar.gz
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
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
Code:./configure --help
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"
Code:/usr/local/nginx/sbin/nginx -c /usr/local/nginx/conf/nginx.conf
Testing
Code:/usr/local/nginx/sbin/nginx -V
Source : http://www.howtoforge.com/install-ng...nd-dav-support
Thanks , if you got any problem Feel free to add me on IMBharat 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
-
20th Nov 2011, 06:58 AM #2BannedWebsite's:
xsl.tel xsltel.comat least mention the source of this tutorial
http://www.howtoforge.com/install-ng...nd-dav-support
-
20th Nov 2011, 06:59 AM #3
-
20th Nov 2011, 07:00 AM #4Member
thanks
-
20th Nov 2011, 07:03 AM #5MemberWebsite's:
mafiaWarez.com phaze.co katzbb.com massddl.com buspic.com
-
20th Nov 2011, 07:14 AM #6
Sponsored Links
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Similar Threads
-
How to: Install Nginx on cPanel
By Raptile in forum Technical and Security TutorialsReplies: 3Last Post: 22nd Nov 2011, 12:31 AM -
How to Install Nginx On Centos
By ifirstdoz in forum Technical Help Desk SupportReplies: 5Last Post: 19th Nov 2011, 04:16 PM -
How to install nginx
By Nickk96 in forum Server ManagementReplies: 11Last Post: 29th Sep 2011, 07:48 PM -
Install nginx on Linux VPS?
By ChaoscripT in forum Server ManagementReplies: 13Last Post: 16th Sep 2011, 04:24 AM
themaManager - edit and manage...
Version 4.05 released. Open older version (or...