1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
| vi /etc/hostname ------------------------ 结果 ------------------------ mq91 ------------------------ 结果-end --------------------
vi /etc/hosts ------------------------ 结果 ------------------------ 127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4 ::1 localhost localhost.localdomain localhost6 localhost6.localdomain6
172.18.195.91 mq91 172.18.195.92 mq92 172.18.195.93 mq93 ------------------------ 结果-end --------------------
systemctl stop firewalld systemctl disable firewalld
|