In this part, we will install and start Ambari server.
- Copy the private key (.pem) file from your PC to the Ambari Server. Save the pem file as id_rsa under directory /home/<user>/.ssh/ in the Ambari server.
- SSH to the Ambari server. Add the ambari repository into the repository sources. The example below uses version 2.2.2.
cd /etc/apt/sources.list.d sudo wget http://public-repo-1.hortonworks.com/ambari/ubuntu14/2.x/updates/2.2.2.0/ambari.list
- Install Ambari Server from the public Ambari repository:
sudo apt-key adv --recv-keys --keyserver keyserver.ubuntu.com B9733A7A07513CAD sudo apt-get update sudo apt-get install ambari-server
- Run Setup. You can use default parameter here. Use default values for questions.
sudo ambari-server setup
Note: for MySQL, the JDBC driver can be downloaded here.
- Start Ambari Server.
sudo ambari-server start
Finally, in the next part, we will deploy a Hadoop cluster.
About the author