Hadoop_01修改hosts文件
时间:2021-09-09 23:27:20
收藏:0
阅读:18
设置主机名
[root@localhost ~]# hostnamectl set-hostname s1
[root@localhost ~]# reboot
修改hosts文件
[root@master ~]# vi /etc/hosts

192.168.187.10 master
192.168.187.11 s1
192.168.187.12 s2
原文:https://www.cnblogs.com/rainbow-1/p/15242389.html
评论(0)