...
As this is a Quick Start Guide to get you going quickly, ready-made, publicly available binaries are referenced in the steps below.
Note that these binaries were built and made publicly available via Hortonworks, a commercial vendor for Hadoop. This is for your convenience. Note that using the binaries shown here would make HDP, Hortonworks' distribution, available to be installed via Apache Ambari. The instructions here should still work (only the repo URLs need to be changed) if you have Ambari binaries from any other vendor/organization/individuals (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 in the repo URL) # # to test public release 2.5.1 wget -O /etc/yum.repos.d/ambari.repo http://public-repo-1.hortonworks.com/ambari/centos6/2.x/updates/2.5.1.0/ambari.repo yum install ambari-server -y # 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://public-repo-1.hortonworks.com/ambari/ubuntu14/2.x/updates/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 # 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/updates/2.5.1.0/ambari.repo zypper install ambari-server -y |
...
On the host machine:
Code Block | ||
---|---|---|
| ||
cd ambari-vagrant/centos6.8 # Replace the [forked-repository-url] with your fork's clone url git clone [forked-repository-url] ambari cd ambari/ambari-web npm install brunch w |
On c6801 (where Ambari Server is installed):
Code Block | ||
---|---|---|
| ||
cd /usr/lib/ambari-server mv web web-orig ln -s /vagrant/ambari/ambari-web/public web ambari-server restart |
...