Hi
Supported OS is ubuntu 12.04 for multinode cluster using Ambari1.7 and HDP2.2
Follow the steps below
echo “os Check”
cat /etc/issue
echo “program check”
whereis rpm
whereis scp
whereis curl
whereis unzip
whereis tar
whereis wget
whereis openssl
whereis python
echo “execute hostname and then nslookup hostname to verify that the name resolves to the correct IP address”
hostname
nslookup hostname
In /etc/hosts add IP FQDN
sudo /etc/hosts
echo “set up ulimit”
oprn file $vi /etc/security/limits.conf
add following lines to the end of file
* soft nofile 10000
* hard nofile 10000
Then logout and re-login
passwordless
ssh-keygen
copy id_rsa.pub to hosts
cat .ssh/id_rsa.pub >> .ssh/authorized_keys
ssh root@f.q.d.n
NTPD
Alternative to chkconfig
——————————-
sudo apt-get install ntp
sudo apt-get install sysv-rc-conf
sudo sysv-rc-conf ntpd on
sysv-rc-conf –list
sysv-rc-conf –list ntpd
echo “set umask”
umask 022
in .bashrc file set umask 022
—————————————-
Ambari-installation
—————————————-
For getting key in ubuntu12
Ambari 1.7.0 Repository File Links:for UBUNTU 12
wget -nv http://public-repo-1.hortonworks.com/ambari/ubuntu12/1.x/updates/1.7.0/ambari.list
or
wget -nv http://public-repo-1.hortonworks.com/ambari/ubuntu12/1.x/updates/1.7.0/ambari.list -O /etc/apt/sources.list.d/ambari.list
———————————————————————————————–
HDP 2.2 repository file links for UBUNTU 12
wget -nv http://public-repo-1.hortonworks.com/HDP/ubuntu12/2.x/GA/2.2.0.0/hdp.list -O /etc/apt/sources.list.d/HDP.list
—————————————————————————————————————————-
sudo apt-key adv –recv-keys –keyserver hkp://keyserver.ubuntu.com:80 B9733A7A07513CAD
apt-get update
apt-cache pkgnames
apt-get install ambari-server