Nginx TCP Proxy模块的编译安装
这次用一个国内开发者在GitHub上的开源项目https://github.com/yaoweibin/nginx_tcp_proxy_module
我的系统已经安装了最新的Nginx,现在需要下载源代码编译出自己的版本。
service nginx stopmv /usr/sbin/nginx /usr/sbin/nginx_bk/usr/src/nginx-1.5.3/objs# cp nginx /usr/sbin/service nginx startps -def | grep nginxroot 23479 1 0 23:21 ? 00:00:00 nginx: master process /usr/sbin/nginx -c /etc/nginx/nginx.confroot 23480 23479 0 23:21 ? 00:00:00 nginx: worker process root 23482 13006 0 23:21 pts/0 00:00:00 grep --color=auto nginx