安装Cloudera manager Server步骤详解

时间:2021-02-08 12:56:52

                      安装Cloudera manager Server步骤详解

                                        作者:尹正杰

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

  本篇博客主要是针对:https://www.cnblogs.com/yinzhengjie/p/9734108.html 笔记中关于Cloudera manager Server端的安装步骤详解。在安装过程中遇到了几个问题,以及解决这些问题的详细步骤都有记录。

一.正确的安装方式

1>.运行安装包

[root@node101 download]# pwd
/yinzhengjie/download
[root@node101 download]#
[root@node101 download]# ll
total
-rwxr-xr-x root root Aug : cloudera-manager-installer.bin
-rw-r--r-- root root Aug : cm5.15.1-centos7.tar.gz
[root@node101 download]#
[root@node101 download]# chmod +x cloudera-manager-installer.bin
[root@node101 download]#
[root@node101 download]# ./cloudera-manager-installer.bin --skip_repo_package=      #注意,后面的参数必须要写,目的是为了防止cm去官网下载repo,我们之前的操作依据将repo下载到本地了,这里跳过验证即可
[root@node101 download]#

2>.点击下一步

安装Cloudera manager Server步骤详解

3>.点击下一步

安装Cloudera manager Server步骤详解

4>.点击yes

安装Cloudera manager Server步骤详解

5>.点击下一步

安装Cloudera manager Server步骤详解

6>.点击yes

安装Cloudera manager Server步骤详解

7>.自动安装jdk

安装Cloudera manager Server步骤详解

8>.自动安装Cloudera manager Server端

安装Cloudera manager Server步骤详解

9>.按到下面的提示说你安装成功啦,点击ok

安装Cloudera manager Server步骤详解

10>.点击ok

安装Cloudera manager Server步骤详解

11>.登录webUI界面查看是否可以登录安装界面

安装Cloudera manager Server步骤详解

12>.选中同意条款并点击继续

安装Cloudera manager Server步骤详解

13>.选中免费的安装版本(这个版本已经很符合我们一般的企业应用啦)

安装Cloudera manager Server步骤详解

14>.点击继续

安装Cloudera manager Server步骤详解

15>.如果进入到下面的界面后,我们需要下载parcels安装包,到此也说明你的Cloudera manager Server端已经安装完毕

安装Cloudera manager Server步骤详解

   温馨提示:安装Cloudera manager Server成功之后,会在服务器端生成一个目录,如下图

安装Cloudera manager Server步骤详解

二.解决安装中遇到的问题-

1>.安装出错时查看日志信息:tail -f /var/log/cloudera-manager-installer/1.install-oracle-j2sdk1.7.log

安装Cloudera manager Server步骤详解

  解决步骤一:查看报错信息,说是让我们查看repo仓库

安装Cloudera manager Server步骤详解

  解决步骤二:查看信息如下

安装Cloudera manager Server步骤详解

  解决步骤三:解决上述错误就是将“yinzhengjie-cm”启用

安装Cloudera manager Server步骤详解

2>.解决上面的错后,竟然还抛出异常如下

安装Cloudera manager Server步骤详解

  解决方案:

安装Cloudera manager Server步骤详解

3>.安装Cloudera manager Server端时又报错啦

安装Cloudera manager Server步骤详解

  解决步骤一:查看报错信息如下图(tail -f /var/log/cloudera-manager-installer/4.install-cloudera-manager-server-db-2.log)

安装Cloudera manager Server步骤详解

  解决步骤二:安装依赖插件

[root@node101 download]# yum -y install jpackage-utils
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
No package jpackage-utils available.
Error: Nothing to do
[root@node101 download]#
[root@node101 download]# yum -y install jpackage-utils
Loaded plugins: fastestmirror
base | 3.6 kB ::
extras | 3.4 kB ::
updates | 3.4 kB ::
Loading mirror speeds from cached hostfile
* base: mirrors.tuna.tsinghua.edu.cn
* extras: mirrors.neusoft.edu.cn
* updates: mirrors.tuna.tsinghua.edu.cn
Resolving Dependencies
--> Running transaction check
---> Package javapackages-tools.noarch :3.4.-.el7 will be installed
--> Processing Dependency: python-javapackages = 3.4.-.el7 for package: javapackages-tools-3.4.-.el7.noarch
--> Running transaction check
---> Package python-javapackages.noarch :3.4.-.el7 will be installed
--> Finished Dependency Resolution Dependencies Resolved ===============================================================================================================================================
Package Arch Version Repository Size
===============================================================================================================================================
Installing:
javapackages-tools noarch 3.4.-.el7 base k
Installing for dependencies:
python-javapackages noarch 3.4.-.el7 base k Transaction Summary
===============================================================================================================================================
Install Package (+ Dependent package) Total download size: k
Installed size: k
Downloading packages:
(/): python-javapackages-3.4.-.el7.noarch.rpm | kB ::
(/): javapackages-tools-3.4.-.el7.noarch.rpm | kB ::
-----------------------------------------------------------------------------------------------------------------------------------------------
Total kB/s | kB ::
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
Warning: RPMDB altered outside of yum.
** Found pre-existing rpmdb problem(s), 'yum check' output follows:
ant-1.9.-.el7.noarch has missing requires of java-devel >= ('', '1.5.0', None)
ant-1.9.-.el7.noarch has missing requires of jpackage-utils
ant-1.9.-.el7.noarch has missing requires of jpackage-utils >= ('', '1.7.5', None)
xalan-j2-2.7.-.el7.noarch has missing requires of jpackage-utils
xerces-j2-2.11.-.el7_0.noarch has missing requires of jpackage-utils
xerces-j2-2.11.-.el7_0.noarch has missing requires of jpackage-utils
xml-commons-apis-1.4.-.el7.noarch has missing requires of jpackage-utils
xml-commons-apis-1.4.-.el7.noarch has missing requires of jpackage-utils
xml-commons-resolver-1.2-.el7.noarch has missing requires of jpackage-utils
xml-commons-resolver-1.2-.el7.noarch has missing requires of jpackage-utils
Installing : python-javapackages-3.4.-.el7.noarch /
Installing : javapackages-tools-3.4.-.el7.noarch /
Verifying : python-javapackages-3.4.-.el7.noarch /
Verifying : javapackages-tools-3.4.-.el7.noarch / Installed:
javapackages-tools.noarch :3.4.-.el7 Dependency Installed:
python-javapackages.noarch :3.4.-.el7 Complete!
[root@node101 download]#

安装jpackage-utils依赖插件([root@node101 download]# yum -y install jpackage-utils)