https://book.open-falcon.org/zh_0_2/quick_install/index.html
主要参考以上官方链接
apt-get install redis-server mysql-server-5.5 git
cd /tmp/ && git clone https://github.com/open-falcon/falcon-plus.git
cd /tmp/falcon-plus/scripts/mysql/db_schema/
mysql -h 127.0.0.1 -u root -p < 1_uic-db-schema.sql
mysql -h 127.0.0.1 -u root -p < 2_portal-db-schema.sql
mysql -h 127.0.0.1 -u root -p < 3_dashboard-db-schema.sql
mysql -h 127.0.0.1 -u root -p < 4_graph-db-schema.sql
mysql -h 127.0.0.1 -u root -p < 5_alarms-db-schema.sql
cd /tmp
wget https://github.com/open-falcon/falcon-plus/releases/download/v0.2.1/open-falcon-v0.2.1.tar.gz
export FALCON_HOME=/home/service
export WORKSPACE=$FALCON_HOME/open-falcon
mkdir -p $WORKSPACE
tar -xzvf open-falcon-v0.2.1.tar.gz -C $WORKSPACE
cd $WORKSPACE
grep -Ilr 3306 ./ | xargs -n1 — sed -i ‘s/root:/real_user:real_password/g’
./open-falcon start
./open-falcon check
git clone https://github.com/open-falcon/dashboard.git
apt-get install python-virtualenv python-dev python-flask python-jinja2 python-werkzeug python-dateutil python-mysqldb gunicorn libmysqld-dev libmysqlclient-dev
cd $WORKSPACE/dashboard
virtualenv ./env
./env/bin/pip install -r pip_requirements.txt
vi rrd/config.py
vi pip_requirements.txt