zkdash是一个zookeeper的管理界面,也可以作为任何基于zookeeper的配置管理工具
1.mysql
2.安装python2.7, 版本最好 >= 2.7.6
二、安装部署
1.MySQL
yum install -y mysql-server /etc/init.d/mysqld start /usr/bin/mysqladmin -u root password '123456' mysql> create database zkdash; mysql> grant all privileges on zkdash.* to tokyo@'172.%'; mysql> set password for 'tokyo'@'172.%' = password('tokyo'); mysql> flush privileges; # mysql -h 172.25.38.109 -utokyo -ptokyo
2.zkdash
git clone https://github.com/ireaderlab/zkdash.git # vi conf/conf.yml DATABASE: db: 'zkdash' host: '172.25.38.109' port: 3306 user: 'tokyo' passwd: 'tokyo' # python2.7 bin/syncdb.py # python2.7 init.py -port=8888
3.访问
http://172.25.38.109:8888/
zookeeper管理-->新增
参考文档:
https://github.com/ireaderlab/zkdash
原文地址:http://blog.51cto.com/amy2015/2118496