- requirements
- OS
- ubuntu 14.04
- centos 7.2
- ubuntu 14.04
- software
- ubuntu
- apt
- centos
- yum, rpm
- common
- scp, curl, unzip, tar, wget, openSSL (v1.01, build 16 or later), python v2.6
- ubuntu
- Oracle JDK 1.8 64-bit (minimum JDK 1.8_60)
- OS
- ulimit -Sn / ulimit -Hn
- root
- ulimit -n 65535
- non-root user
- vim /etc/security/limits.conf
- <user name> soft nofile 65535
- <user name> hard nofile 65535
- root
- FQDN
- /etc/hosts
- hostname command
- centos
- vim /etc/sysconfig/network
- NETWORKING=yes
- HOSTNAME=test.com
- ubuntu
- /etc/hostname
- SSH
- ssh-keygen
- Copy the SSH Public Key (id_rsa.pub) to the root account on your target hosts
- all node
- cat id_rsa.pub >> ~/.ssh/authorized_keys
- option
- vim /etc/ssh/sshd_config
- PermitRootLogin yes
- centos
- systemctl restart sshd.service
- ubuntu
- service ssh restart
- NTP
- ubuntu
- apt-get -y install ntp
- centos
- yum -y install ntp
- systemctl enable ntpd.service
- systemctl start ntpd.service
- ubuntu
- SELinux
- vim /etc/selinux/config
- if it is abled
- set SELINUX=disabled
- command: setenforce 0
- shutdown -r now
- umask
- umask
- 0022
- if it is not 0022
- vim /etc/profile
- umask 022
- umask
- THP
- temparary
- echo never > /sys/kernel/mm/transparent_hugepage/defrag
- echo never > /sys/kernel/mm/transparent_hugepage/enabled
- permanent
- append the following lines below into of /etc/rc.local
- temparary
- permission (option)
- ambari
- /bin/hostname
- /usr/bin/sudo
- namenode
- /usr/bin/which
- /bin/ps
- /bin/df
- ambari metrics
- /usr/bin/gcc
- /usr/bin/ld
- /etc/centos-release
- yarn, MR2
- /tmp (check)
- /etc/fstab (default)
- /proc/mounts (current)
- mount -o remount,exec /tmp
- /usr/bin/curl
- /tmp (check)
- knox
- /bin/netstat
- spark
- /bin/ln
- /bin/chmod
- all
- centos
- chmod 755 /bin/hostname /usr/bin/which /bin/ps /bin/df /usr/bin/gcc /usr/bin/ld /etc/centos-release /usr/bin/curl /bin/netstat /bin/ln /bin/chmod
- chmod 4755 /usr/bin/sudo
- chmod 755 /bin/hostname /usr/bin/which /bin/ps /bin/df /usr/bin/gcc /usr/bin/ld /etc/centos-release /usr/bin/curl /bin/netstat /bin/ln /bin/chmod
- ubuntu
- chmod 755 /bin/hostname /usr/bin/which /bin/ps /bin/df /usr/bin/gcc /usr/bin/ld /etc/os-release /usr/bin/curl /bin/netstat /bin/ln /bin/chmod
- chmod 4755 /usr/bin/sudo
- chmod 755 /bin/hostname /usr/bin/which /bin/ps /bin/df /usr/bin/gcc /usr/bin/ld /etc/os-release /usr/bin/curl /bin/netstat /bin/ln /bin/chmod
- centos
- ambari
- http://mungeol-heo.blogspot.kr/2016/12/ambari-2211-installation.html
- http://<your.ambari.server>:8080 -> admin / admin -> launch install wiizard -> cluster name -> install options -> confirm hosts -> choose services -> assgin masters -> assign slaves and clients -> customize services -> review -> install, start and test -> summary
Friday, December 30, 2016
HDP 2.4 Installation
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment
Note: Only a member of this blog may post a comment.