Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Installation tutorial for cm5.4 and cdh5.4

2025-04-11 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/01 Report--

This article mainly explains the "installation tutorial of cm5.4 and cdh5.4". The content of the article is simple and clear, and it is easy to learn and understand. Please follow the editor's train of thought to study and study the installation tutorial of cm5.4 and cdh5.4.

The example in this article uses a stand-alone installation

Operating system: centos6.5

Memory: 4G

Install Chinese support package (optional)

Yum groupinstall "Chinese Support"

Modify vim / etc/sysconfig/i18n

Yum groupinstall "Chinese Support" modifies vim / etc/sysconfig/i18nLANG= "en_US.UTF-8" to LANG= "zh_CN.UTF-8"

Update centos system time (optional)

Cp / usr/share/zoneinfo/Asia/Shanghai / etc/localtimentpdate us.pool.ntp.org

1. Turn off the firewall and SELinux

1.1 turn off the firewall:

Service iptables stop (temporary shutdown)

Chkconfig iptables off (takes effect after restart)

Firewall:

Systemctl start firewalld.service# starts firewall

Systemctl stop firewalld.service# stop firewall

Systemctl disable firewalld.service# forbids firewall from booting

1.2 close SELINUX:

Modify the vim / etc/selinux/config

SELINUX=disabled (takes effect permanently after restart)

2. Modify the host name

2.1 modify the vim / etc/sysconfig/network file

NETWORKING=yes

HOSTNAME=cdh2

2.2 modify the vim / etc/hosts file

192.168.17.108 cdh2.localdomain

3. Install cm

Visit http://archive.cloudera.com/cm5/redhat/6/x86_64/cm/5.4.7/RPMS/x86_64/ to download

Cloudera-manager-agent-5.4.7-1.cm547.p0.10.el6.x86_64.rpm

Cloudera-manager-daemons-5.4.7-1.cm547.p0.10.el6.x86_64.rpm

Cloudera-manager-server-5.4.7-1.cm547.p0.10.el6.x86_64.rpm

Cloudera-manager-server-db-2-5.4.7-1.cm547.p0.10.el6.x86_64.rpm

Enterprise-debuginfo-5.4.7-1.cm547.p0.10.el6.x86_64.rpm

Oracle-j2sdk1.7-1.7.0+update67-1.x86_64.rpm

First install the relevant rpm packages of cm locally. If these rpm packages are not installed, the next step is to download and install cloudera-manager-installer.bin automatically when you run it.

Yum localinstall-- nogpgcheck * .rpm

After installation is complete, configure the jdk path

Vi / etc/profile

Append the following to the file:

Export JAVA_HOME=/usr/java/jdk1.7.0_67-cloudera

Export PATH=$PATH:$JAVA_HOME/bin

Make the changes effective

Source / etc/profile / / make the changes take effect immediately

3.2Local sources of cdh

Visit http://archive-primary.cloudera.com/cdh6/parcels/5.4.7.3/ and download files

CDH-5.4.7-1.cdh6.4.7.p0.3-el6.parcel / / centos6 download el6 file, centos5 download el5 file

CDH-5.4.7-1.cdh6.4.7.p0.3-el6.parcel.sha1

Manifest.json

Download it back, change the file name of CDH-5.4.7-1.cdh6.4.7.p0.3-el6.parcel.sha1 to CDH-5.4.7-1.cdh6.4.7.p0.3-el6.parcel.sha, and remove the following 1.

Put these three files in / opt/cloudera/parcel-repo, which is the default local source path for cm

Download cloudera-manager-installer.bin from http://archive-primary.cloudera.com/cm5/installer/5.4.7.10/

Install cloudera-manager-installer.bin

Chmod 0777 cloudera-manager-installer.bin

. / cloudera-manager-installer.bin

4. Install cdh6.4.7

The browser accesses http://localhost:7180/. If you cannot access it, you need to wait for a while for cloudera-scm-server to start.

If jdk is not installed, you need to check the check box

Select a custom service. Only HBase is installed here.

Installation is complete, go to the home page

Thank you for reading, the above is the content of the installation tutorial of cm5.4 and cdh5.4, after the study of this article, I believe you have a deeper understanding of the installation tutorial of cm5.4 and cdh5.4, and the specific use needs to be verified in practice. Here is, the editor will push for you more related knowledge points of the article, welcome to follow!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report