一、安装
检查是否安装jdk环境,未安装点我
1、创建 /usr/local/services/zookeeper 文件夹:
mkdir -p /usr/local/services/zookeeper
2、进入到 /usr/local/services/zookeeper 目录中:
cd /usr/local/services/zookeeper
3、下载 zookeeper-3.4.14.tar.gz:
wget https://archive.apache.org/dist/zookeeper/zookeeper-3.4.9/zookeeper-3.4.14.tar.gz
4、解压缩 zookeeper-3.4.14.tar.gz:
tar -zxvf zookeeper-3.4.14.tar.gz
5、进入到 /usr/local/services/zookeeper/zookeeper-3.4.14/conf 目录中:
cd zookeeper-3.4.14/conf/
6、复制 zoo_sample.cfg 文件的并命名为为 zoo.cfg:
cp zoo_sample.cfg zoo.cfg
二、dubbo admin监测中心配置
连接超时请检查是否关闭linux防火墙:
firewall-cmd --state 查看防火墙是否关闭
systemctl stop firewalld.service 关闭防火墙
systemctl disable firewalld.service 将防火墙设置成禁止开机启动