Set java home on all the nodes of cluster (make sure you have the correct java path first before setting it. The path value might differ based on what java subversion gets installed)
pick one node as amber host, create pub-pri key pair using ssh-keygen, then copy the public key into "/home/root/.ssh/authorized_keys" file on all the nodes
Do test is password less ssh works (via doing ssh from the ambari node to all other nodes), if this fails, you need to resolve it first as the entire installation depends on it.
NTP set-up (on all nodes)
Yum install -y ntp
Start ntp:
"/etc/init.d/ntpd start" (RHEL6)
"systemctl enable ntpd" and "systemctl start ntpd" (RHEL7)
Check "/etc/hosts" file on all hosts: should have all node entries in it
vi /etc/hosts
Edit network file (on all nodes)
vi /etc/sysconfig/network
NETWORKING=yes
HOSTNAME=<fully.qualified.domain.name>
(FQDN of the particular node where you are editing the /etc/sysconfig/network file)
Stop IP-tables: some times it might throw some error like "permission denied", you can ignore it)
service iptables stop (RHEL6)
systemctl disable firewalld and service firewalld stop (RHEL7)
Disable secure linux (all nodes)
setenforce 0
Umask set to 0022 (all nodes)
umask 0022
echo umask 0022 >> /etc/profile
Get the amber repo file (on node where amber will be installed)
Start the service:service mysqld start(when mysql is installed)
Do the steps to set-up the DAT file required by the amber install.
When u do 'mysql -u root -p’ is will ask for password, just hit ‘enter’ (i.e. blank password)
Do amber server config, and start amber server
ambari-server setup -j $JAVA_HOME (assuming JAVA_HOME is already set, if not set it)
Accept y for temporarily disable SELinux
Accept n for Customize user account for ambari-server (assuming ambari runs under "root" user).
Accept y for temporarily disabling iptables
Select n for advanced database configuration ( select y if you want to set-up ambari with MySQL or any other db which should be already installed on the same node).
At Proceed with configuring remote database connection properties [y/n] choose y.
This completes the set-up
Start and check ambari server
ambari-server start
ambari-server status
If you want to stop ambari server: ambari-server stop
When successful, you should reach amber ui and should work from there on.