Nginx和uWSGI安装、配置

  • A+
所属分类:Environment

一、编译安装nginx:

参考《Centos6.4 安装Nginx Web服务器

编译安装uWSGI

配置nginx:(/usr/local/nginx/conf/ningx.conf)

运行uWSGI:

wsgi.py:

到此,去访问你的页面吧!是否看到了很熟悉的内容“hello,world”?

参考:http://www.douban.com/note/13508388/
参考:http://cn-popeye.iteye.com/blog/1534649
参考:http://blog.csdn.net/sgbfblog/article/details/8948820
参考:http://www.vimer.cn/2011/07/linux%E4%B8%8Bnginxpythonfastcgi%E9%83%A8%E7%BD%B2%E6%80%BB%E7%BB%93web-py%E7%89%88.html
参考:http://my.oschina.net/guol/blog/121418
参考:http://www.cnblogs.com/txwsqk/archive/2011/03/15/1984792.html

发表评论

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen: