cd /opt/src
wget ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/pcre-8.10.tar.gz
tar zxvf pcre-8.10.tar.gz
cd pcre-8.10
./configure && make && make install
cd /opt/src
wget http://sysoev.ru/nginx/nginx-0.7.61.tar.gz
tar zxvf nginx-0.7.61.tar.gz
cd nginx-0.7.61
./configure /
--user=bl /
--group=bl /
--prefix=/usr/local/nginx/ /
--with-http_stub_status_module /
--with-http_ssl_module /
--with-md5=/usr/lib /
--with-sha1=/usr/lib
make && make install
/usr/local/nginx/sbin/nginx
本文介绍如何通过命令行工具安装pcre库及nginx Web服务器。首先下载并解压pcre源码包,然后进行编译安装。接着下载nginx源码,配置安装路径及相关模块后完成编译安装。
1万+

被折叠的 条评论
为什么被折叠?



