open-falcon的部署流程<1>

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

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

本文档记录了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
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值