nginx小总结(八)
nginx小总结(八)
nginx小总结(八)
nginx小总结(七)
http://www.2cto.com/os/201303/194965.html
nginx连接python
www.2cto.com
nginx连接python需要uWSGI服务器
http://projects.unbit.it/downloads/在这个里面下载新的版本!
[root@host2 ~]# tar zxf uwsgi-1.4.9.tar.gz
[root@host2 uwsgi-1.4.9]# yum install python-devel
[root@host2 uwsgi-1.4.9]# make
现在已经安装好,安装信息
############## end of uWSGI configuration #############
*** uWSGI is ready, launch it with ./uwsgi ***
[root@host2 uwsgi-1.4.9]# ./uwsgi -s 127.0.0.1:1717 开启uwsgi服务,并绑定本地的
[root@host2 uwsgi-1.4.9]# netstat -antpl | grep 1717
tcp 0 0 127.0.0.1:1717 0.0.0.0:* LISTEN 3483/uwsgi
这个服务器功能很强大,参数很多,大家可以参见陶利军编著《决战nginx》!里面介绍的很多!
评论暂时关闭