据说wen.lu开源了,代码大家可以到github自行下载。
[root@hz /]# cd /byrd/tools/
[root@hz tools]# yum install pcre* openssl openssl-devel gcc gcc-c++ wget vim -y
[root@hz tools]# git clone https://github.com/cuber/ngx_http_google_filter_module
[root@hz tools]# git clone https://*g*ithub.c*om/yaoweibin/ngx_http_substitutions_filter_module
[root@hz tools]# wget http://*ngin**x.org/download/nginx-1.7.8.tar.gz
[root@hz tools]# cd /byrd/service/
[root@hz service]# wget http://www.**open*ssl.org/source/openssl-1.0.2e.tar.gz
[root@hz service]# cd openssl-1.0.2e/
[root@hz openssl-1.0.2e]# ./config
[root@hz openssl-1.0.2e]# make
[root@hz openssl-1.0.2e]# cd ../../tools/
[root@hz tools]# tar zxf nginx-1.7.8.tar.gz
[root@hz tools]# cd nginx-1.7.8
[root@hz nginx-1.7.8]# ./configure --user=www --group=www --prefix=/byrd/service/nginx-1.7.8 --with-openssl=/byrd/service/openssl-1.0.1h --with-pcre --with-http_ssl_module --with-http_spdy_module --with-http_gunzip_module --with-http_gzip_static_module --with-http_stub_status_module --with-ipv6 --with-http_sub_module --add-module=/byrd/tools/ngx_http_google_filter_module --add-module=/byrd/tools/ngx_http_substitutions_filter_module
[root@hz nginx-1.7.8]# make && make install
[root@hz nginx-1.7.8]# ln -s /byrd/service/nginx-1.7.8 /usr/local/nginx
[root@hz nginx-1.7.8]# cd /usr/local/nginx/conf/
[root@hz conf]# cp nginx.conf nginx.conf.bk
[root@hk conf]# cat ./nginx.conf
worker_processes 1;
events {
worker_connections 1024;
}
http {
include mime.types;
default_type application/octet-stream;
sendfile on;
keepalive_timeout 65;
server {
server_name www.111com.net;
listen 80;
resolver 8.8.8.8;
location / {
google on;
google_scholar on;
google_language "en";
}
}
}
洋果子店rose最新版本
洋果子店最新版是一款十分容易让人垂涎的开店经营类手游。游戏玩
明日大亨最新版
明日大亨手游,一个非常经典有趣的模拟经营类型的商战手游,在游
早安我的少年日服最新版2024
早安我的少年日服是一款治愈恋爱手游,清新明亮的游戏画面,让你
我的世界基岩版1.16正式版
我的世界基岩版是一款模拟经营手游,游戏采用的是经典像素玩法,
早安我的少年最新版2024
早安我的少年是一款养成恋爱手游,在这款游戏中,玩家们将可以体