cgywin+tengine-1.4.2

1.安装pcre,用于支持nginx的伪静态

# cd /usr/local/src
# wget http://nchc.dl.sourceforge.net/project/pcre/pcre/8.21/pcre-8.21.tar.gz
# tar zxvf pcre-8.21.tar.gz
# mkdir /usr/local/pcre   #创建安装目录
# cd pcre-8.21
# ./configure --prefix=/usr/local/pcre   #配置
# make
# make install
2.安装Tengine
# cd /usr/local/src
# wget http://tengine.taobao.org/download/tengine-1.4.2.tar.gz
# tar zxvf tengine-1.4.2.tar.gz
# cd tengine
# ./configure --prefix=/usr/local/nginx --with-http_stub_status_module --without-select_module --with-pcre=/usr/local/src/pcre-8.21
# make
# make install
# /usr/local/nginx/sbin/nginx   #启动nginx
3.问题解决[getpwnam("nobody") failed]

修改nginx.conf 文件第一行  user  Administrators;(根据自己实际用户来指定)

你可能感兴趣的:(cgywin+tengine-1.4.2)