标签:eve cat window inf min daemon div www mat
Envireronment:
VMware® Workstation 12 Pro 12.0.1 build-3160714(Host: Windows 7 Ultimate)
Centos 6.5 x64
Cloudera 5.8.2
Resource:
规划
角色 | 数量 | 内存 | CPU |
namenode | 1 | 20GB | 1*1 core |
datanode | 3 | 2GB | 1*1 core |
Envireronment setup:
vi /etc/sysconfig/network
vi /etc/sysconfig/network-scripts/ifcfg-eth0
IPADDR=192.168.254.151~154 GATEWAY=192.168.254.2 DNS1=192.168.254.2
service iptables stop chkconfig iptables off
vi /etc/selinux/config
shutdown -r now
hostname
ifconfig
getenforce
service iptables status
ping cn.pool.ntp.org
vi /etc/hosts
192.168.254.151 nn 192.168.254.152 n1 192.168.254.153 n2 192.168.254.154 n3
ping n1
ping n2
ping n3
ntpstat
service ntpd start
chkconfig ntpd on
watch ntpq -p
ssh-keygen -t rsa cat ~/.ssh/id_rsa.pub >> ~/.ssh/authorized_keys chmod 600 ~/.ssh/authorized_keys scp ~/.ssh/authorized_keys root@n1:~/.ssh/ scp ~/.ssh/authorized_keys root@n2:~/.ssh/ scp ~/.ssh/authorized_keys root@n3:~/.ssh/
Install CM:
cloudera-manager-agent-5.8.2-1.cm582.p0.17.el6.x86_64.rpm cloudera-manager-daemons-5.8.2-1.cm582.p0.17.el6.x86_64.rpm cloudera-manager-server-5.8.2-1.cm582.p0.17.el6.x86_64.rpm cloudera-manager-server-db-2-5.8.2-1.cm582.p0.17.el6.x86_64.rpm enterprise-debuginfo-5.8.2-1.cm582.p0.17.el6.x86_64.rpm jdk-6u31-linux-amd64.rpm oracle-j2sdk1.7-1.7.0+update67-1.x86_64.rpm cloudera-manager-installer.bin
yum localinstall --nogpgcheck *.rpm
cloudera-manager-agent-5.8.2-1.cm582.p0.17.el6.x86_64.rpm cloudera-manager-daemons-5.8.2-1.cm582.p0.17.el6.x86_64.rpm
jdk-6u31-linux-amd64.rpm
oracle-j2sdk1.7-1.7.0+update67-1.x86_64.rpm
yum localinstall --nogpgcheck *.rpm
vi /etc/cloudera-scm-agent/config.ini
server_host=nn
mkdir /tmp/parcel cp /home/admin/Downloads/CDH-5.5.2-1.cdh5.5.2.p0.4-el7.parcel /tmp/parcel/ cp /home/admin/Downloads/ manifest.json /tmp/parcel/
python -m SimpleHTTPServer 8900
echo never > /sys/kernel/mm/transparent_hugepage/defrag echo 0 > /proc/sys/vm/swappiness
Cloudera 5.8.2 Installation guide
标签:eve cat window inf min daemon div www mat
原文地址:http://www.cnblogs.com/shoushi/p/6000181.html