#可以参看这篇文档http://www.axiaoxin.com/article/79/

apt-get install postgresql libxml2 libxml2-dev\
postgresql-server-dev-9.3/trusty-updates python-dev
pip install psycopg2
apt-get update
apt-get install libxml2-dev libxslt1-dev python-dev\
libjpeg-dev/trusty libfreetype6 libfreetype6-dev zlib1g-dev
pip install sentry
#如果你选择MySQL的话
#apt-get install libmysqlclient-dev mysql-server
#pip install mysql-python

# 依照下面的说法配置 postgresql,并且重启

http://stackoverflow.com/questions/8167602/django-connection-to-postgresql-peer-authentication-failed

/etc/init.d/postgresql restart

继续按照官方文档的说明来进行

https://docs.sentry.io/server/installation/python/

# 配置域名

设置域名 sentry.xxx.com/net/cn/

访问