标签:
On a server host that has Internet access, use a command line editor to perform the following steps:
Log in to your host as root
.
Download the Ambari repository file to a directory on your installation host.
wget -nv http://public-repo-1.hortonworks.com/ambari/centos6/2.x/updates/2.2.2.0/ambari.repo -O /etc/yum.repos.d/ambari.repo
Confirm that the repository is configured by checking the repo list.
yum repolist
You should see values similar to the following for Ambari repositories in the list.
Version values vary, depending on the installation.
Install the Ambari bits. This also installs the default PostgreSQL Ambari database.
yum install ambari-server
Enter y
when prompted to to confirm transaction and dependency checks.
wget -nv http://public-repo-1.hortonworks.com/ambari/centos7/2.x/updates/2.2.2.0/ambari.repo -O /etc/yum.repos.d/ambari.repo
其他同上
标签:
原文地址:http://www.cnblogs.com/roger888/p/5505731.html