安装Cloudera manager Server步骤详解

                      安装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 1014632
-rwxr-xr-x 1 root root     521199 Aug 22 22:50 cloudera-manager-installer.bin
-rw-r--r-- 1 root root 1038457027 Aug 22 22:51 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=1      #注意,后面的参数必须要写,目的是为了防止cm去官网下载repo,我们之前的操作依据将repo下载到本地了,这里跳过验证即可
[root@node101 download]#  

2>.点击下一步

3>.点击下一步

4>.点击yes

5>.点击下一步

6>.点击yes

7>.自动安装jdk

 

8>.自动安装Cloudera manager Server端

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

 

10>.点击ok

 

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

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

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

14>.点击继续

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

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

 

 

 

 

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

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

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

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

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

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

  解决方案:

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

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

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

[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  00:00:00     
extras                                                                                                                  | 3.4 kB  00:00:00     
updates                                                                                                                 | 3.4 kB  00:00:00     
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 0:3.4.1-11.el7 will be installed
--> Processing Dependency: python-javapackages = 3.4.1-11.el7 for package: javapackages-tools-3.4.1-11.el7.noarch
--> Running transaction check
---> Package python-javapackages.noarch 0:3.4.1-11.el7 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

===============================================================================================================================================
 Package                                   Arch                         Version                               Repository                  Size
===============================================================================================================================================
Installing:
 javapackages-tools                        noarch                       3.4.1-11.el7                          base                        73 k
Installing for dependencies:
 python-javapackages                       noarch                       3.4.1-11.el7                          base                        31 k

Transaction Summary
===============================================================================================================================================
Install  1 Package (+1 Dependent package)

Total download size: 104 k
Installed size: 221 k
Downloading packages:
(1/2): python-javapackages-3.4.1-11.el7.noarch.rpm                                                                      |  31 kB  00:00:00     
(2/2): javapackages-tools-3.4.1-11.el7.noarch.rpm                                                                       |  73 kB  00:00:00     
-----------------------------------------------------------------------------------------------------------------------------------------------
Total                                                                                                          289 kB/s | 104 kB  00:00:00     
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
Warning: RPMDB altered outside of yum.
** Found 10 pre-existing rpmdb problem(s), 'yum check' output follows:
ant-1.9.2-9.el7.noarch has missing requires of java-devel >= ('0', '1.5.0', None)
ant-1.9.2-9.el7.noarch has missing requires of jpackage-utils
ant-1.9.2-9.el7.noarch has missing requires of jpackage-utils >= ('0', '1.7.5', None)
xalan-j2-2.7.1-23.el7.noarch has missing requires of jpackage-utils
xerces-j2-2.11.0-17.el7_0.noarch has missing requires of jpackage-utils
xerces-j2-2.11.0-17.el7_0.noarch has missing requires of jpackage-utils
xml-commons-apis-1.4.01-16.el7.noarch has missing requires of jpackage-utils
xml-commons-apis-1.4.01-16.el7.noarch has missing requires of jpackage-utils
xml-commons-resolver-1.2-15.el7.noarch has missing requires of jpackage-utils
xml-commons-resolver-1.2-15.el7.noarch has missing requires of jpackage-utils
  Installing : python-javapackages-3.4.1-11.el7.noarch                                                                                     1/2 
  Installing : javapackages-tools-3.4.1-11.el7.noarch                                                                                      2/2 
  Verifying  : python-javapackages-3.4.1-11.el7.noarch                                                                                     1/2 
  Verifying  : javapackages-tools-3.4.1-11.el7.noarch                                                                                      2/2 

Installed:
  javapackages-tools.noarch 0:3.4.1-11.el7                                                                                                     

Dependency Installed:
  python-javapackages.noarch 0:3.4.1-11.el7                                                                                                    

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

 

posted @ 2018-10-01 17:30  尹正杰  阅读(3202)  评论(0编辑  收藏  举报