HDP install (offline using ambari)
reference
官方安装指导
Preparation
除非说明,默认以下操作都是在所有节点上执行
修改 host
1
2
3
4
5
6
7
[root@master ~]# vi /etc/hosts
127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4
::1 localhost localhost.localdomain localhost6 localhost6.localdomain6
192.168.105.137 master
192.168.105.191 slave1
192.168.105.13 slave2
修改 network config
1
2
3
4
5
6
7
8
9
10
11
12
[root@master ~]# vi /etc/sysconfig/network
# Created by anaconda
NETWORKING=yes
HOSTNAME=master
[root@master ~]# hostnamectl set-hostname master
[root@master ~]# hostname
master
# ping 各个节点,查看是否可连通
[root@maste