# Generate root key
ssh-keygen -t rsa
#copy key
ssh-copy-id root@bi
# should be installed
yum -y install expect mksh.x86_64 libaio compat-libstdc++-33 pam.i686 ksh rpm-build ntp
chkconfig ntpd on
ntpdate 0.asia.pool.ntp.org
echo "0.000" > /var/lib/ntp/drift
service ntpd start
# should be password less
chkconfig iptables off
service iptables stop
chkconfig ip6tables off
service ip6tables stop
iptables -F
#disable selinux
vi /etc/sysconfig/selinux
setenforce 0
# see the text
/etc/security/limits.conf
# disable ipv6
echo "net.ipv6.conf.all.disable_ipv6 = 1
net.ipv6.conf.default.disable_ipv6 = 1
net.ipv6.conf.lo.disable_ipv6 = 1" >> /etc/sysctl.conf
echo "kernel.pid_max = 4194303
net.ipv4.ip_local_port_range = 1024 64000
" >> /etc/sysctl.conf
sysctl -p
# Precheck
biginsights-3.0.0.2-enterprise/installer/hdm/bin
./bi-prechecker.sh -u root -m ENTERPRISE
# bi-prechecker.sh -u root -m ENTERPRISE -t 0.asia.pool.ntp.org -f ../../../nodes-install
# silent-install/silent-install.sh fullinstall.xml
# Do the install
silent-install/silent-install.sh fullinstall.xml
# vi /etc/security/limits.conf
root hard nofile 65536
root soft nofile 65536
root hard nproc 65536
root soft nproc 65536
biadmin hard nofile 65536
biadmin soft nofile 65536
biadmin hard nproc 65536
biadmin soft nproc 65536
* hard nofile 43690
* soft nofile 43690
* hard nproc 43690
* soft nproc 43690
@biadmin hard nofile 65536
@biadmin soft nofile 65536
@biadmin hard nproc 65536
@biadmin soft nproc 65536
Issues:
* The host should not be localhost 127.0.0.1
* The host should be written in /etc/hosts
[[KB:Hadoop]]