标签:conf sysconfig /etc 127.0.0.1 local oop centos6 hadoop host
1.编辑/etc/sysconfig/network
[root@localhost ~]# vi /etc/sysconfig/network
NETWORKING=yes
HOSTNAME=hadoop-01
2.hostname 直接命名
[root@localhost ~]#hostname hadoop-01
3.编辑/etc/hosts
[root@localhost ~]# vi /etc/hosts
127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4
1 localhost localhost.localdomain localhost6 localhost6.localdomain6
192.168.137.130 hadoop-01
标签:conf sysconfig /etc 127.0.0.1 local oop centos6 hadoop host
原文地址:https://www.cnblogs.com/rookieLearn/p/9060837.html