安装wdcp后,反向代理全过程
yum -y --noplugins install wget zip
yum -y --noplugins install unzip
yum -y --noplugins install gcc
yum -y --noplugins install make
yum -y --noplugins install pcre-devel
yum -y --noplugins install openssl-devel
yum -y install subversion
wget -c http://www.nginx.org/download/nginx-1.0.8.tar.gz
wget -c http://wiki.nginx.org/images/5/51/Nginx-accesskey-2.0.3.tar.gz
svn checkout http://substitutions4nginx.googlecode.com/svn/trunk/ substitutions4nginx-read-only
tar -zxf Nginx-accesskey-2.0.3.tar.gz
tar zxf nginx-1.0.8.tar.gz
cd nginx-1.0.8
./configure --user=www --group=www --prefix=/www/wdlinux/nginx-0.8.54 --with-http_stub_status_module --with-http_ssl_module --with-ipv6 --with-http_gzip_static_module --with-ipv6 --with-pcre --with-http_sub_module --add-module=/root/substitutions4nginx-read-only --add-module=/root/nginx-accesskey-2.0.3
make
mv /www/wdlinux/nginx-0.8.54/sbin/nginx /www/wdlinux/nginx-0.8.54/sbin/nginx.old
cp objs/nginx /www/wdlinux/nginx-0.8.54/sbin/nginx
/www/wdlinux/nginx-0.8.54/sbin/nginx -t
make upgrade
/www/wdlinux/nginx-0.8.54/sbin/nginx -V
killall nginx
/www/wdlinux/nginx-0.8.54/sbin/nginx
包你一次成功!
苍井空电影 没有反代哟,呵呵!朋友做的站,都是反代的,效果还不错,我也要试试