Links
- https://docs.getsentry.com/on-premise/quickstart/
- https://docs.getsentry.com/on-premise/server/installation/
Install
sudo yum install postgresql-server postgresql python redis nginx
pip install -U virtualenv
virtualenv /www/sentry/
source /www/sentry/bin/activate
pip install -U sentry
sentry init /etc/sentry #生成sentry配置文件
# 修改database、host、port
# 新建database
# 配置Redis
sentry --config sentry.conf.py update # 会更新数据库
sentry --config sentry.conf.py start
sentry celery worker
其他:
sentry celery worker -B # 后台运行
sentry celery worker -l DEBUG # DEBUG模式