#可以参看这篇文档
apt-get install postgresql libxml2 libxml2-dev\postgresql-server-dev-9.3/trusty-updates python-devpip install psycopg2apt-get updateapt-get install libxml2-dev libxslt1-dev python-dev\libjpeg-dev/trusty libfreetype6 libfreetype6-dev zlib1g-devpip install sentry#如果你选择MySQL的话#apt-get install libmysqlclient-dev mysql-server#pip install mysql-python
# 依照下面的说法配置 postgresql,并且重启
/etc/init.d/postgresql restart
继续按照官方文档的说明来进行
# 配置域名
设置域名
访问