...
Code Block |
---|
sudo su - |
to make yourself root. Ambari offers many installation options (see Ambari User Guides), but to get up and running quickly with default settings, you can run the following Download the repository file so that ambari-server can be installed:
Code Block |
---|
# CentOS 6 # # to test latest public release 1.6.1 - stable wget -O /etc/yum.repos.d/ambari.repo http://public-repo-1.hortonworks.com/ambari/centos6/1.x/updates/1.6.1/ambari.repo OR # to test the 1.7.0 branch build wget -O /etc/yum.repos.d/ambari.repo http://s3.amazonaws.com/dev.hortonworks.com/ambari/centos6/1.x/latest/1.7.0/ambari.repo OR # to test the trunk build - updated nightlymultiple times a day wget -O /etc/yum.repos.d/ambari.repo http://s3.amazonaws.com/dev.hortonworks.com/ambari/centos6/1.x/latest/trunk/ambari.repo yum install ambari-server -y # Ubuntu 12 # # to test the 1.7.0 branch build wget -O /etc/yum.repos.d/ambari.repo http://s3.amazonaws.com/dev.hortonworks.com/ambari/centos6/1.x/latest/1.7.0/ambari.repo OR # to test the trunk build - updated multiple times a day wget -O /etc/yum.repos.d/ambari.repo http://s3.amazonaws.com/dev.hortonworks.com/ambari/centos6/1.x/latest/trunk/ambari.repo yumcd /etc/apt/sources.list.d wget http://dev.hortonworks.com.s3.amazonaws.com/ambari/ubuntu12/1.x/latest/trunk/ambari.list apt-key adv --recv-keys --keyserver keyserver.ubuntu.com B9733A7A07513CAD apt-get update apt-get install ambari-server -y |
Ambari offers many installation options (see Ambari User Guides), but to get up and running quickly with default settings, you can run the following:
Code Block |
---|
ambari-server setup -s
ambari-server start
|
For frontend developers only: see Frontend Development section below for extra setup instructions.
...