gunicorn概念
Gunicorn 是一个高效的Python WSGI Server,通常用它来运行 wsgi application(由我们自己编写遵循WSGI application的编写规范) 或者 wsgi framework(如Django,Paster),地位相当于Java中的Tomcat,具有使用非常简单,轻量级的资源消耗,以及高性能等特点。
gunicorn的安装
gunicorn安装很方便,直接使用pip install gunicorn即可。或者下载源码进行安装也可以
git clone git://github.com/benoitc/gunicorn.git
cd gunicorn
sudo python setup.py install
flask的安装
直接用pip install flask进行安装即可