首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 其他教程 > 开源软件 >

NGINX-装配-PCRE安装

2012-08-15 
NGINX-安装-PCRE安装1.环境:XXX.XXX.XXX.XXX??? devwqs2/XXXXXXXXX2.查看是否安装GCC和G++[devwqs2@cslab-

NGINX-安装-PCRE安装
1.环境:XXX.XXX.XXX.XXX??? devwqs2/XXXXXXXXX2.查看是否安装GCC和G++[devwqs2@cslab-svr01?~]$?which?g++/usr/bin/g++[devwqs2@cslab-svr01?~]$?which?gcc/usr/bin/gcc[devwqs2@cslab-svr01?~]$?G++和GCC是安装PCRE不可缺少的.3.安装PCRE路径 [devwqs2@cslab-svr01?pcre-8.10]$?pwd/home/devwqs2/soft/pcre-8.10[devwqs2@cslab-svr01?pcre-8.10]$?ls?执行安装命令ksh?configure (参数选择默认即可,有的环境中用./configure)makemake installPCRE对NGINX很多支持,有必要安装.4.安装NGINX路径[devwqs2@cslab-svr01?nginx-0.8.53]$?pwd/home/devwqs2/soft/nginx-0.8.53[devwqs2@cslab-svr01?nginx-0.8.53]$?执行安装命令ksh?configure?--prefix=/home/devwqs2/nginx?--with-http_ssl_module (有的环境用./configure --prefix=/home/devwqs2/nginx?--with-http_ssl_module )makemake install5.NGINX的启动相关语法检测/home/devwqs2/nginx/sbin/nginx?-t?-c?/home/devwqs2/nginx/conf/nginx.conf 启动/home/devwqs2/nginx/sbin/nginx??-c??/home/devwqs2/nginx/conf/nginx.conf 平滑启动/home/devwqs2/nginx/sbin/nginx??-s??reload 查看进程情况ps?-ef|grep?nginx 结束NGINX所有进程pkill -9 nginx资源: http://wiki.nginx.org/Chs 1 楼 greatwqs 2012-02-27   http://poechant.iteye.com/blog/1424312

热点排行