本文档记录了centos6.4下open-falcon监控系统的部署流程,以及一些需要注意的地方。
参考了官方文档 http://book.open-falcon.org/zh/
部署前的准备
设置环境变量
export WORKSPACE=/root/open-falcon
redis安装
- yum安装
yum install redis-cli redis-server
- 源码安装
tar zxvf redis-3.2.1.tar.gz
cd redis-3.2.1
make && make install
安装完之后,将源码目录下的redis.conf拷贝到/etc目录,并且修改,最后启动redis-server。
redis-server /etc/redis.conf
MySql安装
yum install mysql mysql-server php-mysql.x86_64
初始化Mysql脚本
git clone https://github.com/open-falcon/scripts.git
cd scripts
mysql -uroot < db_schema/dashboard-db-schema.sql
mysql -uroot < db_schema/graph-db-schema.sql
mysql -uroot < db_schema/links-db-schema.sql
mysql -uroot < db_schema/portal-db-schema.sql
mysql -uroot < db_schema/uic-db-schema.sql
/* mysql如果有密码,需要指定密码.*/
下载open-falcon
直接

本文详细记录了在CentOS6.4上部署open-falcon监控系统的过程,包括环境变量设置、redis和Mysql安装、GoLang环境配置以及各组件如agent、hbs、graph等的安装步骤。在部署过程中需要注意组件间的依赖和配置,如dashboard的pip和virtualenv安装,以及各组件的配置文件设置。
最低0.47元/天 解锁文章
2345

被折叠的 条评论
为什么被折叠?



