Posts

Showing posts from March, 2018

How to install latest HDP cluster using Ambari

Below steps are some important points while doing installing HDP using Ambari. process was followed on RHEL 7.x on AWS. I have consider 1 ambari node, 1 master node and 2 slaves nodes 1. Collect Information The fully qualified domain name (FQDN) of each host in your system. The Ambari Cluster Install wizard supports using IP addresses. You can use $ hostname -f Start VMs on AWS and jot down below example 10.0.0.116 ip-10-0-0-116.us-west-2.compute.internal ambari 10.0.0.164 ip-10-0-0-164.us-west-2.compute.internal master1 10.0.0.145 ip-10-0-0-145.us-west-2.compute.internal slave1 10.0.0.123 ip-10-0-0-123.us-west-2.compute.internal slave2  example HOSTNAME=ip-10-0-0-116.us-west-2.compute.internal HOSTNAME=ip-10-0-0-164.us-west-2.compute.internal HOSTNAME=ip-10-0-0-145.us-west-2.compute.internal HOSTNAME=ip-10-0-0-123.us-west-2.compute.internal 2.  Set Up Password-less SSH Steps 1. Generate public and private SSH keys on the Ambari Server host. ssh-keygen 2. Cop

How to install java and docker on Linux (Ubuntu)

Intsllation steps on Ubuntu ubuntu/images/hvm-ssd/ubuntu-xenial-16.04-amd64-server-20180126 (ami-79873901) ----------------------------------------------------------------------------- sudo apt-get update sudo add-apt-repository ppa:webupd8team/java sudo apt-get update sudo apt-get install oracle-java8-installer # Managing java sudo update-alternatives --config java Setting the JAVA_HOME Environment Variable sudo update-alternatives --config java sudo vi /etc/environment # INSERT JAVA_HOME="/usr/lib/jvm/java-8-oracle" source /etc/environment echo $JAVA_HOME ********************Get docker now*************** # This script is meant for quick & easy install via: $ curl -fsSL get.docker.com -o get-docker.sh $ sh get-docker.sh # docker installed properly $ docker info $ docker version