October 2017
M T W T F S S
 1
2345678
9101112131415
16171819202122
23242526272829
3031  

Categories

October 2017
M T W T F S S
 1
2345678
9101112131415
16171819202122
23242526272829
3031  

CentOS 6.9 Hadoop 2.7.2

CentOS 6.9 Hadoop 2.7.2

master 192.168.1.130 slave 192.168.1.131

master

[root@localhost ~]# vi /etc/hosts

127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4 ::1 localhost localhost.localdomain localhost6 localhost6.localdomain6 127.0.0.1 localhost 192.168.1.130 master 192.168.1.131 slave

[root@localhost ~]# vi /etc/sysconfig/network

NETWORKING=yes HOSTNAME=localhost.localdomain NETWORKING=yes HOSTNAME=master

slave

[root@localhost ~]# vi /etc/hosts

127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4 ::1 localhost localhost.localdomain localhost6 localhost6.localdomain6 127.0.0.1 localhost 192.168.1.130 […]