Hadoop生态圈-离线方式部署Cloudera Manager5.15.1

                                        作者:尹正杰

版权声明:原创作品,谢绝转载!否则将追究法律责任。

 

 

  到目前位置,Cloudera Manager和CDH最新版本是cdh5.15.1版本,发布日期是2018-8-17,我们可以在本篇博客的截图中可以看到具体信息,我们以当前的最新版本为例,如果你想要安装其他版本,就参考我这个最新版本的流程来安装即可!帮大家踩了不少的坑,我要特别声明一点,本篇博客部署的环境采用的是CentOS7.2.x发行版本。如果你是CentOs6.x版本的话别切记别下载错CDH的版本哟!包括该下载哪个版本我都有详细的介绍~

 

一.下载CDH和CM

1>.CDH的选择

  下载地址:http://archive.cloudera.com/cdh5/parcels/5.15.1/

Hadoop生态圈-离线方式部署Cloudera Manager5.15.1

2>.CM的选择

  下载地址:http://archive.cloudera.com/cm5/cm/5/

Hadoop生态圈-离线方式部署Cloudera Manager5.15.1

 

 二.Cloudera Manager 安装(CM安装)

1>.系统环境准备

  1.1>.查看当前操作系统环境以及主机映射关系

[root@node101 ~]# cat /etc/redhat-release 
CentOS Linux release 7.2.1511 (Core) 
[root@node101 ~]# 
[root@node101 ~]# 
[root@node101 ~]# uname -r
3.10.0-327.el7.x86_64
[root@node101 ~]# 
[root@node101 ~]# uname -m
x86_64
[root@node101 ~]# 
[root@node1 ~]# free -m
              total        used        free      shared  buff/cache   available
Mem:           7808         132        7526           8         149        7497
Swap:          2047           0        2047
[root@node1 ~]# 
[root@node101 ~]# hostname -i
172.30.1.101
[root@node101 ~]# 
[root@node101 ~]# cat /etc/hosts | grep yinzhengjie
172.30.1.101 node101.yinzhengjie.org.cn
172.30.1.102 node102.yinzhengjie.org.cn
172.30.1.103 node103.yinzhengjie.org.cn
[root@node101 ~]# 
[root@node101 ~]#

  1.2>.SSH免秘钥登陆(由于你还不确定NameNode具体部署哪一台服务器,因此我们最保险的做法就是各个机器之间两两都配置免秘钥登录,下面我只给出node101.yinzhengjie.org.cn的配置方法!)

[root@node1 ~]# ssh-keygen -t rsa -P '' -f ~/.ssh/id_rsa
Generating public/private rsa key pair.
Your identification has been saved in /root/.ssh/id_rsa.
Your public key has been saved in /root/.ssh/id_rsa.pub.
The key fingerprint is:
72:e4:2c:c2:6a:b7:fb:25:10:22:eb:d8:4d:92:aa:62 root@node1.yinzhengjie.org.cn
The key's randomart image is:
+--[ RSA 2048]----+
|                 |
|                 |
|. . .   .        |
| o + . +         |
|. o = o S        |
|oo = o +         |
|o.+ o . .        |
|oE . . o         |
|+   oo.          |
+-----------------+
[root@node1 ~]# 
[root@node1 ~]# ssh-copy-id root@node101.yinzhengjie.org.cn
The authenticity of host 'node101.yinzhengjie.org.cn (172.30.1.101)' can't be established.
ECDSA key fingerprint is b6:44:e8:e7:76:d4:c2:4c:e0:02:7e:9c:d8:59:d8:13.
Are you sure you want to continue connecting (yes/no)? yes
/usr/bin/ssh-copy-id: INFO: attempting to log in with the new key(s), to filter out any that are already installed
/usr/bin/ssh-copy-id: INFO: 1 key(s) remain to be installed -- if you are prompted now it is to install the new keys
root@node101.yinzhengjie.org.cn's password: 

Number of key(s) added: 1

Now try logging into the machine, with:   "ssh 'root@node101.yinzhengjie.org.cn'"
and check to make sure that only the key(s) you wanted were added.

[root@node1 ~]# 
[root@node1 ~]# ssh node101.yinzhengjie.org.cn
Last login: Wed Sep 12 15:35:31 2018 from node1.yinzhengjie.org.cn
[root@node1 ~]# who
root     pts/0        2018-09-12 15:01 (172.30.1.1)
root     pts/1        2018-09-12 16:05 (node101.yinzhengjie.org.cn)
[root@node1 ~]# 
[root@node1 ~]# exit 
logout
Connection to node101.yinzhengjie.org.cn closed.
[root@node1 ~]# 
生成秘钥并配置与本机的免秘钥登录([root@node101 ~]# ssh-keygen -t rsa -P '' -f ~/.ssh/id_rsa)

相关文章:

  • 2022-02-07
  • 2022-01-06
  • 2021-10-17
  • 2022-02-21
  • 2021-08-31
  • 2021-07-26
  • 2021-09-22
  • 2021-09-04
猜你喜欢
  • 2021-09-28
  • 2022-03-04
  • 2021-06-10
  • 2021-11-18
  • 2021-05-17
  • 2021-09-11
  • 2021-11-18
相关资源
相似解决方案