1. 程式人生 > >hadoop-12-安裝ambari-agent

hadoop-12-安裝ambari-agent

centos6 gpg install tar start check pat 修改 led

hadoop-12-安裝ambari-agent

在所有的機器上面安裝ambari-agent

1, cd /etc/yum.repos.d/
vi 三個文件
vi ambari.repo
#VERSION_NUMBER=2.5.0.3-7
[ambari-2.5.0.3]
name=ambari Version - ambari-2.5.0.3
baseurl=http://server-1/ambari/centos6
gpgcheck=0

vi HDP.repo
[HDP-2.6.0.3-8]
name=HDP-2.6.0.3-8
baseurl=http://server-1/HDP/centos6/
gpgcheck=0

path=/
enabled=1
gpgcheck=0

vi HDP-UTILS.repo
[HDP-UTILS-1.1.0.21]
name=HDP-UTILS-1.1.0.21
baseurl=http://server-1/HDP-UTILS-1.1.0.21/repos/centos6/
gpgcheck=0

path=/
enabled=1
gpgcheck=0


2,yum install ambari-agent

3, vi /etc/ambari-agent/conf/ambari-agent.ini

hostname修改server-1

4,service ambari-agent start

service ambari-agent status

hadoop-12-安裝ambari-agent