In this part, we will install and start Ambari server.

  1. 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.
  2. 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
    

     

  3. 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
  4. 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.

     

  5. Start Ambari Server.
    sudo ambari-server start

     

Finally, in the next part, we will deploy a Hadoop cluster.