...
Code Block |
---|
sudo su - |
to make yourself root. Download the repository file so that ambari-server can be installed:
To install Ambari, you can build it yourself from source (see Ambari Development), or you can use published binaries.
As this is a Quick Start Guide to get you going quickly, ready-made, publicly available binaries are referenced.
Note that these binaries were built and made available via Hortonworks, a commercial vendor for Hadoop. This is for your convenience.
The instructions here would work if you have Ambari binaries from any other vendor (the instructions here can be updated if anyone wanted to expand this to include such ready-made, publicly accessible binaries from any source - such contributions are welcome). This would also work if you had built the binaries yourself.
Code Block |
---|
# CentOS 6 (for CentOS 7, replace centos6 with centos7 |
Code Block |
# CentOS 6 (for CentOS 7, replace centos6 with centos7 in the repo URL) # # to test public release 2.2.2 wget -O /etc/yum.repos.d/ambari.repo http://public-repo-1.hortonworks.com/ambari/centos6/2.x/updates/2.2.2.0/ambari.repo yum install ambari-server -y OR # to test the branch-2.4 build - updated on every commit to branch-2.4 (under development) wget -O /etc/yum.repos.d/ambari.repo http://s3.amazonaws.com/dev.hortonworks.com/ambari/centos6/2.x/latest/2.4.0.0/ambaribn.repo yum install ambari-server -y OR # to test the trunk build - updated on every commit to trunk wget -O /etc/yum.repos.d/ambari.repo http://s3.amazonaws.com/dev.hortonworks.com/ambari/centos6/2.x/latest/trunk/ambaribn.repo yum install ambari-server -y # Ubuntu 12 (for Ubuntu 14, replace ubuntu12 with ubuntu14 in the repo URL) # # to test public release 2.25.21 wget -O /etc/apt/sourcesyum.listrepos.d/ambari.listrepo http://public-repo-1.hortonworks.com/ambari/ubuntu12centos6/2.x/updates/2.25.21.0/ambari.list apt-key adv --recv-keys --keyserver keyserver.ubuntu.com B9733A7A07513CAD apt-get update apt-get repo yum install ambari-server -y OR # to test the branch-2.4trunk build - updated on every commit to branch-2.4 (under development) commit to trunk wget -O /etc/apt/sourcesyum.listrepos.d/ambari.listrepo http://devs3.hortonworksamazonaws.com/dev.s3.amazonawshortonworks.com/ambari/ubuntu12centos6/2.x/latest/2.4.0.0/ambaribn.list apt-key adv --recv-keys --keyserver keyserver.ubuntu.com B9733A7A07513CAD apt-get update apt-get trunk/ambaribn.repo yum install ambari-server -y OR # to test the trunk build - updated on every commit to trunk Ubuntu 14 (for Ubuntu 16, replace ubuntu14 with ubuntu16 in the repo URL) # to test public release 2.5.1 wget -O /etc/apt/sources.list.d/ambari.list http://s3.amazonaws.com/dev.public-repo-1.hortonworks.com/ambari/ubuntu12ubuntu14/2.x/latest/trunk/ambaribnupdates/2.5.1.0/ambari.list apt-key adv --recv-keys --keyserver keyserver.ubuntu.com B9733A7A07513CAD apt-get update apt-get install ambari-server -y OR # SUSE 11 # to test public release 2.2.2 to test the trunk build - updated on every commit to trunk wget -O /etc/zyppapt/repossources.list.d/ambari.repolist http://public-repo-1s3.amazonaws.com/dev.hortonworks.com/ambari/suse11/2.x/updates/2.2.2.0/ambari.repo zypper install ambari-server -y OR # to test the branch-2.4 build - updated on every commit to branch-2.4 (under development)/ambari/ubuntu12/2.x/latest/trunk/ambaribn.list apt-key adv --recv-keys --keyserver keyserver.ubuntu.com B9733A7A07513CAD apt-get update apt-get install ambari-server -y # SUSE 11 (for SUSE 12, replace suse11 with suse12 in the repo URL) # to test public release 2.5.1 wget -O /etc/zypp/repos.d/ambari.repo http://public-repo-1.hortonworks.com/ambari/suse11/2.x/latestupdates/2.45.01.0/ambari.repo zypper install ambari-server -y OR # to test the trunk build - updated on every commit to trunk wget -O /etc/zypp/repos.d/ambari.repo http://public-repo-1.hortonworks.com/ambari/suse11/2.x/latest/trunk/ambaribn.repo zypper install ambari-server -y |
...