CentOS7 installation process Ambari2.7.4

Configure the password-free login

  • Modify all host nodes
192.168.210.133 node1
192.168.210.134 node2
192.168.210.135 node3
192.168.210.136 node4
  • Modify the host name of all nodes
vim /etc/sysconfig/network
NETWORKING=yes
HOSTNAME=node2
  • Turn off the firewall
systemctl stop firewalld
systemctl disable firewalld
  • reboot

Start configuring optional login:

  • Free dense core idea is: if B has server authorized_keys A public key server, then the server can avoid A secret log on B server.

First generation key several machines are:

# 安装ssh
yum -y install openssh-clients  

rm -rf ~/.ssh/*
ssh-keygen -t rsa
# 一路回车,然后拷贝到授权文件
  • In one of the machines
cat ~/.ssh/id_rsa.pub >> ~/.ssh/authorized_keys
  • Then performed on all other commands such as home several machines, each machine sends the key to the authorized_keys node1 machine to go :( Note that the user name, who is who log in)
ssh-copy-id -p 2121 root@node1
 cat .ssh/authorized_keys

Testing can be free to log on ok.

Installation Time Synchronization

yum -y install ntp

ntpdate cn.pool.ntp.org

Installation Ambari2.7.4

Take a look at the list of supported software

  • After selection you can see https://supportmatrix.hortonworks.com/

The final preparation of the inventory software

Package version
operating system CentOS7
Ambari 2.7.3
HDP 3.1.0.0
MySQL 5.7
OracleJDK8 JDK1.8.0_144

Guess you like

Origin www.cnblogs.com/radio/p/12021293.html