Apache Ambari helps in management, monitoring, provisioning of Hadoop cluster. Here is how to install Apache Ambari on Ubuntu 16.04 to manage Hadoop cluster. Ambari Server uses an embedded PostgreSQL database by default. When we install the Ambari Server, PostgreSQL packages and dependencies must be available for install. We are showing example with repo from Hortonworks for many reasons, one of them is their documentation to fix any issue in future.
How To Install Apache Ambari on Ubuntu 16.04 to Manage Hadoop Cluster
Installation and initial setup of Apache Ambari is very easy. SSH to your server and become root
, add Ambari repository file to /etc/apt/sources.list.d
:
1 | wget -O /etc/apt/sources.list.d/ambari.list http://public-repo-1.hortonworks.com/ambari/ubuntu16/2.x/updates/2.5.1.0/ambari.list |
Then add the key :
---
1 | apt-key adv --recv-keys --keyserver keyserver.ubuntu.com B9733A7A07513CAD |
Then run update :
1 | apt-get update |
If we run these below commands, we will see the viable packages :
1 2 3 | apt-cache showpkg ambari-server apt-cache showpkg ambari-agent apt-cache showpkg ambari-metrics-assembly |
Now we will install the Ambari server which will also install the above said default PostgreSQL Ambari database :
1 | apt-get install ambari-server |
Next part is running the command to set up the Ambari Server :
1 | ambari-server setup |
The command will configure Ambari to connectto the Ambari database, install the JDK, give option to configure user account the Ambari Server daemon will use, run. Ambari Server will run as root. You possibly need to If you have temporarily disable iptables. Thereafter you’ll get option to select a JDK version to download. Ambari Server setup downloads and installs Oracle JDK 1.8 and the accompanying related files. Accept the Oracle JDK license,
select n at advanced database configuration to use the default, embedded PostgreSQL database for Ambari.
Default PostgreSQL database name is ambari, user name and password are ambari and bigdata. Otherwise, to use an existing PostgreSQL, MySQL/MariaDB or Oracle database with Ambari, select y.
At the end you’ll get options configure remote database connection properties, you’ll choose yes.
Tagged With https://thecustomizewindows com/2017/07/how-to-install-apache-ambari-on-ubuntu-16-04-to-manage-hadoop-cluster/ , how to , installing amabari on ubuntu 16 , install apache ambari on ubuntu , ambari installation in ubuntu , install ambari ubuntu guru99 , Ubuntu16 04 ambari install , ambari installed in Ubuntu , ambari in ubuntu , ambari on ubuntu 18