参照搭建之前请仔细阅读相关安装配置信息及注意事项:
启动顺序,先启动数据库-->再启动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