安装Ambari和配置集群

wget -O /etc/apt/sources.list.d/ambari.list http://public-repo-1.hortonworks.com/ambari/ubuntu16/2.x/updates/2.5.2.0/ambari.list
apt-key adv --recv-keys --keyserver keyserver.ubuntu.com B9733A7A07513CAD
apt-get update

apt-cache showpkg ambari-server
apt-cache showpkg ambari-agent
apt-cache showpkg ambari-metrics-assembly

apt-get install -y ambari-server

#选择默认配置

ambari-server setup

ambari-server restart


#配置的前提是已经做完了服务器之间root用户的无密码登录。

配置集群的具体方法见参考2


参考:
1. https://docs.hortonworks.com/HDPDocuments/Ambari-2.5.2.0/bk_ambari-installation/content/download_the_ambari_repo_ubuntu16.html

2. https://docs.hortonworks.com/HDPDocuments/Ambari-2.5.2.0/bk_ambari-installation/content/ch_Deploy_and_Configure_a_HDP_Cluster.html  配置集群的方法

你可能感兴趣的:(开发工具安装)