qconf安装与配置

本文档详细介绍了QConf的安装过程,包括源码编译、解决编译问题,以及QConf与Zookeeper的配合使用。同时,提到了安装过程中可能遇到的问题,如JDK的安装、环境变量设置、防火墙配置等。此外,还讨论了zkdash——一个Zookeeper管理界面的安装和运行步骤,以及配置文件的详细说明。
摘要由CSDN通过智能技术生成

参照搭建之前请仔细阅读相关安装配置信息及注意事项:

启动顺序,先启动数据库-->再启动zookeeper-->再启动zkdash

在做qconfig管理的时候需要启动各个节点的qconfig客户端根据实际情况确定!

 

qconf安装与配置

一、安装QConf :

1. 使用源码安装

    1)git clonehttps://github.com/Qihoo360/QConf.git

    2) cd QConf

    3) mkdir build

    4) cdbuild && cmake ..

    5) make

    6) make install

 

cmake编译前准备条件

yum install m4 autoconf automake gcc-c++ libtool

 

2.cmake编译报错

CMakeFiles/cmTryCompileExec2834106963.dir/CheckSymbolExists.c.o:In function `main':

CheckSymbolExists.c:(.text+0xc):undefined reference to `pthread_create'

collect2: ld returned 1exit status

//如果出错,也就下面几个错误了

ln -s /usr/bin/aclocal/usr/bin/aclocal-1.14

ln -s /usr/bin/automake/usr/bin/automake-1.15

yum install -ytexinfo

mkdir /usr/local/qconf

 

下载安装最新的autoconf

wgethttp://ftpmirror.gnu.org/autoconf/autoconf-2.69.tar.gz

tar xzf autoconf-2.69.tar.gz
cd autoconf-2.69

./configure --prefix=/usr/local
make
make install

 

3.make 报错

  3.1缺少libgdbm.a静态库

make[2]: *** No rule tomake target `../agent/../deps/gdbm/_install/lib/libgdbm.a', needed by`agent/qconf_agent'.  Stop.

自己上网下载https://ftp.gnu.org/gnu/gdbm/gdbm自己编译出libgdbm.a静态库

./configure 执行报错

checking host systemtype... Invalid configuration `x86

  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值