Tag: pcre
Installing Nginx on CentOS 5
by admin on Jan.25, 2009, under Server Maintenance
yum install pcre
yum install pcre-devel
yum install openssl-devel
yum install zlib
tar xzvf nginx-0.X.XX.tar.gz (get latest stable version)
yum install gcc
./configure –sbin-path=/sbin/nginx –conf-path=/usr/local/nginx/nginx.conf –pid-path=/usr/local/nginx/nginx.pid –with-http_ssl_module –with-md5=auto/lib/md5 –with-sha1=auto/lib/sha1
make
make install
This will get you off with a nginx server. Then, you have to configure your conf file and setup some start-up scripts, etc.