open-falcon 安装配置

1.系统环境如下

  centos 6.7(2.6.32-573.3.1.el6.x86_64)

2.安装配置

#创建组及用户
groupadd open
useradd open
useradd -g open open -b /usr/local/open-falcon -s /bin/bash
mkdir /usr/local/open-falcon/ -p
chown -R open.open /usr/loacl/open-falcon
############################
#安装配置
cd /usr/local/open-falcon/
wget http://source.zhaolibin.com/open-falcon/open-falcon-v0.2.0.tar.gz
tar -zxvf open-falcon-v0.2.0.tar.gz
rm open-falcon-v0.2.0.tar.gz
############################
#安装数据库
sudo mkdir /data/app -p
curl http://source.zhaolibin.com/zabbix/zabbix_mysql_install.sh |sh -x
cd /usr/local/open-falcon/
wget http://source.zhaolibin.com/open-falcon/falcon-plus.tar.gz
tar -zxvf falcon-plus.tar.gz
rm  falcon-plus.tar.gz
cd falcon-plus/scripts/mysql/db_schema/
/data/app/mysql/bin/mysql -uroot -pZHAOLIbin123 < 1_uic-db-schema.sql
/data/app/mysql/bin/mysql -uroot -pZHAOLIbin123 < 2_portal-db-schema.sql
/data/app/mysql/bin/mysql -uroot -pZHAOLIbin123 < 3_dashboard-db-schema.sql
/data/app/mysql/bin/mysql -uroot -pZHAOLIbin123 < 4_graph-db-schema.sql
/data/app/mysql/bin/mysql -uroot -pZHAOLIbin123 < 5_alarms-db-schema.sql

  

posted @ 2017-07-18 18:53  悉达多尊  阅读(967)  评论(0编辑  收藏  举报