@breakerthb
        
        2016-10-19T06:24:08.000000Z
        字数 376
        阅读 1566
    Tools uwsgi
uwsgi : https://pypi.python.org/pypi/uWSGI
uwsgi参数详解:http://uwsgi-docs.readthedocs.org/en/latest/Options.html
$ sudo pip install uwsgi
查看版本
$ uwsgi --version
新建文件
# test.py
def application(env, start_response):
    start_response('200 OK', [('Content-Type','text/html')])
    return "Hello World"
在终端输入
$ uwsgi --http :8001 --wsgi-file test.py
在浏览器中查看:http://127.0.0.1:8001
看到Hello World说明安装成功。
