I. Preparations
Common preparation Configuration
1. NTP server
Ntpdate time-server-IP # write time to bioshwclock -- systohc
2. Disable iptables and SELinux.
3. Configure the hosts file (add Manager server records and add all Server Load balancer server records)
Prepare the Server Load balancer instance
1. Configure the yum file on the slaver server (add the source of CM and CDH, and add the source of the RHEL disc)
Vim/etc/yum. repos. d/cloudera-cdh5-local.repo # content as follows [cloudera-cdh5] # packages for cloudera's distribution for hadoop, version 5, on Redhat or centos 6 x86_64name = cloudera's distribution for hadoop, version 5 baseurl = http: // cdh_manager.ctbj/cdh5/gpgcheck = 0 enabled = 1 [cloudera-manager] Name = cloudera manager, version 5.1.1baseurl = http: // cdh_manager.ctbj/CM/gpgcheck = 0 enabled = 1
(The source of the added Cd will not be described in detail)
Manager machine preparation
1. Install and create an HTTP service for the local Repo
Yum install httpdservice httpd startchkconfig httpd on # copy the local source of CM, CDH, and RedHat to/var/www/htmlunzip-D/var/www/html cm.zip ......
2. http://bananalighter.blog.51cto.com/6386339/1546624
Ii. Use cm to install CDH
Log on to http: // ip: 7180
Add hosts as prompted (select local repo ).
Reference: http://debugo.com/cm5-install/
Use CDH Manager (and local source) to automatically install CDH 5