1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
yum install python-devel 
postgresql-devel (libpq-dev in Debian/Ubuntu, libpq-devel on Cygwin/Babun.
libjpeg-devel libxslt-devel libxml2-devel libsasl2-devel libldap2-devel libssl-devel openldap-devel mysql-server mysql-devel

sudo apt-get install libffi-dev

apt-get install libsasl2-dev python-dev libldap2-dev libssl-dev


sudo easy_installl virtualenv

virtualenv /opt/sentry/env
source /opt/sentry/env/bin/activate
sudo easy_install sentry python-memcached django-auth-ldap MySQL-python


sentry init /opt/sentry/


mysql -u root -p

create database sentry charset utf8;


sentry --config=/opt/sentry/sentry.conf.py config generate-secret-key

sentry --config=/opt/sentry/sentry.conf.py upgrade