Select the OS family running on your installation host.
RHEL/CentOS/Oracle Linux 7
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.1.2/ambari.repo -O /etc/yum.repos.d/ambari.repo
Important Do not modify the
ambari.repo
file name. This file is expected to be available on the Ambari Server host during Agent registration.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.
repo id
repo name
status
AMBARI.2.1.2-2.x
Ambari 2.x
8
base
CentOS-7 - Base
6,518
extras
CentOS-7 - Extras
37
updates
CentOS-7 - Updates
785
Proceed to Install the Ambari Agents manually.
Note | |
---|---|
Accept the warning about trusting the Hortonworks GPG Key. That key will be automatically downloaded and used to validate packages from Hortonworks. You will see the following message:
|
RHEL/CentOS/Oracle Linux 6
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.1.2/ambari.repo -O /etc/yum.repos.d/ambari.repo
Important Do not modify the
ambari.repo
file name. This file is expected to be available on the Ambari Server host during Agent registration.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.
repo id
repo name
status
AMBARI.2.1.2-2.x
Ambari 2.x
8
base
CentOS-6 - Base
6,518
extras
CentOS-6 - Extras
37
updates
CentOS-6 - Updates
785
Proceed to Install the Ambari Agents manually.
Note | |
---|---|
Accept the warning about trusting the Hortonworks GPG Key. That key will be automatically downloaded and used to validate packages from Hortonworks. You will see the following message:
|
SLES 11
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/suse11/2.x/updates/2.1.2/ambari.repo -O /etc/zypp/repos.d/ambari.repo
Important Do not modify the
ambari.repo
file name. This file is expected to be available on the Ambari Server host during Agent registration.Confirm the downloaded repository is configured by checking the repo list.
zypper repos
You should see the Ambari repositories in the list.
Version values vary, depending on the installation.
Alias
Name
Enabled
Refresh
AMBARI.2.1.2-2.x
Ambari 2.x
Yes
No
http-demeter.uni-regensburg.de-c997c8f9
SUSE-Linux-Enterprise-Software-Development-Kit-11-SP1 11.1.1-1.57
Yes
Yes
opensuse
OpenSuse
Yes
Yes
Proceed to Install the Ambari Agents manually.
Ubuntu 12
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/ubuntu12/2.x/updates/2.1.2/ambari.list -O /etc/apt/sources.list.d/ambari.list
apt-key adv --recv-keys --keyserver keyserver.ubuntu.com B9733A7A07513CAD
apt-get update
Important Do not modify the
ambari.list
file name. This file is expected to be available on the Ambari Server host during Agent registration.Confirm that Ambari packages downloaded successfully by checking the package name list.
apt-cache pkgnames ambari
You should see the Ambari packages in the list.
Version values vary, depending on the installation.
Name
ambari-agent
ambari-server
ambari-metrics-assembly
Proceed to Install the Ambari Agents manually.
Ubuntu 14
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/ubuntu14/2.x/updates/2.1.2/ambari.list -O /etc/apt/sources.list.d/ambari.list
apt-key adv --recv-keys --keyserver keyserver.ubuntu.com B9733A7A07513CAD
apt-get update
Important Do not modify the
ambari.list
file name. This file is expected to be available on the Ambari Server host during Agent registration.Confirm that Ambari packages downloaded successfully by checking the package name list.
apt-cache pkgnames
You should see the Ambari packages in the list.
Version values vary, depending on the installation.
Name
ambari-agent
ambari-server
ambari-metrics-assembly
Proceed to Install the Ambari Agents manually.
Debian 7
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/debian7/2.x/updates/2.1.2/ambari.list -O /etc/apt/sources.list.d/ambari.list
apt-key adv --recv-keys --keyserver keyserver.debian.com B9733A7A07513CAD
apt-get update
Important Do not modify the
ambari.list
file name. This file is expected to be available on the Ambari Server host during Agent registration.Confirm that Ambari packages downloaded successfully by checking the package name list.
apt-cache pkgnames
You should see the Ambari packages in the list.
Version values vary, depending on the installation.
Name
ambari-agent
ambari-server
ambari-metrics-assembly
Proceed to Install the Ambari Agents manually.