Offline installation of Cloudera Manager Express

Source: Internet
Author: User

Offline installation of Cloudera Manager Express

--------------------------------

# # #一, Installation Prerequisites # # #

1. IP Address arrangement:

#cat/etc/hosts

222.31.101.11cdh5-nn1

222.31.101.13cdh5-dn1

222.31.101.14cdh5-dn2

222.31.101.16Cdh5-dn3


# # #二, installation steps # # #

1. Turn off the firewall and set the boot to no boot

Service Iptables Stop

Chkconfig iptables off


2. Set SELinux to Disabled

#cat/etc/sysconfig/selinux

Selinux=disabled


3. Set up the cluster password-free login (this installation is not verified if necessary)

1. Set the/etc/ssh/sshd_config to release the

Rsaauthentication Yes

Pubkeyauthentication Yes

Authorizedkeysfile. Ssh/authorized_keys


2. Generate the key

#ssh-keygen-t Rsa-p "

3. Put the public key into the Authorized_keys

#cat id_rsa.pub >> Authorized_keys

4. Modify Authorized_keys Permissions

#chmod ~/.ssh/authorized_keys


4. Download the Cloudera Manager package

wget http://archive-primary.cloudera.com/cm5/repo-as-tarball/5.2.0/cm5.2.0-centos6.tar.gz


5. Download the CDH5 Package

wget http://archive-primary.cloudera.com/cdh/repo-as-tarball/5.2.0/cdh5.2.0-centos6.tar.gz


6. Install and start the HTTPD service

Yum Install httpd

Service httpd Start


7. Prepare the Yum source file

Mkdir-p/var/www/html/cm5/redhat/6/x86_64

TAR-XZVF cm5.2.0-centos6.tar.gz-c/var/www/html/cm5/redhat/6/x86_64

Mkdir-p/var/www/html/cdh/redhat/6/x86_64

TAR-XZVF cdh5.2.0-centos6.tar.gz-c/var/www/html/cdh/redhat/6/x86_64


8. Manually load the redhat ISO file, then mount

Mount/dev/cdrom/media


9. Build a A.repo (ensure this yum source priority download needs to be improved)

#cat A.repo

[Cloudera-manager]

Name = Cloudera Manager, Version 5.2.0

BaseURL = http://222.31.102.11/cm5/redhat/6/x86_64/cm/5/

Gpgcheck = 0


[Cloudera-cdh5]

Name = Cloudera CDH, Version 5

BaseURL = http://222.31.102.11/cdh5/redhat/6/x86_64/cdh/5/

Gpgcheck = 0


#cat Rhel-source.repo

[Rhel-source]

name=red Hat Enterprise Linux $releasever-$basearch-source

baseurl=file:///media/

Enabled=1

Gpgcheck=0


10. Copy the Yum source configuration file to the cluster node hosts. For example:

Scp/etc/yum.repo.d/a.repo cdh5-dn1:/etc/yum.repo.d/

Scp/etc/yum.repo.d/rhel-source.repo cdh5-dn1:/etc/yum.repo.d/


Cat/etc/resolv.conf.

NameServer 127.0.0.1


Cat/etc/dnsmasq.conf #直接写到文件里去

address=/cdh5-nn1.cuc-rz.dev/222.31.102.11


11. Start the installation

./cloudera-manager-installer.bin


# # #三, error condition faq###

1. Q1: Log appears: Flock 4

A1:rm-rf/tmp/.scm_prepare_node.lock

2. Q2: Unable to receive detection signal from agent

Using the instrumentation command:

#host-V-t A ' hostname '


Cloudera the new DNSMASQ service on the manager server

#service DNSMASQ Start

Configuration related files specific reference: ***linux/zuixindnsmasqanzhuangbushuxiangjie_centos6__653221_1381214991.html)


Turn off the Cloudera-scm-agent service on all machines

#service cloudera-scm-agent Stop


Offline installation of Cloudera Manager Express

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.