1.
1.1创建四台虚拟机并启动:
1.2在shell中建立一个centos7的文件夹里边放四个会话,分别note1,note2,note3,note4
1.3成功建立
2.开始配置
2.1:修改主机名:hostnamectl set-hostname 主机名 --static (永久性的)
重启:reboot
查看主机名:hostname
2.2防火墙的关闭
输入service iptables stop 时,出现下面的错误:
这时就需要安装一个iptables-service:
linux中zookeeper的安装与配置
最新推荐文章于 2024-06-14 10:32:37 发布
![](https://img-home.csdnimg.cn/images/20240711042549.png)