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

             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/

2>.CM的选择

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

 

 二.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)
[root@node1 ~]# ssh-copy-id root@node102.yinzhengjie.org.cn
The authenticity of host 'node102.yinzhengjie.org.cn (172.30.1.102)' 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@node102.yinzhengjie.org.cn's password: 

Number of key(s) added: 1

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

[root@node1 ~]# 
[root@node1 ~]# ssh node102.yinzhengjie.org.cn
Last login: Wed Sep 12 15:36:40 2018 from gitlab.yinzhengjie.org.cn
[root@node2 ~]# who
root     pts/0        2018-09-12 15:02 (172.30.1.1)
root     pts/1        2018-09-12 16:06 (gitlab.yinzhengjie.org.cn)
[root@node2 ~]# exit 
logout
Connection to node102.yinzhengjie.org.cn closed.
[root@node1 ~]# 
[root@node1 ~]# who
root     pts/0        2018-09-12 15:01 (172.30.1.1)
[root@node1 ~]# 
配置node101.yinzhengjie.org.cn和node2.yinzhengjie.org.cn免密要登录([root@node101 ~]# ssh-copy-id root@node102.yinzhengjie.org.cn)
[root@node1 ~]# ssh-copy-id root@node103.yinzhengjie.org.cn
The authenticity of host 'node103.yinzhengjie.org.cn (172.30.1.103)' 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@node103.yinzhengjie.org.cn's password: 

Number of key(s) added: 1

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

[root@node1 ~]# 
[root@node1 ~]# ssh node103.yinzhengjie.org.cn
Last login: Wed Sep 12 15:02:18 2018 from 172.30.1.1
[root@node3 ~]# who
root     tty1         2018-09-12 15:00
root     pts/0        2018-09-12 15:02 (172.30.1.1)
root     pts/1        2018-09-12 16:08 (s101)
[root@node3 ~]# exit 
logout
Connection to node103.yinzhengjie.org.cn closed.
[root@node1 ~]# 
[root@node1 ~]# who
root     pts/0        2018-09-12 15:01 (172.30.1.1)
[root@node1 ~]# 
配置node101.yinzhengjie.org.cn和node3.yinzhengjie.org.cn免密要登录([root@node101 ~]# ssh-copy-id root@node103.yinzhengjie.org.cn)

  1.3>.防火墙配关闭和SELINUX关闭(记住,三台机器都需要关闭防火墙和selinux哟,我下面只是贴出了我对node101.yinzhengjie.org.cn的操作)

[root@node101 ~]# systemctl stop firewalld
[root@node101 ~]# systemctl disable firewalld
Removed symlink /etc/systemd/system/multi-user.target.wants/firewalld.service.
Removed symlink /etc/systemd/system/dbus-org.fedoraproject.FirewallD1.service.
[root@node101 ~]# 
[root@node101 ~]# sed -i 's#SELINUX=enforcing#SELINUX=disabled#' /etc/selinux/config 
[root@node101 ~]# 
[root@node101 ~]# cat /etc/selinux/config | grep SELINUX= | grep -v ^#
SELINUX=disabled
[root@node101 ~]# 
[root@node101 ~]# getenforce 
Disabled
[root@node101 ~]# 
[root@node101 ~]# 

  1.4>.安装JDK配置环境变量(这步骤需要在每台服务器执行,否则在安装服务时会找不到JDK环境!)

[root@node101 ~]# tail -3 /etc/profile
#ADD JAVA_PATH
JAVA_HOME=/soft/jdk
PATH=$PATH:$JAVA_HOME/bin
[root@node101 ~]# 
[root@node101 ~]# java -version
java version "1.8.0_181"
Java(TM) SE Runtime Environment (build 1.8.0_181-b13)
Java HotSpot(TM) 64-Bit Server VM (build 25.181-b13, mixed mode)
[root@node101 ~]# 
[root@node101 ~]# mkdir /usr/java && cd /usr/java
[root@node101 java]# 
[root@node101 java]# ln -s /soft/jdk1.8.0_181/ /usr/java/jdk1.8              #这个不住带啊千万别忘记做啦!因为如果不做的话在初始化数据库的时候尽管你在mysql进行授权操作了,但是如果你配置它依旧报错!安装zookeeper等服务时还会报错不断!
[root@node101 java]# ln -s /soft/jdk1.8.0_181/ /usr/java/default
[root@node101 java]# 
[root@node101 java]# ll
total 0
lrwxrwxrwx 1 root root 19 Sep 12 15:53 default -> /soft/jdk1.8.0_181/
lrwxrwxrwx 1 root root 19 Sep 12 15:53 jdk1.8 -> /soft/jdk1.8.0_181/
[root@node101 java]# 
[root@node101 java]# 

  报错截图如下:

  1.5>.编写集群管理脚本

[root@node1 ~]# vi /usr/bin/xcall.sh
[root@node1 ~]# 
[root@node1 ~]# chmod +x /usr/bin/xcall.sh                 #千万别忘记添加执行权限哟
[root@node1 ~]# 
[root@node1 ~]# more `which xcall.sh`                                 #查看脚本内容
#!/bin/bash
#@author :yinzhengjie
#blog:http://www.cnblogs.com/yinzhengjie
#EMAIL:y1053419035@qq.com


#判断用户是否传参
if [ $# -lt 1 ];then
        echo "请输入参数"
        exit
fi

#获取用户输入的命令
cmd=$@

for (( i=101;i<=103;i++ ))
do
        #使终端变绿色 
        tput setaf 2
        echo ============= node${i}.yinzhengjie.org.cn : $cmd ============
        #使终端变回原来的颜色,即白灰色
        tput setaf 7
        #远程执行命令
        ssh node${i}.yinzhengjie.org.cn  $cmd
        #判断命令是否执行成功
        if [ $? == 0 ];then
                echo "命令执行成功"
        fi
done
[root@node1 ~]# 
[root@node1 ~]# xcall.sh ls -d /home/yinzhengjie/                                    #我们这里测试使用一下我们的脚本
============= node101.yinzhengjie.org.cn : ls -d /home/yinzhengjie/ ============
/home/yinzhengjie/
命令执行成功
============= node102.yinzhengjie.org.cn : ls -d /home/yinzhengjie/ ============
/home/yinzhengjie/
命令执行成功
============= node103.yinzhengjie.org.cn : ls -d /home/yinzhengjie/ ============
/home/yinzhengjie/
命令执行成功
[root@node1 ~]# 
批量执行服务的命令的脚本([root@node101 ~]# more `which xcall.sh` )
[root@node1 ~]# xcall.sh "yum -y install rsync"                            #我的集群已经安装好了rsync服务,这里已经配置好了。
============= node101.yinzhengjie.org.cn : yum -y install rsync ============
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
 * base: mirrors.huaweicloud.com
 * extras: mirrors.huaweicloud.com
 * updates: mirrors.cn99.com
Package rsync-3.1.2-4.el7.x86_64 already installed and latest version
Nothing to do
命令执行成功
============= node102.yinzhengjie.org.cn : yum -y install rsync ============
Loaded plugins: fastestmirror
Determining fastest mirrors
 * base: mirrors.huaweicloud.com
 * extras: mirrors.huaweicloud.com
 * updates: mirrors.163.com
Package rsync-3.1.2-4.el7.x86_64 already installed and latest version
Nothing to do
命令执行成功
============= node103.yinzhengjie.org.cn : yum -y install rsync ============
Loaded plugins: fastestmirror
Determining fastest mirrors
 * base: mirrors.huaweicloud.com
 * extras: mirrors.huaweicloud.com
 * updates: mirrors.aliyun.com
Package rsync-3.1.2-4.el7.x86_64 already installed and latest version
Nothing to do
命令执行成功
[root@node1 ~]# 
使用我们上面自定义脚本批量安装rsync服务([root@node1 ~]# xcall.sh "yum -y install rsync" )
[root@node1 ~]# vi /usr/bin/xrsync.sh
[root@node1 ~]# 
[root@node1 ~]# chmod +x /usr/bin/xrsync.sh 
[root@node1 ~]# 
[root@node1 ~]# more `which xrsync.sh`
#!/bin/bash
#@author :yinzhengjie
#blog:http://www.cnblogs.com/yinzhengjie
#EMAIL:y1053419035@qq.com

#判断用户是否传参
if [ $# -lt 1 ];then
    echo "请输入参数";
    exit
fi


#获取文件路径
file=$@

#获取子路径
filename=`basename $file`

#获取父路径
dirpath=`dirname $file`

#获取完整路径
cd $dirpath
fullpath=`pwd -P`

#同步文件到DataNode
for (( i=102;i<=103;i++ ))
do
    #使终端变绿色 
    tput setaf 2
    echo =========== node${i}.yinzhengjie.org.cn : $file ===========
    #使终端变回原来的颜色,即白灰色
    tput setaf 7
    #远程执行命令
    rsync -lr $filename `whoami`@node${i}.yinzhengjie.org.cn:$fullpath
    #判断命令是否执行成功
    if [ $? == 0 ];then
        echo "命令执行成功"
    fi
done
[root@node1 ~]# 
批量同步文件的脚本([root@node101~]# vi /usr/bin/xrsync.sh)
[root@node1 ~]# xcall.sh cat /etc/hosts | grep yinzhengjie                #同步数据之前的数据
============= node101.yinzhengjie.org.cn : cat /etc/hosts ============
172.30.1.101 node101.yinzhengjie.org.cn
172.30.1.102 node102.yinzhengjie.org.cn
172.30.1.103 node103.yinzhengjie.org.cn
============= node102.yinzhengjie.org.cn : cat /etc/hosts ============
172.30.1.101 gitlab.yinzhengjie.org.cn
172.30.1.102 jenkins.yinzhengjie.org.cn
============= node103.yinzhengjie.org.cn : cat /etc/hosts ============
[root@node1 ~]# 
[root@node1 ~]# xrsync.sh /etc/hosts                                    #使用咱们自定义脚本同步文件
=========== node102.yinzhengjie.org.cn : %file ===========
命令执行成功
=========== node103.yinzhengjie.org.cn : %file ===========
命令执行成功
[root@node1 ~]# 
[root@node1 ~]# 
[root@node1 ~]# xcall.sh cat /etc/hosts | grep yinzhengjie                #同步之后的数据
============= node101.yinzhengjie.org.cn : cat /etc/hosts ============
172.30.1.101 node101.yinzhengjie.org.cn
172.30.1.102 node102.yinzhengjie.org.cn
172.30.1.103 node103.yinzhengjie.org.cn
============= node102.yinzhengjie.org.cn : cat /etc/hosts ============
172.30.1.101 node101.yinzhengjie.org.cn
172.30.1.102 node102.yinzhengjie.org.cn
172.30.1.103 node103.yinzhengjie.org.cn
============= node103.yinzhengjie.org.cn : cat /etc/hosts ============
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@node1 ~]# 
使用xrsync.sh同步数据([root@node101 ~]# xrsync.sh /etc/hosts)

  1.6>.安装NTP服务

    该配置可参考:https://www.cnblogs.com/yinzhengjie/p/9480665.html

  1.7>.安装配置mysql(关于MySQL的yum源以及rpm安装包我已经下载好了,存放在百度云链接:https://pan.baidu.com/s/1wZS2f-ZiJv0VcpUBZ2hcZQ 密码:yzl7)

[root@node101 yinzhengjie]# unzip hive-MySQL的rpm包.zip 
Archive:  hive-MySQL的rpm包.zip
   creating: hive-MySQL的rpm包/
   creating: hive-MySQL的rpm包/mysql/
  inflating: hive-MySQL的rpm包/mysql/mysql-community-client-5.6.38-2.el7.x86_64(1).rpm  
  inflating: hive-MySQL的rpm包/mysql/mysql-community-client-5.6.38-2.el7.x86_64.rpm  
  inflating: hive-MySQL的rpm包/mysql/mysql-community-common-5.6.38-2.el7.x86_64(1).rpm  
  inflating: hive-MySQL的rpm包/mysql/mysql-community-common-5.6.38-2.el7.x86_64.rpm  
  inflating: hive-MySQL的rpm包/mysql/mysql-community-libs-5.6.38-2.el7.x86_64(1).rpm  
  inflating: hive-MySQL的rpm包/mysql/mysql-community-libs-5.6.38-2.el7.x86_64.rpm  
  inflating: hive-MySQL的rpm包/mysql/mysql-community-server-5.6.38-2.el7.x86_64(1).rpm  
  inflating: hive-MySQL的rpm包/mysql/mysql-community-server-5.6.38-2.el7.x86_64.rpm  
  inflating: hive-MySQL的rpm包/mysql/perl-5.16.3-292.el7.x86_64(1).rpm  
  inflating: hive-MySQL的rpm包/mysql/perl-5.16.3-292.el7.x86_64.rpm  
  inflating: hive-MySQL的rpm包/mysql/perl-Carp-1.26-244.el7.noarch(1).rpm  
  inflating: hive-MySQL的rpm包/mysql/perl-Carp-1.26-244.el7.noarch.rpm  
  inflating: hive-MySQL的rpm包/mysql/perl-Compress-Raw-Bzip2-2.061-3.el7.x86_64(1).rpm  
  inflating: hive-MySQL的rpm包/mysql/perl-Compress-Raw-Bzip2-2.061-3.el7.x86_64.rpm  
  inflating: hive-MySQL的rpm包/mysql/perl-Compress-Raw-Zlib-2.061-4.el7.x86_64(1).rpm  
  inflating: hive-MySQL的rpm包/mysql/perl-Compress-Raw-Zlib-2.061-4.el7.x86_64.rpm  
  inflating: hive-MySQL的rpm包/mysql/perl-constant-1.27-2.el7.noarch(1).rpm  
  inflating: hive-MySQL的rpm包/mysql/perl-constant-1.27-2.el7.noarch.rpm  
  inflating: hive-MySQL的rpm包/mysql/perl-Data-Dumper-2.145-3.el7.x86_64(1).rpm  
  inflating: hive-MySQL的rpm包/mysql/perl-Data-Dumper-2.145-3.el7.x86_64.rpm  
  inflating: hive-MySQL的rpm包/mysql/perl-DBI-1.627-4.el7.x86_64(1).rpm  
  inflating: hive-MySQL的rpm包/mysql/perl-DBI-1.627-4.el7.x86_64.rpm  
  inflating: hive-MySQL的rpm包/mysql/perl-Encode-2.51-7.el7.x86_64(1).rpm  
  inflating: hive-MySQL的rpm包/mysql/perl-Encode-2.51-7.el7.x86_64.rpm  
  inflating: hive-MySQL的rpm包/mysql/perl-Exporter-5.68-3.el7.noarch(1).rpm  
  inflating: hive-MySQL的rpm包/mysql/perl-Exporter-5.68-3.el7.noarch.rpm  
  inflating: hive-MySQL的rpm包/mysql/perl-File-Path-2.09-2.el7.noarch(1).rpm  
  inflating: hive-MySQL的rpm包/mysql/perl-File-Path-2.09-2.el7.noarch.rpm  
  inflating: hive-MySQL的rpm包/mysql/perl-File-Temp-0.23.01-3.el7.noarch(1).rpm  
  inflating: hive-MySQL的rpm包/mysql/perl-File-Temp-0.23.01-3.el7.noarch.rpm  
  inflating: hive-MySQL的rpm包/mysql/perl-Filter-1.49-3.el7.x86_64(1).rpm  
  inflating: hive-MySQL的rpm包/mysql/perl-Filter-1.49-3.el7.x86_64.rpm  
  inflating: hive-MySQL的rpm包/mysql/perl-Getopt-Long-2.40-2.el7.noarch(1).rpm  
  inflating: hive-MySQL的rpm包/mysql/perl-Getopt-Long-2.40-2.el7.noarch.rpm  
  inflating: hive-MySQL的rpm包/mysql/perl-HTTP-Tiny-0.033-3.el7.noarch(1).rpm  
  inflating: hive-MySQL的rpm包/mysql/perl-HTTP-Tiny-0.033-3.el7.noarch.rpm  
  inflating: hive-MySQL的rpm包/mysql/perl-IO-Compress-2.061-2.el7.noarch(1).rpm  
  inflating: hive-MySQL的rpm包/mysql/perl-IO-Compress-2.061-2.el7.noarch.rpm  
  inflating: hive-MySQL的rpm包/mysql/perl-libs-5.16.3-292.el7.x86_64(1).rpm  
  inflating: hive-MySQL的rpm包/mysql/perl-libs-5.16.3-292.el7.x86_64.rpm  
  inflating: hive-MySQL的rpm包/mysql/perl-macros-5.16.3-292.el7.x86_64(1).rpm  
  inflating: hive-MySQL的rpm包/mysql/perl-macros-5.16.3-292.el7.x86_64.rpm  
  inflating: hive-MySQL的rpm包/mysql/perl-Net-Daemon-0.48-5.el7.noarch(1).rpm  
  inflating: hive-MySQL的rpm包/mysql/perl-Net-Daemon-0.48-5.el7.noarch.rpm  
  inflating: hive-MySQL的rpm包/mysql/perl-parent-0.225-244.el7.noarch(1).rpm  
  inflating: hive-MySQL的rpm包/mysql/perl-parent-0.225-244.el7.noarch.rpm  
  inflating: hive-MySQL的rpm包/mysql/perl-PathTools-3.40-5.el7.x86_64(1).rpm  
  inflating: hive-MySQL的rpm包/mysql/perl-PathTools-3.40-5.el7.x86_64.rpm  
  inflating: hive-MySQL的rpm包/mysql/perl-PlRPC-0.2020-14.el7.noarch(1).rpm  
  inflating: hive-MySQL的rpm包/mysql/perl-PlRPC-0.2020-14.el7.noarch.rpm  
  inflating: hive-MySQL的rpm包/mysql/perl-Pod-Escapes-1.04-292.el7.noarch(1).rpm  
  inflating: hive-MySQL的rpm包/mysql/perl-Pod-Escapes-1.04-292.el7.noarch.rpm  
  inflating: hive-MySQL的rpm包/mysql/perl-Pod-Perldoc-3.20-4.el7.noarch(1).rpm  
  inflating: hive-MySQL的rpm包/mysql/perl-Pod-Perldoc-3.20-4.el7.noarch.rpm  
  inflating: hive-MySQL的rpm包/mysql/perl-Pod-Simple-3.28-4.el7.noarch(1).rpm  
  inflating: hive-MySQL的rpm包/mysql/perl-Pod-Simple-3.28-4.el7.noarch.rpm  
  inflating: hive-MySQL的rpm包/mysql/perl-Pod-Usage-1.63-3.el7.noarch(1).rpm  
  inflating: hive-MySQL的rpm包/mysql/perl-Pod-Usage-1.63-3.el7.noarch.rpm  
  inflating: hive-MySQL的rpm包/mysql/perl-podlators-2.5.1-3.el7.noarch(1).rpm  
  inflating: hive-MySQL的rpm包/mysql/perl-podlators-2.5.1-3.el7.noarch.rpm  
  inflating: hive-MySQL的rpm包/mysql/perl-Scalar-List-Utils-1.27-248.el7.x86_64(1).rpm  
  inflating: hive-MySQL的rpm包/mysql/perl-Scalar-List-Utils-1.27-248.el7.x86_64.rpm  
  inflating: hive-MySQL的rpm包/mysql/perl-Socket-2.010-4.el7.x86_64(1).rpm  
  inflating: hive-MySQL的rpm包/mysql/perl-Socket-2.010-4.el7.x86_64.rpm  
  inflating: hive-MySQL的rpm包/mysql/perl-Storable-2.45-3.el7.x86_64(1).rpm  
  inflating: hive-MySQL的rpm包/mysql/perl-Storable-2.45-3.el7.x86_64.rpm  
  inflating: hive-MySQL的rpm包/mysql/perl-Text-ParseWords-3.29-4.el7.noarch(1).rpm  
  inflating: hive-MySQL的rpm包/mysql/perl-Text-ParseWords-3.29-4.el7.noarch.rpm  
  inflating: hive-MySQL的rpm包/mysql/perl-threads-1.87-4.el7.x86_64(1).rpm  
  inflating: hive-MySQL的rpm包/mysql/perl-threads-1.87-4.el7.x86_64.rpm  
  inflating: hive-MySQL的rpm包/mysql/perl-threads-shared-1.43-6.el7.x86_64(1).rpm  
  inflating: hive-MySQL的rpm包/mysql/perl-threads-shared-1.43-6.el7.x86_64.rpm  
  inflating: hive-MySQL的rpm包/mysql/perl-Time-HiRes-1.9725-3.el7.x86_64(1).rpm  
  inflating: hive-MySQL的rpm包/mysql/perl-Time-HiRes-1.9725-3.el7.x86_64.rpm  
  inflating: hive-MySQL的rpm包/mysql/perl-Time-Local-1.2300-2.el7.noarch(1).rpm  
  inflating: hive-MySQL的rpm包/mysql/perl-Time-Local-1.2300-2.el7.noarch.rpm  
  inflating: hive-MySQL的rpm包/mysql-community-release-el7-5.noarch(1).rpm  
  inflating: hive-MySQL的rpm包/mysql-community-release-el7-5.noarch.rpm  
[root@node101 yinzhengjie]# 
[root@node101 yinzhengjie]# cd hive-MySQL的rpm包
[root@node101 hive-MySQL的rpm包]# ll
total 28
drwxr-xr-x 2 root root 8192 Sep 12 01:37 mysql
-rw-r--r-- 1 root root 6140 Sep 12 01:36 mysql-community-release-el7-5.noarch(1).rpm
-rw-r--r-- 1 root root 6140 Aug 29 20:46 mysql-community-release-el7-5.noarch.rpm
[root@node101 hive-MySQL的rpm包]# 
[root@node101 hive-MySQL的rpm包]# 
[root@node101 hive-MySQL的rpm包]# rpm -ivh mysql-community-release-el7-5.noarch.rpm                     #安装rpm包
Preparing...                          ################################# [100%]
Updating / installing...
   1:mysql-community-release-el7-5    ################################# [100%]
[root@node101 hive-MySQL的rpm包]# cd mysql
[root@node101 mysql]# yum -y localinstall *.rpm                                                            #本地安装MySQL
Loaded plugins: fastestmirror
Examining mysql-community-client-5.6.38-2.el7.x86_64(1).rpm: mysql-community-client-5.6.38-2.el7.x86_64
Marking mysql-community-client-5.6.38-2.el7.x86_64(1).rpm to be installed
Examining mysql-community-client-5.6.38-2.el7.x86_64.rpm: mysql-community-client-5.6.38-2.el7.x86_64
Marking mysql-community-client-5.6.38-2.el7.x86_64.rpm to be installed
Examining mysql-community-common-5.6.38-2.el7.x86_64(1).rpm: mysql-community-common-5.6.38-2.el7.x86_64
Marking mysql-community-common-5.6.38-2.el7.x86_64(1).rpm to be installed
Examining mysql-community-common-5.6.38-2.el7.x86_64.rpm: mysql-community-common-5.6.38-2.el7.x86_64
Marking mysql-community-common-5.6.38-2.el7.x86_64.rpm to be installed
Examining mysql-community-libs-5.6.38-2.el7.x86_64(1).rpm: mysql-community-libs-5.6.38-2.el7.x86_64
Marking mysql-community-libs-5.6.38-2.el7.x86_64(1).rpm to be installed
Examining mysql-community-libs-5.6.38-2.el7.x86_64.rpm: mysql-community-libs-5.6.38-2.el7.x86_64
Marking mysql-community-libs-5.6.38-2.el7.x86_64.rpm to be installed
Examining mysql-community-server-5.6.38-2.el7.x86_64(1).rpm: mysql-community-server-5.6.38-2.el7.x86_64
Marking mysql-community-server-5.6.38-2.el7.x86_64(1).rpm to be installed
Examining mysql-community-server-5.6.38-2.el7.x86_64.rpm: mysql-community-server-5.6.38-2.el7.x86_64
Marking mysql-community-server-5.6.38-2.el7.x86_64.rpm to be installed
Examining perl-5.16.3-292.el7.x86_64(1).rpm: 4:perl-5.16.3-292.el7.x86_64
perl-5.16.3-292.el7.x86_64(1).rpm: does not update installed package.
Examining perl-5.16.3-292.el7.x86_64.rpm: 4:perl-5.16.3-292.el7.x86_64
perl-5.16.3-292.el7.x86_64.rpm: does not update installed package.
Examining perl-Carp-1.26-244.el7.noarch(1).rpm: perl-Carp-1.26-244.el7.noarch
perl-Carp-1.26-244.el7.noarch(1).rpm: does not update installed package.
Examining perl-Carp-1.26-244.el7.noarch.rpm: perl-Carp-1.26-244.el7.noarch
perl-Carp-1.26-244.el7.noarch.rpm: does not update installed package.
Examining perl-Compress-Raw-Bzip2-2.061-3.el7.x86_64(1).rpm: perl-Compress-Raw-Bzip2-2.061-3.el7.x86_64
perl-Compress-Raw-Bzip2-2.061-3.el7.x86_64(1).rpm: does not update installed package.
Examining perl-Compress-Raw-Bzip2-2.061-3.el7.x86_64.rpm: perl-Compress-Raw-Bzip2-2.061-3.el7.x86_64
perl-Compress-Raw-Bzip2-2.061-3.el7.x86_64.rpm: does not update installed package.
Examining perl-Compress-Raw-Zlib-2.061-4.el7.x86_64(1).rpm: 1:perl-Compress-Raw-Zlib-2.061-4.el7.x86_64
perl-Compress-Raw-Zlib-2.061-4.el7.x86_64(1).rpm: does not update installed package.
Examining perl-Compress-Raw-Zlib-2.061-4.el7.x86_64.rpm: 1:perl-Compress-Raw-Zlib-2.061-4.el7.x86_64
perl-Compress-Raw-Zlib-2.061-4.el7.x86_64.rpm: does not update installed package.
Examining perl-constant-1.27-2.el7.noarch(1).rpm: perl-constant-1.27-2.el7.noarch
perl-constant-1.27-2.el7.noarch(1).rpm: does not update installed package.
Examining perl-constant-1.27-2.el7.noarch.rpm: perl-constant-1.27-2.el7.noarch
perl-constant-1.27-2.el7.noarch.rpm: does not update installed package.
Examining perl-Data-Dumper-2.145-3.el7.x86_64(1).rpm: perl-Data-Dumper-2.145-3.el7.x86_64
perl-Data-Dumper-2.145-3.el7.x86_64(1).rpm: does not update installed package.
Examining perl-Data-Dumper-2.145-3.el7.x86_64.rpm: perl-Data-Dumper-2.145-3.el7.x86_64
perl-Data-Dumper-2.145-3.el7.x86_64.rpm: does not update installed package.
Examining perl-DBI-1.627-4.el7.x86_64(1).rpm: perl-DBI-1.627-4.el7.x86_64
Marking perl-DBI-1.627-4.el7.x86_64(1).rpm to be installed
Examining perl-DBI-1.627-4.el7.x86_64.rpm: perl-DBI-1.627-4.el7.x86_64
Marking perl-DBI-1.627-4.el7.x86_64.rpm to be installed
Examining perl-Encode-2.51-7.el7.x86_64(1).rpm: perl-Encode-2.51-7.el7.x86_64
perl-Encode-2.51-7.el7.x86_64(1).rpm: does not update installed package.
Examining perl-Encode-2.51-7.el7.x86_64.rpm: perl-Encode-2.51-7.el7.x86_64
perl-Encode-2.51-7.el7.x86_64.rpm: does not update installed package.
Examining perl-Exporter-5.68-3.el7.noarch(1).rpm: perl-Exporter-5.68-3.el7.noarch
perl-Exporter-5.68-3.el7.noarch(1).rpm: does not update installed package.
Examining perl-Exporter-5.68-3.el7.noarch.rpm: perl-Exporter-5.68-3.el7.noarch
perl-Exporter-5.68-3.el7.noarch.rpm: does not update installed package.
Examining perl-File-Path-2.09-2.el7.noarch(1).rpm: perl-File-Path-2.09-2.el7.noarch
perl-File-Path-2.09-2.el7.noarch(1).rpm: does not update installed package.
Examining perl-File-Path-2.09-2.el7.noarch.rpm: perl-File-Path-2.09-2.el7.noarch
perl-File-Path-2.09-2.el7.noarch.rpm: does not update installed package.
Examining perl-File-Temp-0.23.01-3.el7.noarch(1).rpm: perl-File-Temp-0.23.01-3.el7.noarch
perl-File-Temp-0.23.01-3.el7.noarch(1).rpm: does not update installed package.
Examining perl-File-Temp-0.23.01-3.el7.noarch.rpm: perl-File-Temp-0.23.01-3.el7.noarch
perl-File-Temp-0.23.01-3.el7.noarch.rpm: does not update installed package.
Examining perl-Filter-1.49-3.el7.x86_64(1).rpm: perl-Filter-1.49-3.el7.x86_64
perl-Filter-1.49-3.el7.x86_64(1).rpm: does not update installed package.
Examining perl-Filter-1.49-3.el7.x86_64.rpm: perl-Filter-1.49-3.el7.x86_64
perl-Filter-1.49-3.el7.x86_64.rpm: does not update installed package.
Examining perl-Getopt-Long-2.40-2.el7.noarch(1).rpm: perl-Getopt-Long-2.40-2.el7.noarch
perl-Getopt-Long-2.40-2.el7.noarch(1).rpm: does not update installed package.
Examining perl-Getopt-Long-2.40-2.el7.noarch.rpm: perl-Getopt-Long-2.40-2.el7.noarch
perl-Getopt-Long-2.40-2.el7.noarch.rpm: does not update installed package.
Examining perl-HTTP-Tiny-0.033-3.el7.noarch(1).rpm: perl-HTTP-Tiny-0.033-3.el7.noarch
perl-HTTP-Tiny-0.033-3.el7.noarch(1).rpm: does not update installed package.
Examining perl-HTTP-Tiny-0.033-3.el7.noarch.rpm: perl-HTTP-Tiny-0.033-3.el7.noarch
perl-HTTP-Tiny-0.033-3.el7.noarch.rpm: does not update installed package.
Examining perl-IO-Compress-2.061-2.el7.noarch(1).rpm: perl-IO-Compress-2.061-2.el7.noarch
perl-IO-Compress-2.061-2.el7.noarch(1).rpm: does not update installed package.
Examining perl-IO-Compress-2.061-2.el7.noarch.rpm: perl-IO-Compress-2.061-2.el7.noarch
perl-IO-Compress-2.061-2.el7.noarch.rpm: does not update installed package.
Examining perl-libs-5.16.3-292.el7.x86_64(1).rpm: 4:perl-libs-5.16.3-292.el7.x86_64
perl-libs-5.16.3-292.el7.x86_64(1).rpm: does not update installed package.
Examining perl-libs-5.16.3-292.el7.x86_64.rpm: 4:perl-libs-5.16.3-292.el7.x86_64
perl-libs-5.16.3-292.el7.x86_64.rpm: does not update installed package.
Examining perl-macros-5.16.3-292.el7.x86_64(1).rpm: 4:perl-macros-5.16.3-292.el7.x86_64
perl-macros-5.16.3-292.el7.x86_64(1).rpm: does not update installed package.
Examining perl-macros-5.16.3-292.el7.x86_64.rpm: 4:perl-macros-5.16.3-292.el7.x86_64
perl-macros-5.16.3-292.el7.x86_64.rpm: does not update installed package.
Examining perl-Net-Daemon-0.48-5.el7.noarch(1).rpm: perl-Net-Daemon-0.48-5.el7.noarch
Marking perl-Net-Daemon-0.48-5.el7.noarch(1).rpm to be installed
Examining perl-Net-Daemon-0.48-5.el7.noarch.rpm: perl-Net-Daemon-0.48-5.el7.noarch
Marking perl-Net-Daemon-0.48-5.el7.noarch.rpm to be installed
Examining perl-parent-0.225-244.el7.noarch(1).rpm: 1:perl-parent-0.225-244.el7.noarch
perl-parent-0.225-244.el7.noarch(1).rpm: does not update installed package.
Examining perl-parent-0.225-244.el7.noarch.rpm: 1:perl-parent-0.225-244.el7.noarch
perl-parent-0.225-244.el7.noarch.rpm: does not update installed package.
Examining perl-PathTools-3.40-5.el7.x86_64(1).rpm: perl-PathTools-3.40-5.el7.x86_64
perl-PathTools-3.40-5.el7.x86_64(1).rpm: does not update installed package.
Examining perl-PathTools-3.40-5.el7.x86_64.rpm: perl-PathTools-3.40-5.el7.x86_64
perl-PathTools-3.40-5.el7.x86_64.rpm: does not update installed package.
Examining perl-PlRPC-0.2020-14.el7.noarch(1).rpm: perl-PlRPC-0.2020-14.el7.noarch
Marking perl-PlRPC-0.2020-14.el7.noarch(1).rpm to be installed
Examining perl-PlRPC-0.2020-14.el7.noarch.rpm: perl-PlRPC-0.2020-14.el7.noarch
Marking perl-PlRPC-0.2020-14.el7.noarch.rpm to be installed
Examining perl-Pod-Escapes-1.04-292.el7.noarch(1).rpm: 1:perl-Pod-Escapes-1.04-292.el7.noarch
perl-Pod-Escapes-1.04-292.el7.noarch(1).rpm: does not update installed package.
Examining perl-Pod-Escapes-1.04-292.el7.noarch.rpm: 1:perl-Pod-Escapes-1.04-292.el7.noarch
perl-Pod-Escapes-1.04-292.el7.noarch.rpm: does not update installed package.
Examining perl-podlators-2.5.1-3.el7.noarch(1).rpm: perl-podlators-2.5.1-3.el7.noarch
perl-podlators-2.5.1-3.el7.noarch(1).rpm: does not update installed package.
Examining perl-podlators-2.5.1-3.el7.noarch.rpm: perl-podlators-2.5.1-3.el7.noarch
perl-podlators-2.5.1-3.el7.noarch.rpm: does not update installed package.
Examining perl-Pod-Perldoc-3.20-4.el7.noarch(1).rpm: perl-Pod-Perldoc-3.20-4.el7.noarch
perl-Pod-Perldoc-3.20-4.el7.noarch(1).rpm: does not update installed package.
Examining perl-Pod-Perldoc-3.20-4.el7.noarch.rpm: perl-Pod-Perldoc-3.20-4.el7.noarch
perl-Pod-Perldoc-3.20-4.el7.noarch.rpm: does not update installed package.
Examining perl-Pod-Simple-3.28-4.el7.noarch(1).rpm: 1:perl-Pod-Simple-3.28-4.el7.noarch
perl-Pod-Simple-3.28-4.el7.noarch(1).rpm: does not update installed package.
Examining perl-Pod-Simple-3.28-4.el7.noarch.rpm: 1:perl-Pod-Simple-3.28-4.el7.noarch
perl-Pod-Simple-3.28-4.el7.noarch.rpm: does not update installed package.
Examining perl-Pod-Usage-1.63-3.el7.noarch(1).rpm: perl-Pod-Usage-1.63-3.el7.noarch
perl-Pod-Usage-1.63-3.el7.noarch(1).rpm: does not update installed package.
Examining perl-Pod-Usage-1.63-3.el7.noarch.rpm: perl-Pod-Usage-1.63-3.el7.noarch
perl-Pod-Usage-1.63-3.el7.noarch.rpm: does not update installed package.
Examining perl-Scalar-List-Utils-1.27-248.el7.x86_64(1).rpm: perl-Scalar-List-Utils-1.27-248.el7.x86_64
perl-Scalar-List-Utils-1.27-248.el7.x86_64(1).rpm: does not update installed package.
Examining perl-Scalar-List-Utils-1.27-248.el7.x86_64.rpm: perl-Scalar-List-Utils-1.27-248.el7.x86_64
perl-Scalar-List-Utils-1.27-248.el7.x86_64.rpm: does not update installed package.
Examining perl-Socket-2.010-4.el7.x86_64(1).rpm: perl-Socket-2.010-4.el7.x86_64
perl-Socket-2.010-4.el7.x86_64(1).rpm: does not update installed package.
Examining perl-Socket-2.010-4.el7.x86_64.rpm: perl-Socket-2.010-4.el7.x86_64
perl-Socket-2.010-4.el7.x86_64.rpm: does not update installed package.
Examining perl-Storable-2.45-3.el7.x86_64(1).rpm: perl-Storable-2.45-3.el7.x86_64
perl-Storable-2.45-3.el7.x86_64(1).rpm: does not update installed package.
Examining perl-Storable-2.45-3.el7.x86_64.rpm: perl-Storable-2.45-3.el7.x86_64
perl-Storable-2.45-3.el7.x86_64.rpm: does not update installed package.
Examining perl-Text-ParseWords-3.29-4.el7.noarch(1).rpm: perl-Text-ParseWords-3.29-4.el7.noarch
perl-Text-ParseWords-3.29-4.el7.noarch(1).rpm: does not update installed package.
Examining perl-Text-ParseWords-3.29-4.el7.noarch.rpm: perl-Text-ParseWords-3.29-4.el7.noarch
perl-Text-ParseWords-3.29-4.el7.noarch.rpm: does not update installed package.
Examining perl-threads-1.87-4.el7.x86_64(1).rpm: perl-threads-1.87-4.el7.x86_64
perl-threads-1.87-4.el7.x86_64(1).rpm: does not update installed package.
Examining perl-threads-1.87-4.el7.x86_64.rpm: perl-threads-1.87-4.el7.x86_64
perl-threads-1.87-4.el7.x86_64.rpm: does not update installed package.
Examining perl-threads-shared-1.43-6.el7.x86_64(1).rpm: perl-threads-shared-1.43-6.el7.x86_64
perl-threads-shared-1.43-6.el7.x86_64(1).rpm: does not update installed package.
Examining perl-threads-shared-1.43-6.el7.x86_64.rpm: perl-threads-shared-1.43-6.el7.x86_64
perl-threads-shared-1.43-6.el7.x86_64.rpm: does not update installed package.
Examining perl-Time-HiRes-1.9725-3.el7.x86_64(1).rpm: 4:perl-Time-HiRes-1.9725-3.el7.x86_64
perl-Time-HiRes-1.9725-3.el7.x86_64(1).rpm: does not update installed package.
Examining perl-Time-HiRes-1.9725-3.el7.x86_64.rpm: 4:perl-Time-HiRes-1.9725-3.el7.x86_64
perl-Time-HiRes-1.9725-3.el7.x86_64.rpm: does not update installed package.
Examining perl-Time-Local-1.2300-2.el7.noarch(1).rpm: perl-Time-Local-1.2300-2.el7.noarch
perl-Time-Local-1.2300-2.el7.noarch(1).rpm: does not update installed package.
Examining perl-Time-Local-1.2300-2.el7.noarch.rpm: perl-Time-Local-1.2300-2.el7.noarch
perl-Time-Local-1.2300-2.el7.noarch.rpm: does not update installed package.
Resolving Dependencies
--> Running transaction check
---> Package mariadb.x86_64 1:5.5.56-2.el7 will be obsoleted
---> Package mariadb-libs.x86_64 1:5.5.56-2.el7 will be obsoleted
--> Processing Dependency: mariadb-libs(x86-64) = 1:5.5.56-2.el7 for package: 1:mariadb-devel-5.5.56-2.el7.x86_64
mysql-connectors-community                                                                                                                                                         | 2.5 kB  00:00:00     
mysql-tools-community                                                                                                                                                              | 2.5 kB  00:00:00     
mysql56-community                                                                                                                                                                  | 2.5 kB  00:00:00     
(1/3): mysql-tools-community/x86_64/primary_db                                                                                                                                     |  45 kB  00:00:00     
(2/3): mysql56-community/x86_64/primary_db                                                                                                                                         | 197 kB  00:00:01     
(3/3): mysql-connectors-community/x86_64/primary_db                                                                                                                                |  26 kB  00:00:01     
Loading mirror speeds from cached hostfile
 * base: mirrors.huaweicloud.com
 * extras: mirrors.huaweicloud.com
 * updates: mirrors.aliyun.com
---> Package mysql-community-client.x86_64 0:5.6.38-2.el7 will be obsoleting
---> Package mysql-community-common.x86_64 0:5.6.38-2.el7 will be installed
---> Package mysql-community-libs.x86_64 0:5.6.38-2.el7 will be obsoleting
---> Package mysql-community-server.x86_64 0:5.6.38-2.el7 will be installed
---> Package perl-DBI.x86_64 0:1.627-4.el7 will be installed
---> Package perl-Net-Daemon.noarch 0:0.48-5.el7 will be installed
---> Package perl-PlRPC.noarch 0:0.2020-14.el7 will be installed
--> Running transaction check
---> Package mariadb-devel.x86_64 1:5.5.56-2.el7 will be obsoleted
---> Package mysql-community-devel.x86_64 0:5.6.41-2.el7 will be obsoleting
--> Finished Dependency Resolution

Dependencies Resolved

==========================================================================================================================================================================================================
 Package                                          Arch                             Version                                 Repository                                                                Size
==========================================================================================================================================================================================================
Installing:
 mysql-community-client                           x86_64                           5.6.38-2.el7                            /mysql-community-client-5.6.38-2.el7.x86_64(1)                            89 M
     replacing  mariadb.x86_64 1:5.5.56-2.el7
 mysql-community-common                           x86_64                           5.6.38-2.el7                            /mysql-community-common-5.6.38-2.el7.x86_64(1)                           2.1 M
 mysql-community-devel                            x86_64                           5.6.41-2.el7                            mysql56-community                                                        3.4 M
     replacing  mariadb-devel.x86_64 1:5.5.56-2.el7
 mysql-community-libs                             x86_64                           5.6.38-2.el7                            /mysql-community-libs-5.6.38-2.el7.x86_64(1)                             9.2 M
     replacing  mariadb-libs.x86_64 1:5.5.56-2.el7
 mysql-community-server                           x86_64                           5.6.38-2.el7                            /mysql-community-server-5.6.38-2.el7.x86_64(1)                           251 M
 perl-DBI                                         x86_64                           1.627-4.el7                             /perl-DBI-1.627-4.el7.x86_64(1)                                          1.9 M
 perl-Net-Daemon                                  noarch                           0.48-5.el7                              /perl-Net-Daemon-0.48-5.el7.noarch(1)                                    116 k
 perl-PlRPC                                       noarch                           0.2020-14.el7                           /perl-PlRPC-0.2020-14.el7.noarch(1)                                       69 k

Transaction Summary
==========================================================================================================================================================================================================
Install  8 Packages

Total size: 356 M
Total download size: 3.4 M
Downloading packages:
warning: /var/cache/yum/x86_64/7/mysql56-community/packages/mysql-community-devel-5.6.41-2.el7.x86_64.rpm: Header V3 DSA/SHA1 Signature, key ID 5072e1f5: NOKEY======   ] 331 kB/s | 3.3 MB  00:00:00 ETA 
Public key for mysql-community-devel-5.6.41-2.el7.x86_64.rpm is not installed
mysql-community-devel-5.6.41-2.el7.x86_64.rpm                                                                                                                                      | 3.4 MB  00:00:10     
Retrieving key from file:/etc/pki/rpm-gpg/RPM-GPG-KEY-mysql
Importing GPG key 0x5072E1F5:
 Userid     : "MySQL Release Engineering <mysql-build@oss.oracle.com>"
 Fingerprint: a4a9 4068 76fc bd3c 4567 70c8 8c71 8d3b 5072 e1f5
 Package    : mysql-community-release-el7-5.noarch (installed)
 From       : file:/etc/pki/rpm-gpg/RPM-GPG-KEY-mysql
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
Warning: RPMDB altered outside of yum.
** Found 12 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 java
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 java
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 : mysql-community-common-5.6.38-2.el7.x86_64                                                                                                                                            1/11 
  Installing : mysql-community-libs-5.6.38-2.el7.x86_64                                                                                                                                              2/11 
  Installing : mysql-community-client-5.6.38-2.el7.x86_64                                                                                                                                            3/11 
  Installing : perl-Net-Daemon-0.48-5.el7.noarch                                                                                                                                                     4/11 
  Installing : perl-PlRPC-0.2020-14.el7.noarch                                                                                                                                                       5/11 
  Installing : perl-DBI-1.627-4.el7.x86_64                                                                                                                                                           6/11 
  Installing : mysql-community-server-5.6.38-2.el7.x86_64                                                                                                                                            7/11 
  Installing : mysql-community-devel-5.6.41-2.el7.x86_64                                                                                                                                             8/11 
  Erasing    : 1:mariadb-devel-5.5.56-2.el7.x86_64                                                                                                                                                   9/11 
  Erasing    : 1:mariadb-5.5.56-2.el7.x86_64                                                                                                                                                        10/11 
  Erasing    : 1:mariadb-libs-5.5.56-2.el7.x86_64                                                                                                                                                   11/11 
  Verifying  : perl-Net-Daemon-0.48-5.el7.noarch                                                                                                                                                     1/11 
  Verifying  : perl-PlRPC-0.2020-14.el7.noarch                                                                                                                                                       2/11 
  Verifying  : mysql-community-client-5.6.38-2.el7.x86_64                                                                                                                                            3/11 
  Verifying  : mysql-community-server-5.6.38-2.el7.x86_64                                                                                                                                            4/11 
  Verifying  : mysql-community-devel-5.6.41-2.el7.x86_64                                                                                                                                             5/11 
  Verifying  : mysql-community-common-5.6.38-2.el7.x86_64                                                                                                                                            6/11 
  Verifying  : mysql-community-libs-5.6.38-2.el7.x86_64                                                                                                                                              7/11 
  Verifying  : perl-DBI-1.627-4.el7.x86_64                                                                                                                                                           8/11 
  Verifying  : 1:mariadb-devel-5.5.56-2.el7.x86_64                                                                                                                                                   9/11 
  Verifying  : 1:mariadb-libs-5.5.56-2.el7.x86_64                                                                                                                                                   10/11 
  Verifying  : 1:mariadb-5.5.56-2.el7.x86_64                                                                                                                                                        11/11 

Installed:
  mysql-community-client.x86_64 0:5.6.38-2.el7       mysql-community-common.x86_64 0:5.6.38-2.el7       mysql-community-devel.x86_64 0:5.6.41-2.el7       mysql-community-libs.x86_64 0:5.6.38-2.el7      
  mysql-community-server.x86_64 0:5.6.38-2.el7       perl-DBI.x86_64 0:1.627-4.el7                      perl-Net-Daemon.noarch 0:0.48-5.el7               perl-PlRPC.noarch 0:0.2020-14.el7               

Replaced:
  mariadb.x86_64 1:5.5.56-2.el7                                  mariadb-devel.x86_64 1:5.5.56-2.el7                                  mariadb-libs.x86_64 1:5.5.56-2.el7                                 

Complete!
[root@node101 mysql]# 
[root@node101 mysql]# yum -y localinstall *.rpm                       #本地安装MySQL
[root@node101 mysql]# systemctl start mysqld
[root@node101 mysql]# 
[root@node101 mysql]# systemctl enable mysqld
Created symlink from /etc/systemd/system/mysql.service to /usr/lib/systemd/system/mysqld.service.
Created symlink from /etc/systemd/system/multi-user.target.wants/mysqld.service to /usr/lib/systemd/system/mysqld.service.
[root@node101 mysql]# 
[root@node101 mysql]# mysql
Welcome to the MySQL monitor.  Commands end with ; or \g.
Your MySQL connection id is 2
Server version: 5.6.38 MySQL Community Server (GPL)

Copyright (c) 2000, 2017, Oracle and/or its affiliates. All rights reserved.

Oracle is a registered trademark of Oracle Corporation and/or its
affiliates. Other names may be trademarks of their respective
owners.

Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.

mysql> GRANT ALL PRIVILEGES ON *.* TO 'cdh'@'172.30.1.10%' IDENTIFIED BY 'yinzhengjie' WITH GRANT OPTION;                   #我们创建scm用户,当然你也可以自定义,初始化数据库的时候用你创建的用户即可。(推荐)
Query OK, 0 rows affected (0.00 sec)

mysql> GRANT ALL PRIVILEGES ON *.* TO 'cdh'@'node101.yinzhengjie.org.cn' IDENTIFIED BY 'yinzhengjie' WITH GRANT OPTION;          #作用和上面的基本上是一直的,只不过我只制定了了一个主机授权登陆。上面授权的是一个范围ip可以访问!
Query OK, 0 rows affected (0.00 sec)

mysql> FLUSH PRIVILEGES;
Query OK, 0 rows affected (0.00 sec)

mysql> quit
Bye
[root@node101 mysql]# 

   注意,上述授权如果不做的话,我们在初始化数据库时可能会报错如下:

   1.8>.下载第三方依赖包(注意,依赖包所有机器都得安装)

[root@node101 ~]# xcall.sh "yum -y install chkconfig python bind-utils psmisc libxslt zlib sqlite cyrus-sasl-plain cyrus-sasl-gssapi fuse fuse-libs redhat-lsb"
============= node101.yinzhengjie.org.cn : yum -y install chkconfig python bind-utils psmisc libxslt zlib sqlite cyrus-sasl-plain cyrus-sasl-gssapi fuse fuse-libs redhat-lsb ============
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
 * base: mirrors.huaweicloud.com
 * extras: mirrors.huaweicloud.com
 * updates: mirrors.cn99.com
Package chkconfig-1.7.4-1.el7.x86_64 already installed and latest version
Package python-2.7.5-69.el7_5.x86_64 already installed and latest version
Package libxslt-1.1.28-5.el7.x86_64 already installed and latest version
Package zlib-1.2.7-17.el7.x86_64 already installed and latest version
Package sqlite-3.7.17-8.el7.x86_64 already installed and latest version
Package cyrus-sasl-plain-2.1.26-23.el7.x86_64 already installed and latest version
Package cyrus-sasl-gssapi-2.1.26-23.el7.x86_64 already installed and latest version
Resolving Dependencies
--> Running transaction check
---> Package bind-utils.x86_64 32:9.9.4-61.el7_5.1 will be installed
--> Processing Dependency: bind-libs = 32:9.9.4-61.el7_5.1 for package: 32:bind-utils-9.9.4-61.el7_5.1.x86_64
--> Processing Dependency: liblwres.so.90()(64bit) for package: 32:bind-utils-9.9.4-61.el7_5.1.x86_64
--> Processing Dependency: libisccfg.so.90()(64bit) for package: 32:bind-utils-9.9.4-61.el7_5.1.x86_64
--> Processing Dependency: libisccc.so.90()(64bit) for package: 32:bind-utils-9.9.4-61.el7_5.1.x86_64
--> Processing Dependency: libisc.so.95()(64bit) for package: 32:bind-utils-9.9.4-61.el7_5.1.x86_64
--> Processing Dependency: libdns.so.100()(64bit) for package: 32:bind-utils-9.9.4-61.el7_5.1.x86_64
--> Processing Dependency: libbind9.so.90()(64bit) for package: 32:bind-utils-9.9.4-61.el7_5.1.x86_64
--> Processing Dependency: libGeoIP.so.1()(64bit) for package: 32:bind-utils-9.9.4-61.el7_5.1.x86_64
---> Package fuse.x86_64 0:2.9.2-10.el7 will be installed
---> Package fuse-libs.x86_64 0:2.9.2-10.el7 will be installed
---> Package psmisc.x86_64 0:22.20-15.el7 will be installed
---> Package redhat-lsb.x86_64 0:4.1-27.el7.centos.1 will be installed
--> Processing Dependency: redhat-lsb-printing = 4.1-27.el7.centos.1 for package: redhat-lsb-4.1-27.el7.centos.1.x86_64
--> Processing Dependency: redhat-lsb-languages = 4.1-27.el7.centos.1 for package: redhat-lsb-4.1-27.el7.centos.1.x86_64
--> Processing Dependency: redhat-lsb-desktop(x86-64) = 4.1-27.el7.centos.1 for package: redhat-lsb-4.1-27.el7.centos.1.x86_64
--> Processing Dependency: redhat-lsb-cxx(x86-64) = 4.1-27.el7.centos.1 for package: redhat-lsb-4.1-27.el7.centos.1.x86_64
--> Processing Dependency: redhat-lsb-core(x86-64) = 4.1-27.el7.centos.1 for package: redhat-lsb-4.1-27.el7.centos.1.x86_64
--> Running transaction check
---> Package GeoIP.x86_64 0:1.5.0-11.el7 will be installed
---> Package bind-libs.x86_64 32:9.9.4-61.el7_5.1 will be installed
--> Processing Dependency: bind-license = 32:9.9.4-61.el7_5.1 for package: 32:bind-libs-9.9.4-61.el7_5.1.x86_64
---> Package redhat-lsb-core.x86_64 0:4.1-27.el7.centos.1 will be installed
--> Processing Dependency: redhat-lsb-submod-security(x86-64) = 4.1-27.el7.centos.1 for package: redhat-lsb-core-4.1-27.el7.centos.1.x86_64
--> Processing Dependency: spax for package: redhat-lsb-core-4.1-27.el7.centos.1.x86_64
--> Processing Dependency: /usr/bin/time for package: redhat-lsb-core-4.1-27.el7.centos.1.x86_64
--> Processing Dependency: /usr/bin/patch for package: redhat-lsb-core-4.1-27.el7.centos.1.x86_64
--> Processing Dependency: /usr/bin/m4 for package: redhat-lsb-core-4.1-27.el7.centos.1.x86_64
--> Processing Dependency: /usr/bin/lpr for package: redhat-lsb-core-4.1-27.el7.centos.1.x86_64
--> Processing Dependency: /usr/bin/lp for package: redhat-lsb-core-4.1-27.el7.centos.1.x86_64
--> Processing Dependency: /usr/bin/bc for package: redhat-lsb-core-4.1-27.el7.centos.1.x86_64
--> Processing Dependency: /usr/bin/batch for package: redhat-lsb-core-4.1-27.el7.centos.1.x86_64
--> Processing Dependency: /usr/bin/at for package: redhat-lsb-core-4.1-27.el7.centos.1.x86_64
--> Processing Dependency: /bin/mailx for package: redhat-lsb-core-4.1-27.el7.centos.1.x86_64
--> Processing Dependency: /bin/ed for package: redhat-lsb-core-4.1-27.el7.centos.1.x86_64
---> Package redhat-lsb-cxx.x86_64 0:4.1-27.el7.centos.1 will be installed
---> Package redhat-lsb-desktop.x86_64 0:4.1-27.el7.centos.1 will be installed
--> Processing Dependency: redhat-lsb-submod-multimedia(x86-64) = 4.1-27.el7.centos.1 for package: redhat-lsb-desktop-4.1-27.el7.centos.1.x86_64
--> Processing Dependency: xdg-utils for package: redhat-lsb-desktop-4.1-27.el7.centos.1.x86_64
--> Processing Dependency: qt3(x86-64) for package: redhat-lsb-desktop-4.1-27.el7.centos.1.x86_64
--> Processing Dependency: qt-x11(x86-64) for package: redhat-lsb-desktop-4.1-27.el7.centos.1.x86_64
--> Processing Dependency: qt(x86-64) for package: redhat-lsb-desktop-4.1-27.el7.centos.1.x86_64
--> Processing Dependency: mesa-libGLU(x86-64) for package: redhat-lsb-desktop-4.1-27.el7.centos.1.x86_64
--> Processing Dependency: libpng12.so.0()(64bit) for package: redhat-lsb-desktop-4.1-27.el7.centos.1.x86_64
---> Package redhat-lsb-languages.x86_64 0:4.1-27.el7.centos.1 will be installed
--> Processing Dependency: perl(XML::LibXML) for package: redhat-lsb-languages-4.1-27.el7.centos.1.x86_64
--> Processing Dependency: perl(Text::Soundex) for package: redhat-lsb-languages-4.1-27.el7.centos.1.x86_64
--> Processing Dependency: perl(Test::Simple) for package: redhat-lsb-languages-4.1-27.el7.centos.1.x86_64
--> Processing Dependency: perl(Test::Harness) for package: redhat-lsb-languages-4.1-27.el7.centos.1.x86_64
--> Processing Dependency: perl(Sys::Syslog) for package: redhat-lsb-languages-4.1-27.el7.centos.1.x86_64
--> Processing Dependency: perl(Pod::Plainer) for package: redhat-lsb-languages-4.1-27.el7.centos.1.x86_64
--> Processing Dependency: perl(Pod::LaTeX) for package: redhat-lsb-languages-4.1-27.el7.centos.1.x86_64
--> Processing Dependency: perl(Pod::Checker) for package: redhat-lsb-languages-4.1-27.el7.centos.1.x86_64
--> Processing Dependency: perl(Locale::Maketext) for package: redhat-lsb-languages-4.1-27.el7.centos.1.x86_64
--> Processing Dependency: perl(Locale::Codes::Constants) for package: redhat-lsb-languages-4.1-27.el7.centos.1.x86_64
--> Processing Dependency: perl(Locale::Codes) for package: redhat-lsb-languages-4.1-27.el7.centos.1.x86_64
--> Processing Dependency: perl(File::CheckTree) for package: redhat-lsb-languages-4.1-27.el7.centos.1.x86_64
--> Processing Dependency: perl(Fatal) for package: redhat-lsb-languages-4.1-27.el7.centos.1.x86_64
--> Processing Dependency: perl(ExtUtils::MakeMaker) for package: redhat-lsb-languages-4.1-27.el7.centos.1.x86_64
--> Processing Dependency: perl(Env) for package: redhat-lsb-languages-4.1-27.el7.centos.1.x86_64
--> Processing Dependency: perl(Class::ISA) for package: redhat-lsb-languages-4.1-27.el7.centos.1.x86_64
--> Processing Dependency: perl(CPAN) for package: redhat-lsb-languages-4.1-27.el7.centos.1.x86_64
--> Processing Dependency: perl(CGI) for package: redhat-lsb-languages-4.1-27.el7.centos.1.x86_64
--> Processing Dependency: perl(B::Lint) for package: redhat-lsb-languages-4.1-27.el7.centos.1.x86_64
---> Package redhat-lsb-printing.x86_64 0:4.1-27.el7.centos.1 will be installed
--> Processing Dependency: /usr/bin/foomatic-rip for package: redhat-lsb-printing-4.1-27.el7.centos.1.x86_64
--> Running transaction check
---> Package at.x86_64 0:3.1.13-23.el7 will be installed
---> Package bc.x86_64 0:1.06.95-13.el7 will be installed
---> Package bind-license.noarch 32:9.9.4-29.el7 will be updated
--> Processing Dependency: bind-license = 32:9.9.4-29.el7 for package: 32:bind-libs-lite-9.9.4-29.el7.x86_64
---> Package bind-license.noarch 32:9.9.4-61.el7_5.1 will be an update
---> Package cups-client.x86_64 1:1.6.3-35.el7 will be installed
---> Package ed.x86_64 0:1.9-4.el7 will be installed
---> Package foomatic-filters.x86_64 0:4.0.9-8.el7 will be installed
---> Package libpng12.x86_64 0:1.2.50-10.el7 will be installed
---> Package m4.x86_64 0:1.4.16-10.el7 will be installed
---> Package mailx.x86_64 0:12.5-19.el7 will be installed
---> Package mesa-libGLU.x86_64 0:9.0.0-4.el7 will be installed
---> Package patch.x86_64 0:2.7.1-10.el7_5 will be installed
---> Package perl-B-Lint.noarch 0:1.17-3.el7 will be installed
--> Processing Dependency: perl(Module::Pluggable) for package: perl-B-Lint-1.17-3.el7.noarch
---> Package perl-CGI.noarch 0:3.63-4.el7 will be installed
--> Processing Dependency: perl(FCGI) >= 0.67 for package: perl-CGI-3.63-4.el7.noarch
---> Package perl-CPAN.noarch 0:1.9800-292.el7 will be installed
--> Processing Dependency: perl(local::lib) for package: perl-CPAN-1.9800-292.el7.noarch
--> Processing Dependency: perl(Digest::SHA) for package: perl-CPAN-1.9800-292.el7.noarch
---> Package perl-Class-ISA.noarch 0:0.36-1010.el7 will be installed
---> Package perl-Env.noarch 0:1.04-2.el7 will be installed
---> Package perl-ExtUtils-MakeMaker.noarch 0:6.68-3.el7 will be installed
--> Processing Dependency: perl(ExtUtils::Packlist) for package: perl-ExtUtils-MakeMaker-6.68-3.el7.noarch
--> Processing Dependency: perl(ExtUtils::Manifest) for package: perl-ExtUtils-MakeMaker-6.68-3.el7.noarch
--> Processing Dependency: perl(ExtUtils::Installed) for package: perl-ExtUtils-MakeMaker-6.68-3.el7.noarch
--> Processing Dependency: perl(ExtUtils::Install) for package: perl-ExtUtils-MakeMaker-6.68-3.el7.noarch
---> Package perl-File-CheckTree.noarch 0:4.42-3.el7 will be installed
---> Package perl-Locale-Codes.noarch 0:3.26-2.el7 will be installed
---> Package perl-Locale-Maketext.noarch 0:1.23-3.el7 will be installed
---> Package perl-Pod-Checker.noarch 0:1.60-2.el7 will be installed
--> Processing Dependency: perl(Pod::Parser) >= 1.60 for package: perl-Pod-Checker-1.60-2.el7.noarch
--> Processing Dependency: perl(Pod::ParseUtils) for package: perl-Pod-Checker-1.60-2.el7.noarch
---> Package perl-Pod-LaTeX.noarch 0:0.61-2.el7 will be installed
---> Package perl-Pod-Plainer.noarch 0:1.03-4.el7 will be installed
---> Package perl-Sys-Syslog.x86_64 0:0.33-3.el7 will be installed
---> Package perl-Test-Harness.noarch 0:3.28-3.el7 will be installed
---> Package perl-Test-Simple.noarch 0:0.98-243.el7 will be installed
---> Package perl-Text-Soundex.x86_64 0:3.04-4.el7 will be installed
--> Processing Dependency: perl(Text::Unidecode) for package: perl-Text-Soundex-3.04-4.el7.x86_64
---> Package perl-XML-LibXML.x86_64 1:2.0018-5.el7 will be installed
--> Processing Dependency: perl(XML::SAX::Exception) for package: 1:perl-XML-LibXML-2.0018-5.el7.x86_64
--> Processing Dependency: perl(XML::SAX::DocumentLocator) for package: 1:perl-XML-LibXML-2.0018-5.el7.x86_64
--> Processing Dependency: perl(XML::SAX::Base) for package: 1:perl-XML-LibXML-2.0018-5.el7.x86_64
--> Processing Dependency: perl(XML::NamespaceSupport) for package: 1:perl-XML-LibXML-2.0018-5.el7.x86_64
---> Package perl-autodie.noarch 0:2.16-2.el7 will be installed
---> Package qt.x86_64 1:4.8.7-2.el7 will be installed
--> Processing Dependency: qt-settings for package: 1:qt-4.8.7-2.el7.x86_64
---> Package qt-x11.x86_64 1:4.8.7-2.el7 will be installed
--> Processing Dependency: libmng.so.1()(64bit) for package: 1:qt-x11-4.8.7-2.el7.x86_64
---> Package qt3.x86_64 0:3.3.8b-51.el7 will be installed
---> Package redhat-lsb-submod-multimedia.x86_64 0:4.1-27.el7.centos.1 will be installed
---> Package redhat-lsb-submod-security.x86_64 0:4.1-27.el7.centos.1 will be installed
---> Package spax.x86_64 0:1.5.2-13.el7 will be installed
---> Package time.x86_64 0:1.7-45.el7 will be installed
---> Package xdg-utils.noarch 0:1.1.0-0.17.20120809git.el7 will be installed
--> Processing Dependency: desktop-file-utils for package: xdg-utils-1.1.0-0.17.20120809git.el7.noarch
--> Running transaction check
---> Package bind-libs-lite.x86_64 32:9.9.4-29.el7 will be updated
---> Package bind-libs-lite.x86_64 32:9.9.4-61.el7_5.1 will be an update
---> Package desktop-file-utils.x86_64 0:0.23-1.el7 will be installed
--> Processing Dependency: emacs-filesystem for package: desktop-file-utils-0.23-1.el7.x86_64
---> Package libmng.x86_64 0:1.0.10-14.el7 will be installed
---> Package perl-Digest-SHA.x86_64 1:5.85-4.el7 will be installed
--> Processing Dependency: perl(Digest::base) for package: 1:perl-Digest-SHA-5.85-4.el7.x86_64
---> Package perl-ExtUtils-Install.noarch 0:1.58-292.el7 will be installed
--> Processing Dependency: perl-devel for package: perl-ExtUtils-Install-1.58-292.el7.noarch
---> Package perl-ExtUtils-Manifest.noarch 0:1.61-244.el7 will be installed
---> Package perl-FCGI.x86_64 1:0.74-8.el7 will be installed
---> Package perl-Module-Pluggable.noarch 1:4.8-3.el7 will be installed
---> Package perl-Pod-Parser.noarch 0:1.61-2.el7 will be installed
---> Package perl-Text-Unidecode.noarch 0:0.04-20.el7 will be installed
---> Package perl-XML-NamespaceSupport.noarch 0:1.11-10.el7 will be installed
---> Package perl-XML-SAX.noarch 0:0.99-9.el7 will be installed
--> Processing Dependency: perl(LWP::UserAgent) for package: perl-XML-SAX-0.99-9.el7.noarch
---> Package perl-XML-SAX-Base.noarch 0:1.08-7.el7 will be installed
---> Package perl-local-lib.noarch 0:1.008010-4.el7 will be installed
---> Package qt-settings.noarch 0:19-23.7.el7.centos will be installed
--> Processing Dependency: pciutils for package: qt-settings-19-23.7.el7.centos.noarch
--> Running transaction check
---> Package emacs-filesystem.noarch 1:24.3-20.el7_4 will be installed
---> Package pciutils.x86_64 0:3.5.1-3.el7 will be installed
--> Processing Dependency: pciutils-libs = 3.5.1-3.el7 for package: pciutils-3.5.1-3.el7.x86_64
--> Processing Dependency: libpci.so.3(LIBPCI_3.5)(64bit) for package: pciutils-3.5.1-3.el7.x86_64
--> Processing Dependency: libpci.so.3(LIBPCI_3.3)(64bit) for package: pciutils-3.5.1-3.el7.x86_64
---> Package perl-Digest.noarch 0:1.17-245.el7 will be installed
---> Package perl-devel.x86_64 4:5.16.3-292.el7 will be installed
--> Processing Dependency: systemtap-sdt-devel for package: 4:perl-devel-5.16.3-292.el7.x86_64
--> Processing Dependency: perl(ExtUtils::ParseXS) for package: 4:perl-devel-5.16.3-292.el7.x86_64
--> Processing Dependency: libdb-devel for package: 4:perl-devel-5.16.3-292.el7.x86_64
--> Processing Dependency: gdbm-devel for package: 4:perl-devel-5.16.3-292.el7.x86_64
---> Package perl-libwww-perl.noarch 0:6.05-2.el7 will be installed
--> Processing Dependency: perl(WWW::RobotRules) >= 6 for package: perl-libwww-perl-6.05-2.el7.noarch
--> Processing Dependency: perl(URI) >= 1.10 for package: perl-libwww-perl-6.05-2.el7.noarch
--> Processing Dependency: perl(Net::HTTP) >= 6.04 for package: perl-libwww-perl-6.05-2.el7.noarch
--> Processing Dependency: perl(LWP::MediaTypes) >= 6 for package: perl-libwww-perl-6.05-2.el7.noarch
--> Processing Dependency: perl(HTTP::Status) >= 6 for package: perl-libwww-perl-6.05-2.el7.noarch
--> Processing Dependency: perl(HTTP::Response) >= 6 for package: perl-libwww-perl-6.05-2.el7.noarch
--> Processing Dependency: perl(HTTP::Request::Common) >= 6 for package: perl-libwww-perl-6.05-2.el7.noarch
--> Processing Dependency: perl(HTTP::Request) >= 6 for package: perl-libwww-perl-6.05-2.el7.noarch
--> Processing Dependency: perl(HTTP::Negotiate) >= 6 for package: perl-libwww-perl-6.05-2.el7.noarch
--> Processing Dependency: perl(HTTP::Date) >= 6 for package: perl-libwww-perl-6.05-2.el7.noarch
--> Processing Dependency: perl(HTTP::Daemon) >= 6 for package: perl-libwww-perl-6.05-2.el7.noarch
--> Processing Dependency: perl(HTTP::Cookies) >= 6 for package: perl-libwww-perl-6.05-2.el7.noarch
--> Processing Dependency: perl(File::Listing) >= 6 for package: perl-libwww-perl-6.05-2.el7.noarch
--> Processing Dependency: perl(URI::Heuristic) for package: perl-libwww-perl-6.05-2.el7.noarch
--> Processing Dependency: perl(URI::Escape) for package: perl-libwww-perl-6.05-2.el7.noarch
--> Processing Dependency: perl(HTML::HeadParser) for package: perl-libwww-perl-6.05-2.el7.noarch
--> Processing Dependency: perl(HTML::Entities) for package: perl-libwww-perl-6.05-2.el7.noarch
--> Processing Dependency: perl(Encode::Locale) for package: perl-libwww-perl-6.05-2.el7.noarch
--> Processing Dependency: perl(Digest::MD5) for package: perl-libwww-perl-6.05-2.el7.noarch
--> Running transaction check
---> Package gdbm-devel.x86_64 0:1.10-8.el7 will be installed
---> Package libdb-devel.x86_64 0:5.3.21-24.el7 will be installed
--> Processing Dependency: libdb(x86-64) = 5.3.21-24.el7 for package: libdb-devel-5.3.21-24.el7.x86_64
---> Package pciutils-libs.x86_64 0:3.2.1-4.el7 will be updated
---> Package pciutils-libs.x86_64 0:3.5.1-3.el7 will be an update
---> Package perl-Digest-MD5.x86_64 0:2.52-3.el7 will be installed
---> Package perl-Encode-Locale.noarch 0:1.03-5.el7 will be installed
---> Package perl-ExtUtils-ParseXS.noarch 1:3.18-3.el7 will be installed
---> Package perl-File-Listing.noarch 0:6.04-7.el7 will be installed
---> Package perl-HTML-Parser.x86_64 0:3.71-4.el7 will be installed
--> Processing Dependency: perl(HTML::Tagset) >= 3 for package: perl-HTML-Parser-3.71-4.el7.x86_64
---> Package perl-HTTP-Cookies.noarch 0:6.01-5.el7 will be installed
---> Package perl-HTTP-Daemon.noarch 0:6.01-7.el7 will be installed
--> Processing Dependency: perl(IO::Socket::IP) for package: perl-HTTP-Daemon-6.01-7.el7.noarch
---> Package perl-HTTP-Date.noarch 0:6.02-8.el7 will be installed
--> Processing Dependency: perl(Time::Zone) for package: perl-HTTP-Date-6.02-8.el7.noarch
---> Package perl-HTTP-Message.noarch 0:6.06-6.el7 will be installed
--> Processing Dependency: perl(IO::HTML) for package: perl-HTTP-Message-6.06-6.el7.noarch
---> Package perl-HTTP-Negotiate.noarch 0:6.01-5.el7 will be installed
---> Package perl-LWP-MediaTypes.noarch 0:6.02-2.el7 will be installed
--> Processing Dependency: mailcap for package: perl-LWP-MediaTypes-6.02-2.el7.noarch
---> Package perl-Net-HTTP.noarch 0:6.06-2.el7 will be installed
--> Processing Dependency: perl(IO::Socket::SSL) >= 1.38 for package: perl-Net-HTTP-6.06-2.el7.noarch
---> Package perl-URI.noarch 0:1.60-9.el7 will be installed
--> Processing Dependency: perl(Business::ISBN) for package: perl-URI-1.60-9.el7.noarch
---> Package perl-WWW-RobotRules.noarch 0:6.02-5.el7 will be installed
---> Package systemtap-sdt-devel.x86_64 0:3.2-8.el7_5 will be installed
--> Processing Dependency: pyparsing for package: systemtap-sdt-devel-3.2-8.el7_5.x86_64
--> Running transaction check
---> Package libdb.x86_64 0:5.3.21-19.el7 will be updated
--> Processing Dependency: libdb(x86-64) = 5.3.21-19.el7 for package: libdb-utils-5.3.21-19.el7.x86_64
---> Package libdb.x86_64 0:5.3.21-24.el7 will be an update
---> Package mailcap.noarch 0:2.1.41-2.el7 will be installed
---> Package perl-Business-ISBN.noarch 0:2.06-2.el7 will be installed
--> Processing Dependency: perl(Business::ISBN::Data) >= 20120719.001 for package: perl-Business-ISBN-2.06-2.el7.noarch
---> Package perl-HTML-Tagset.noarch 0:3.20-15.el7 will be installed
---> Package perl-IO-HTML.noarch 0:1.00-2.el7 will be installed
---> Package perl-IO-Socket-IP.noarch 0:0.21-5.el7 will be installed
---> Package perl-IO-Socket-SSL.noarch 0:1.94-7.el7 will be installed
--> Processing Dependency: perl-Net-SSLeay >= 1.55-5 for package: perl-IO-Socket-SSL-1.94-7.el7.noarch
--> Processing Dependency: perl(Net::SSLeay) >= 1.21 for package: perl-IO-Socket-SSL-1.94-7.el7.noarch
--> Processing Dependency: perl(Net::SSLeay) for package: perl-IO-Socket-SSL-1.94-7.el7.noarch
--> Processing Dependency: perl(Net::LibIDN) for package: perl-IO-Socket-SSL-1.94-7.el7.noarch
--> Processing Dependency: perl(Mozilla::CA) for package: perl-IO-Socket-SSL-1.94-7.el7.noarch
---> Package perl-TimeDate.noarch 1:2.30-2.el7 will be installed
---> Package pyparsing.noarch 0:1.5.6-9.el7 will be installed
--> Running transaction check
---> Package libdb-utils.x86_64 0:5.3.21-19.el7 will be updated
---> Package libdb-utils.x86_64 0:5.3.21-24.el7 will be an update
---> Package perl-Business-ISBN-Data.noarch 0:20120719.001-2.el7 will be installed
---> Package perl-Mozilla-CA.noarch 0:20130114-5.el7 will be installed
---> Package perl-Net-LibIDN.x86_64 0:0.12-15.el7 will be installed
---> Package perl-Net-SSLeay.x86_64 0:1.55-6.el7 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

================================================================================
 Package                      Arch   Version                      Repository
                                                                           Size
================================================================================
Installing:
 bind-utils                   x86_64 32:9.9.4-61.el7_5.1          updates 204 k
 fuse                         x86_64 2.9.2-10.el7                 base     86 k
 fuse-libs                    x86_64 2.9.2-10.el7                 base     93 k
 psmisc                       x86_64 22.20-15.el7                 base    141 k
 redhat-lsb                   x86_64 4.1-27.el7.centos.1          base     25 k
Installing for dependencies:
 GeoIP                        x86_64 1.5.0-11.el7                 base    1.1 M
 at                           x86_64 3.1.13-23.el7                base     51 k
 bc                           x86_64 1.06.95-13.el7               base    115 k
 bind-libs                    x86_64 32:9.9.4-61.el7_5.1          updates 1.0 M
 cups-client                  x86_64 1:1.6.3-35.el7               base    151 k
 desktop-file-utils           x86_64 0.23-1.el7                   base     67 k
 ed                           x86_64 1.9-4.el7                    base     72 k
 emacs-filesystem             noarch 1:24.3-20.el7_4              base     58 k
 foomatic-filters             x86_64 4.0.9-8.el7                  base     98 k
 gdbm-devel                   x86_64 1.10-8.el7                   base     47 k
 libdb-devel                  x86_64 5.3.21-24.el7                base     38 k
 libmng                       x86_64 1.0.10-14.el7                base    171 k
 libpng12                     x86_64 1.2.50-10.el7                base    171 k
 m4                           x86_64 1.4.16-10.el7                base    256 k
 mailcap                      noarch 2.1.41-2.el7                 base     31 k
 mailx                        x86_64 12.5-19.el7                  base    245 k
 mesa-libGLU                  x86_64 9.0.0-4.el7                  base    196 k
 patch                        x86_64 2.7.1-10.el7_5               updates 110 k
 pciutils                     x86_64 3.5.1-3.el7                  base     93 k
 perl-B-Lint                  noarch 1.17-3.el7                   base     20 k
 perl-Business-ISBN           noarch 2.06-2.el7                   base     25 k
 perl-Business-ISBN-Data      noarch 20120719.001-2.el7           base     24 k
 perl-CGI                     noarch 3.63-4.el7                   base    250 k
 perl-CPAN                    noarch 1.9800-292.el7               base    292 k
 perl-Class-ISA               noarch 0.36-1010.el7                base    8.9 k
 perl-Digest                  noarch 1.17-245.el7                 base     23 k
 perl-Digest-MD5              x86_64 2.52-3.el7                   base     30 k
 perl-Digest-SHA              x86_64 1:5.85-4.el7                 base     58 k
 perl-Encode-Locale           noarch 1.03-5.el7                   base     16 k
 perl-Env                     noarch 1.04-2.el7                   base     16 k
 perl-ExtUtils-Install        noarch 1.58-292.el7                 base     74 k
 perl-ExtUtils-MakeMaker      noarch 6.68-3.el7                   base    275 k
 perl-ExtUtils-Manifest       noarch 1.61-244.el7                 base     31 k
 perl-ExtUtils-ParseXS        noarch 1:3.18-3.el7                 base     77 k
 perl-FCGI                    x86_64 1:0.74-8.el7                 base     42 k
 perl-File-CheckTree          noarch 4.42-3.el7                   base     18 k
 perl-File-Listing            noarch 6.04-7.el7                   base     13 k
 perl-HTML-Parser             x86_64 3.71-4.el7                   base    115 k
 perl-HTML-Tagset             noarch 3.20-15.el7                  base     18 k
 perl-HTTP-Cookies            noarch 6.01-5.el7                   base     26 k
 perl-HTTP-Daemon             noarch 6.01-7.el7                   base     21 k
 perl-HTTP-Date               noarch 6.02-8.el7                   base     14 k
 perl-HTTP-Message            noarch 6.06-6.el7                   base     82 k
 perl-HTTP-Negotiate          noarch 6.01-5.el7                   base     17 k
 perl-IO-HTML                 noarch 1.00-2.el7                   base     23 k
 perl-IO-Socket-IP            noarch 0.21-5.el7                   base     36 k
 perl-IO-Socket-SSL           noarch 1.94-7.el7                   base    115 k
 perl-LWP-MediaTypes          noarch 6.02-2.el7                   base     24 k
 perl-Locale-Codes            noarch 3.26-2.el7                   base    314 k
 perl-Locale-Maketext         noarch 1.23-3.el7                   base     93 k
 perl-Module-Pluggable        noarch 1:4.8-3.el7                  base     29 k
 perl-Mozilla-CA              noarch 20130114-5.el7               base     11 k
 perl-Net-HTTP                noarch 6.06-2.el7                   base     29 k
 perl-Net-LibIDN              x86_64 0.12-15.el7                  base     28 k
 perl-Net-SSLeay              x86_64 1.55-6.el7                   base    285 k
 perl-Pod-Checker             noarch 1.60-2.el7                   base     28 k
 perl-Pod-LaTeX               noarch 0.61-2.el7                   base     35 k
 perl-Pod-Parser              noarch 1.61-2.el7                   base    107 k
 perl-Pod-Plainer             noarch 1.03-4.el7                   base    9.0 k
 perl-Sys-Syslog              x86_64 0.33-3.el7                   base     42 k
 perl-Test-Harness            noarch 3.28-3.el7                   base    302 k
 perl-Test-Simple             noarch 0.98-243.el7                 base    170 k
 perl-Text-Soundex            x86_64 3.04-4.el7                   base     19 k
 perl-Text-Unidecode          noarch 0.04-20.el7                  base    114 k
 perl-TimeDate                noarch 1:2.30-2.el7                 base     52 k
 perl-URI                     noarch 1.60-9.el7                   base    106 k
 perl-WWW-RobotRules          noarch 6.02-5.el7                   base     18 k
 perl-XML-LibXML              x86_64 1:2.0018-5.el7               base    373 k
 perl-XML-NamespaceSupport    noarch 1.11-10.el7                  base     18 k
 perl-XML-SAX                 noarch 0.99-9.el7                   base     63 k
 perl-XML-SAX-Base            noarch 1.08-7.el7                   base     32 k
 perl-autodie                 noarch 2.16-2.el7                   base     77 k
 perl-devel                   x86_64 4:5.16.3-292.el7             base    453 k
 perl-libwww-perl             noarch 6.05-2.el7                   base    205 k
 perl-local-lib               noarch 1.008010-4.el7               base     64 k
 pyparsing                    noarch 1.5.6-9.el7                  base     94 k
 qt                           x86_64 1:4.8.7-2.el7                base    4.6 M
 qt-settings                  noarch 19-23.7.el7.centos           base     17 k
 qt-x11                       x86_64 1:4.8.7-2.el7                base     13 M
 qt3                          x86_64 3.3.8b-51.el7                base    3.5 M
 redhat-lsb-core              x86_64 4.1-27.el7.centos.1          base     38 k
 redhat-lsb-cxx               x86_64 4.1-27.el7.centos.1          base     16 k
 redhat-lsb-desktop           x86_64 4.1-27.el7.centos.1          base     20 k
 redhat-lsb-languages         x86_64 4.1-27.el7.centos.1          base     18 k
 redhat-lsb-printing          x86_64 4.1-27.el7.centos.1          base     16 k
 redhat-lsb-submod-multimedia x86_64 4.1-27.el7.centos.1          base     15 k
 redhat-lsb-submod-security   x86_64 4.1-27.el7.centos.1          base     15 k
 spax                         x86_64 1.5.2-13.el7                 base    260 k
 systemtap-sdt-devel          x86_64 3.2-8.el7_5                  updates  73 k
 time                         x86_64 1.7-45.el7                   base     30 k
 xdg-utils                    noarch 1.1.0-0.17.20120809git.el7   base     70 k
Updating for dependencies:
 bind-libs-lite               x86_64 32:9.9.4-61.el7_5.1          updates 734 k
 bind-license                 noarch 32:9.9.4-61.el7_5.1          updates  85 k
 libdb                        x86_64 5.3.21-24.el7                base    720 k
 libdb-utils                  x86_64 5.3.21-24.el7                base    132 k
 pciutils-libs                x86_64 3.5.1-3.el7                  base     46 k

Transaction Summary
================================================================================
Install  5 Packages (+91 Dependent packages)
Upgrade             (  5 Dependent packages)

Total download size: 32 M
Downloading packages:
Delta RPMs disabled because /usr/bin/applydeltarpm not installed.
--------------------------------------------------------------------------------
Total                                              2.1 MB/s |  32 MB  00:14     
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
  Installing : GeoIP-1.5.0-11.el7.x86_64                                  1/106 
  Installing : perl-Test-Harness-3.28-3.el7.noarch                        2/106 
  Installing : perl-Pod-Parser-1.61-2.el7.noarch                          3/106 
  Installing : libmng-1.0.10-14.el7.x86_64                                4/106 
  Installing : perl-XML-NamespaceSupport-1.11-10.el7.noarch               5/106 
  Installing : perl-XML-SAX-Base-1.08-7.el7.noarch                        6/106 
  Updating   : libdb-5.3.21-24.el7.x86_64                                 7/106 
  Installing : perl-Digest-1.17-245.el7.noarch                            8/106 
  Installing : perl-IO-Socket-IP-0.21-5.el7.noarch                        9/106 
  Installing : perl-Encode-Locale-1.03-5.el7.noarch                      10/106 
  Updating   : 32:bind-license-9.9.4-61.el7_5.1.noarch                   11/106 
  Installing : 32:bind-libs-9.9.4-61.el7_5.1.x86_64                      12/106 
  Installing : 1:perl-Digest-SHA-5.85-4.el7.x86_64                       13/106 
  Installing : perl-Digest-MD5-2.52-3.el7.x86_64                         14/106 
  Installing : libdb-devel-5.3.21-24.el7.x86_64                          15/106 
  Installing : qt3-3.3.8b-51.el7.x86_64                                  16/106 
  Installing : perl-Pod-Checker-1.60-2.el7.noarch                        17/106 
  Installing : perl-Pod-LaTeX-0.61-2.el7.noarch                          18/106 
  Installing : perl-Pod-Plainer-1.03-4.el7.noarch                        19/106 
  Installing : perl-Test-Simple-0.98-243.el7.noarch                      20/106 
  Installing : perl-Net-LibIDN-0.12-15.el7.x86_64                        21/106 
  Installing : spax-1.5.2-13.el7.x86_64                                  22/106 
  Installing : 1:cups-client-1.6.3-35.el7.x86_64                         23/106 
  Installing : redhat-lsb-submod-multimedia-4.1-27.el7.centos.1.x86_6    24/106 
  Installing : perl-Mozilla-CA-20130114-5.el7.noarch                     25/106 
  Installing : at-3.1.13-23.el7.x86_64                                   26/106 
  Installing : pyparsing-1.5.6-9.el7.noarch                              27/106 
  Installing : systemtap-sdt-devel-3.2-8.el7_5.x86_64                    28/106 
  Updating   : pciutils-libs-3.5.1-3.el7.x86_64                          29/106 
  Installing : pciutils-3.5.1-3.el7.x86_64                               30/106 
  Installing : qt-settings-19-23.7.el7.centos.noarch                     31/106 
  Installing : 1:qt-4.8.7-2.el7.x86_64                                   32/106 
  Installing : 1:qt-x11-4.8.7-2.el7.x86_64                               33/106 
  Installing : perl-IO-HTML-1.00-2.el7.noarch                            34/106 
  Installing : 1:perl-Module-Pluggable-4.8-3.el7.noarch                  35/106 
  Installing : perl-B-Lint-1.17-3.el7.noarch                             36/106 
  Installing : perl-local-lib-1.008010-4.el7.noarch                      37/106 
  Installing : mailx-12.5-19.el7.x86_64                                  38/106 
  Installing : time-1.7-45.el7.x86_64                                    39/106 
  Installing : perl-Text-Unidecode-0.04-20.el7.noarch                    40/106 
  Installing : perl-Text-Soundex-3.04-4.el7.x86_64                       41/106 
  Installing : mesa-libGLU-9.0.0-4.el7.x86_64                            42/106 
  Installing : patch-2.7.1-10.el7_5.x86_64                               43/106 
  Installing : perl-Class-ISA-0.36-1010.el7.noarch                       44/106 
  Installing : bc-1.06.95-13.el7.x86_64                                  45/106 
  Installing : gdbm-devel-1.10-8.el7.x86_64                              46/106 
  Installing : m4-1.4.16-10.el7.x86_64                                   47/106 
  Installing : perl-ExtUtils-Manifest-1.61-244.el7.noarch                48/106 
  Installing : 1:perl-ExtUtils-ParseXS-3.18-3.el7.noarch                 49/106 
  Installing : perl-ExtUtils-MakeMaker-6.68-3.el7.noarch                 50/106 
  Installing : perl-ExtUtils-Install-1.58-292.el7.noarch                 51/106 
  Installing : 4:perl-devel-5.16.3-292.el7.x86_64                        52/106 
  Installing : perl-CPAN-1.9800-292.el7.noarch                           53/106 
  Installing : mailcap-2.1.41-2.el7.noarch                               54/106 
  Installing : perl-LWP-MediaTypes-6.02-2.el7.noarch                     55/106 
  Installing : ed-1.9-4.el7.x86_64                                       56/106 
  Installing : perl-HTML-Tagset-3.20-15.el7.noarch                       57/106 
  Installing : 1:perl-FCGI-0.74-8.el7.x86_64                             58/106 
  Installing : perl-CGI-3.63-4.el7.noarch                                59/106 
  Installing : psmisc-22.20-15.el7.x86_64                                60/106 
  Installing : perl-Env-1.04-2.el7.noarch                                61/106 
  Installing : redhat-lsb-submod-security-4.1-27.el7.centos.1.x86_64     62/106 
  Installing : redhat-lsb-core-4.1-27.el7.centos.1.x86_64                63/106 
  Installing : redhat-lsb-cxx-4.1-27.el7.centos.1.x86_64                 64/106 
  Installing : 1:perl-TimeDate-2.30-2.el7.noarch                         65/106 
  Installing : perl-HTTP-Date-6.02-8.el7.noarch                          66/106 
  Installing : perl-File-Listing-6.04-7.el7.noarch                       67/106 
  Installing : 1:emacs-filesystem-24.3-20.el7_4.noarch                   68/106 
  Installing : desktop-file-utils-0.23-1.el7.x86_64                      69/106 
  Installing : xdg-utils-1.1.0-0.17.20120809git.el7.noarch               70/106 
  Installing : perl-File-CheckTree-4.42-3.el7.noarch                     71/106 
  Installing : foomatic-filters-4.0.9-8.el7.x86_64                       72/106 
  Installing : redhat-lsb-printing-4.1-27.el7.centos.1.x86_64            73/106 
  Installing : perl-Net-SSLeay-1.55-6.el7.x86_64                         74/106 
  Installing : perl-IO-Socket-SSL-1.94-7.el7.noarch                      75/106 
  Installing : perl-Net-HTTP-6.06-2.el7.noarch                           76/106 
  Installing : perl-autodie-2.16-2.el7.noarch                            77/106 
  Installing : perl-Business-ISBN-Data-20120719.001-2.el7.noarch         78/106 
  Installing : perl-Business-ISBN-2.06-2.el7.noarch                      79/106 
  Installing : perl-URI-1.60-9.el7.noarch                                80/106 
  Installing : perl-HTTP-Message-6.06-6.el7.noarch                       81/106 
  Installing : perl-HTTP-Cookies-6.01-5.el7.noarch                       82/106 
  Installing : perl-HTML-Parser-3.71-4.el7.x86_64                        83/106 
  Installing : perl-HTTP-Negotiate-6.01-5.el7.noarch                     84/106 
  Installing : perl-HTTP-Daemon-6.01-7.el7.noarch                        85/106 
  Installing : perl-WWW-RobotRules-6.02-5.el7.noarch                     86/106 
  Installing : perl-libwww-perl-6.05-2.el7.noarch                        87/106 
  Installing : perl-XML-SAX-0.99-9.el7.noarch                            88/106 
  Installing : 1:perl-XML-LibXML-2.0018-5.el7.x86_64                     89/106 
  Installing : perl-Sys-Syslog-0.33-3.el7.x86_64                         90/106 
  Installing : libpng12-1.2.50-10.el7.x86_64                             91/106 
  Installing : redhat-lsb-desktop-4.1-27.el7.centos.1.x86_64             92/106 
  Installing : perl-Locale-Codes-3.26-2.el7.noarch                       93/106 
  Installing : perl-Locale-Maketext-1.23-3.el7.noarch                    94/106 
  Installing : redhat-lsb-languages-4.1-27.el7.centos.1.x86_64           95/106 
  Installing : redhat-lsb-4.1-27.el7.centos.1.x86_64                     96/106 
  Installing : 32:bind-utils-9.9.4-61.el7_5.1.x86_64                     97/106 
  Updating   : 32:bind-libs-lite-9.9.4-61.el7_5.1.x86_64                 98/106 
  Updating   : libdb-utils-5.3.21-24.el7.x86_64                          99/106 
  Installing : fuse-libs-2.9.2-10.el7.x86_64                            100/106 
  Installing : fuse-2.9.2-10.el7.x86_64                                 101/106 
  Cleanup    : 32:bind-libs-lite-9.9.4-29.el7.x86_64                    102/106 
  Cleanup    : libdb-utils-5.3.21-19.el7.x86_64                         103/106 
  Cleanup    : 32:bind-license-9.9.4-29.el7.noarch                      104/106 
  Cleanup    : libdb-5.3.21-19.el7.x86_64                               105/106 
  Cleanup    : pciutils-libs-3.2.1-4.el7.x86_64                         106/106 
  Verifying  : redhat-lsb-desktop-4.1-27.el7.centos.1.x86_64              1/106 
  Verifying  : perl-Pod-Parser-1.61-2.el7.noarch                          2/106 
  Verifying  : libdb-devel-5.3.21-24.el7.x86_64                           3/106 
  Verifying  : redhat-lsb-languages-4.1-27.el7.centos.1.x86_64            4/106 
  Verifying  : fuse-2.9.2-10.el7.x86_64                                   5/106 
  Verifying  : perl-Locale-Maketext-1.23-3.el7.noarch                     6/106 
  Verifying  : qt3-3.3.8b-51.el7.x86_64                                   7/106 
  Verifying  : perl-Test-Simple-0.98-243.el7.noarch                       8/106 
  Verifying  : perl-LWP-MediaTypes-6.02-2.el7.noarch                      9/106 
  Verifying  : perl-Locale-Codes-3.26-2.el7.noarch                       10/106 
  Verifying  : libpng12-1.2.50-10.el7.x86_64                             11/106 
  Verifying  : perl-Sys-Syslog-0.33-3.el7.x86_64                         12/106 
  Verifying  : perl-Business-ISBN-Data-20120719.001-2.el7.noarch         13/106 
  Verifying  : desktop-file-utils-0.23-1.el7.x86_64                      14/106 
  Verifying  : perl-IO-Socket-SSL-1.94-7.el7.noarch                      15/106 
  Verifying  : libdb-utils-5.3.21-24.el7.x86_64                          16/106 
  Verifying  : 32:bind-license-9.9.4-61.el7_5.1.noarch                   17/106 
  Verifying  : perl-Encode-Locale-1.03-5.el7.noarch                      18/106 
  Verifying  : perl-autodie-2.16-2.el7.noarch                            19/106 
  Verifying  : perl-CPAN-1.9800-292.el7.noarch                           20/106 
  Verifying  : perl-IO-Socket-IP-0.21-5.el7.noarch                       21/106 
  Verifying  : perl-Net-SSLeay-1.55-6.el7.x86_64                         22/106 
  Verifying  : foomatic-filters-4.0.9-8.el7.x86_64                       23/106 
  Verifying  : perl-File-CheckTree-4.42-3.el7.noarch                     24/106 
  Verifying  : 1:emacs-filesystem-24.3-20.el7_4.noarch                   25/106 
  Verifying  : perl-Net-HTTP-6.06-2.el7.noarch                           26/106 
  Verifying  : 1:perl-Digest-SHA-5.85-4.el7.x86_64                       27/106 
  Verifying  : pciutils-3.5.1-3.el7.x86_64                               28/106 
  Verifying  : 1:perl-TimeDate-2.30-2.el7.noarch                         29/106 
  Verifying  : redhat-lsb-submod-security-4.1-27.el7.centos.1.x86_64     30/106 
  Verifying  : perl-B-Lint-1.17-3.el7.noarch                             31/106 
  Verifying  : perl-HTTP-Cookies-6.01-5.el7.noarch                       32/106 
  Verifying  : xdg-utils-1.1.0-0.17.20120809git.el7.noarch               33/106 
  Verifying  : 1:qt-4.8.7-2.el7.x86_64                                   34/106 
  Verifying  : 1:perl-ExtUtils-ParseXS-3.18-3.el7.noarch                 35/106 
  Verifying  : perl-ExtUtils-MakeMaker-6.68-3.el7.noarch                 36/106 
  Verifying  : perl-Env-1.04-2.el7.noarch                                37/106 
  Verifying  : 32:bind-utils-9.9.4-61.el7_5.1.x86_64                     38/106 
  Verifying  : 32:bind-libs-lite-9.9.4-61.el7_5.1.x86_64                 39/106 
  Verifying  : psmisc-22.20-15.el7.x86_64                                40/106 
  Verifying  : perl-Pod-Checker-1.60-2.el7.noarch                        41/106 
  Verifying  : 1:perl-XML-LibXML-2.0018-5.el7.x86_64                     42/106 
  Verifying  : 1:perl-FCGI-0.74-8.el7.x86_64                             43/106 
  Verifying  : perl-HTML-Tagset-3.20-15.el7.noarch                       44/106 
  Verifying  : redhat-lsb-cxx-4.1-27.el7.centos.1.x86_64                 45/106 
  Verifying  : perl-ExtUtils-Install-1.58-292.el7.noarch                 46/106 
  Verifying  : ed-1.9-4.el7.x86_64                                       47/106 
  Verifying  : redhat-lsb-core-4.1-27.el7.centos.1.x86_64                48/106 
  Verifying  : perl-Digest-1.17-245.el7.noarch                           49/106 
  Verifying  : 1:qt-x11-4.8.7-2.el7.x86_64                               50/106 
  Verifying  : perl-URI-1.60-9.el7.noarch                                51/106 
  Verifying  : perl-File-Listing-6.04-7.el7.noarch                       52/106 
  Verifying  : perl-Business-ISBN-2.06-2.el7.noarch                      53/106 
  Verifying  : 32:bind-libs-9.9.4-61.el7_5.1.x86_64                      54/106 
  Verifying  : mailcap-2.1.41-2.el7.noarch                               55/106 
  Verifying  : perl-ExtUtils-Manifest-1.61-244.el7.noarch                56/106 
  Verifying  : m4-1.4.16-10.el7.x86_64                                   57/106 
  Verifying  : gdbm-devel-1.10-8.el7.x86_64                              58/106 
  Verifying  : redhat-lsb-printing-4.1-27.el7.centos.1.x86_64            59/106 
  Verifying  : bc-1.06.95-13.el7.x86_64                                  60/106 
  Verifying  : perl-HTML-Parser-3.71-4.el7.x86_64                        61/106 
  Verifying  : perl-HTTP-Message-6.06-6.el7.noarch                       62/106 
  Verifying  : perl-Test-Harness-3.28-3.el7.noarch                       63/106 
  Verifying  : perl-Pod-LaTeX-0.61-2.el7.noarch                          64/106 
  Verifying  : perl-WWW-RobotRules-6.02-5.el7.noarch                     65/106 
  Verifying  : 4:perl-devel-5.16.3-292.el7.x86_64                        66/106 
  Verifying  : libdb-5.3.21-24.el7.x86_64                                67/106 
  Verifying  : qt-settings-19-23.7.el7.centos.noarch                     68/106 
  Verifying  : perl-Class-ISA-0.36-1010.el7.noarch                       69/106 
  Verifying  : fuse-libs-2.9.2-10.el7.x86_64                             70/106 
  Verifying  : perl-HTTP-Negotiate-6.01-5.el7.noarch                     71/106 
  Verifying  : patch-2.7.1-10.el7_5.x86_64                               72/106 
  Verifying  : mesa-libGLU-9.0.0-4.el7.x86_64                            73/106 
  Verifying  : perl-Text-Unidecode-0.04-20.el7.noarch                    74/106 
  Verifying  : time-1.7-45.el7.x86_64                                    75/106 
  Verifying  : systemtap-sdt-devel-3.2-8.el7_5.x86_64                    76/106 
  Verifying  : perl-Text-Soundex-3.04-4.el7.x86_64                       77/106 
  Verifying  : perl-XML-SAX-Base-1.08-7.el7.noarch                       78/106 
  Verifying  : mailx-12.5-19.el7.x86_64                                  79/106 
  Verifying  : perl-local-lib-1.008010-4.el7.noarch                      80/106 
  Verifying  : 1:perl-Module-Pluggable-4.8-3.el7.noarch                  81/106 
  Verifying  : perl-IO-HTML-1.00-2.el7.noarch                            82/106 
  Verifying  : pciutils-libs-3.5.1-3.el7.x86_64                          83/106 
  Verifying  : pyparsing-1.5.6-9.el7.noarch                              84/106 
  Verifying  : at-3.1.13-23.el7.x86_64                                   85/106 
  Verifying  : perl-HTTP-Date-6.02-8.el7.noarch                          86/106 
  Verifying  : perl-XML-NamespaceSupport-1.11-10.el7.noarch              87/106 
  Verifying  : perl-Mozilla-CA-20130114-5.el7.noarch                     88/106 
  Verifying  : libmng-1.0.10-14.el7.x86_64                               89/106 
  Verifying  : perl-HTTP-Daemon-6.01-7.el7.noarch                        90/106 
  Verifying  : perl-Digest-MD5-2.52-3.el7.x86_64                         91/106 
  Verifying  : redhat-lsb-4.1-27.el7.centos.1.x86_64                     92/106 
  Verifying  : perl-libwww-perl-6.05-2.el7.noarch                        93/106 
  Verifying  : redhat-lsb-submod-multimedia-4.1-27.el7.centos.1.x86_6    94/106 
  Verifying  : perl-XML-SAX-0.99-9.el7.noarch                            95/106 
  Verifying  : 1:cups-client-1.6.3-35.el7.x86_64                         96/106 
  Verifying  : perl-CGI-3.63-4.el7.noarch                                97/106 
  Verifying  : perl-Pod-Plainer-1.03-4.el7.noarch                        98/106 
  Verifying  : GeoIP-1.5.0-11.el7.x86_64                                 99/106 
  Verifying  : spax-1.5.2-13.el7.x86_64                                 100/106 
  Verifying  : perl-Net-LibIDN-0.12-15.el7.x86_64                       101/106 
  Verifying  : libdb-5.3.21-19.el7.x86_64                               102/106 
  Verifying  : 32:bind-license-9.9.4-29.el7.noarch                      103/106 
  Verifying  : 32:bind-libs-lite-9.9.4-29.el7.x86_64                    104/106 
  Verifying  : pciutils-libs-3.2.1-4.el7.x86_64                         105/106 
  Verifying  : libdb-utils-5.3.21-19.el7.x86_64                         106/106 

Installed:
  bind-utils.x86_64 32:9.9.4-61.el7_5.1        fuse.x86_64 0:2.9.2-10.el7       
  fuse-libs.x86_64 0:2.9.2-10.el7              psmisc.x86_64 0:22.20-15.el7     
  redhat-lsb.x86_64 0:4.1-27.el7.centos.1     

Dependency Installed:
  GeoIP.x86_64 0:1.5.0-11.el7                                                   
  at.x86_64 0:3.1.13-23.el7                                                     
  bc.x86_64 0:1.06.95-13.el7                                                    
  bind-libs.x86_64 32:9.9.4-61.el7_5.1                                          
  cups-client.x86_64 1:1.6.3-35.el7                                             
  desktop-file-utils.x86_64 0:0.23-1.el7                                        
  ed.x86_64 0:1.9-4.el7                                                         
  emacs-filesystem.noarch 1:24.3-20.el7_4                                       
  foomatic-filters.x86_64 0:4.0.9-8.el7                                         
  gdbm-devel.x86_64 0:1.10-8.el7                                                
  libdb-devel.x86_64 0:5.3.21-24.el7                                            
  libmng.x86_64 0:1.0.10-14.el7                                                 
  libpng12.x86_64 0:1.2.50-10.el7                                               
  m4.x86_64 0:1.4.16-10.el7                                                     
  mailcap.noarch 0:2.1.41-2.el7                                                 
  mailx.x86_64 0:12.5-19.el7                                                    
  mesa-libGLU.x86_64 0:9.0.0-4.el7                                              
  patch.x86_64 0:2.7.1-10.el7_5                                                 
  pciutils.x86_64 0:3.5.1-3.el7                                                 
  perl-B-Lint.noarch 0:1.17-3.el7                                               
  perl-Business-ISBN.noarch 0:2.06-2.el7                                        
  perl-Business-ISBN-Data.noarch 0:20120719.001-2.el7                           
  perl-CGI.noarch 0:3.63-4.el7                                                  
  perl-CPAN.noarch 0:1.9800-292.el7                                             
  perl-Class-ISA.noarch 0:0.36-1010.el7                                         
  perl-Digest.noarch 0:1.17-245.el7                                             
  perl-Digest-MD5.x86_64 0:2.52-3.el7                                           
  perl-Digest-SHA.x86_64 1:5.85-4.el7                                           
  perl-Encode-Locale.noarch 0:1.03-5.el7                                        
  perl-Env.noarch 0:1.04-2.el7                                                  
  perl-ExtUtils-Install.noarch 0:1.58-292.el7                                   
  perl-ExtUtils-MakeMaker.noarch 0:6.68-3.el7                                   
  perl-ExtUtils-Manifest.noarch 0:1.61-244.el7                                  
  perl-ExtUtils-ParseXS.noarch 1:3.18-3.el7                                     
  perl-FCGI.x86_64 1:0.74-8.el7                                                 
  perl-File-CheckTree.noarch 0:4.42-3.el7                                       
  perl-File-Listing.noarch 0:6.04-7.el7                                         
  perl-HTML-Parser.x86_64 0:3.71-4.el7                                          
  perl-HTML-Tagset.noarch 0:3.20-15.el7                                         
  perl-HTTP-Cookies.noarch 0:6.01-5.el7                                         
  perl-HTTP-Daemon.noarch 0:6.01-7.el7                                          
  perl-HTTP-Date.noarch 0:6.02-8.el7                                            
  perl-HTTP-Message.noarch 0:6.06-6.el7                                         
  perl-HTTP-Negotiate.noarch 0:6.01-5.el7                                       
  perl-IO-HTML.noarch 0:1.00-2.el7                                              
  perl-IO-Socket-IP.noarch 0:0.21-5.el7                                         
  perl-IO-Socket-SSL.noarch 0:1.94-7.el7                                        
  perl-LWP-MediaTypes.noarch 0:6.02-2.el7                                       
  perl-Locale-Codes.noarch 0:3.26-2.el7                                         
  perl-Locale-Maketext.noarch 0:1.23-3.el7                                      
  perl-Module-Pluggable.noarch 1:4.8-3.el7                                      
  perl-Mozilla-CA.noarch 0:20130114-5.el7                                       
  perl-Net-HTTP.noarch 0:6.06-2.el7                                             
  perl-Net-LibIDN.x86_64 0:0.12-15.el7                                          
  perl-Net-SSLeay.x86_64 0:1.55-6.el7                                           
  perl-Pod-Checker.noarch 0:1.60-2.el7                                          
  perl-Pod-LaTeX.noarch 0:0.61-2.el7                                            
  perl-Pod-Parser.noarch 0:1.61-2.el7                                           
  perl-Pod-Plainer.noarch 0:1.03-4.el7                                          
  perl-Sys-Syslog.x86_64 0:0.33-3.el7                                           
  perl-Test-Harness.noarch 0:3.28-3.el7                                         
  perl-Test-Simple.noarch 0:0.98-243.el7                                        
  perl-Text-Soundex.x86_64 0:3.04-4.el7                                         
  perl-Text-Unidecode.noarch 0:0.04-20.el7                                      
  perl-TimeDate.noarch 1:2.30-2.el7                                             
  perl-URI.noarch 0:1.60-9.el7                                                  
  perl-WWW-RobotRules.noarch 0:6.02-5.el7                                       
  perl-XML-LibXML.x86_64 1:2.0018-5.el7                                         
  perl-XML-NamespaceSupport.noarch 0:1.11-10.el7                                
  perl-XML-SAX.noarch 0:0.99-9.el7                                              
  perl-XML-SAX-Base.noarch 0:1.08-7.el7                                         
  perl-autodie.noarch 0:2.16-2.el7                                              
  perl-devel.x86_64 4:5.16.3-292.el7                                            
  perl-libwww-perl.noarch 0:6.05-2.el7                                          
  perl-local-lib.noarch 0:1.008010-4.el7                                        
  pyparsing.noarch 0:1.5.6-9.el7                                                
  qt.x86_64 1:4.8.7-2.el7                                                       
  qt-settings.noarch 0:19-23.7.el7.centos                                       
  qt-x11.x86_64 1:4.8.7-2.el7                                                   
  qt3.x86_64 0:3.3.8b-51.el7                                                    
  redhat-lsb-core.x86_64 0:4.1-27.el7.centos.1                                  
  redhat-lsb-cxx.x86_64 0:4.1-27.el7.centos.1                                   
  redhat-lsb-desktop.x86_64 0:4.1-27.el7.centos.1                               
  redhat-lsb-languages.x86_64 0:4.1-27.el7.centos.1                             
  redhat-lsb-printing.x86_64 0:4.1-27.el7.centos.1                              
  redhat-lsb-submod-multimedia.x86_64 0:4.1-27.el7.centos.1                     
  redhat-lsb-submod-security.x86_64 0:4.1-27.el7.centos.1                       
  spax.x86_64 0:1.5.2-13.el7                                                    
  systemtap-sdt-devel.x86_64 0:3.2-8.el7_5                                      
  time.x86_64 0:1.7-45.el7                                                      
  xdg-utils.noarch 0:1.1.0-0.17.20120809git.el7                                 

Dependency Updated:
  bind-libs-lite.x86_64 32:9.9.4-61.el7_5.1                                     
  bind-license.noarch 32:9.9.4-61.el7_5.1                                       
  libdb.x86_64 0:5.3.21-24.el7                                                  
  libdb-utils.x86_64 0:5.3.21-24.el7                                            
  pciutils-libs.x86_64 0:3.5.1-3.el7                                            

Complete!
命令执行成功
============= node102.yinzhengjie.org.cn : yum -y install chkconfig python bind-utils psmisc libxslt zlib sqlite cyrus-sasl-plain cyrus-sasl-gssapi fuse fuse-libs redhat-lsb ============
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
 * base: mirrors.huaweicloud.com
 * extras: mirrors.huaweicloud.com
 * updates: mirrors.163.com
Package chkconfig-1.7.4-1.el7.x86_64 already installed and latest version
Package python-2.7.5-69.el7_5.x86_64 already installed and latest version
Package 32:bind-utils-9.9.4-61.el7_5.1.x86_64 already installed and latest version
Package psmisc-22.20-15.el7.x86_64 already installed and latest version
Package libxslt-1.1.28-5.el7.x86_64 already installed and latest version
Package zlib-1.2.7-17.el7.x86_64 already installed and latest version
Package sqlite-3.7.17-8.el7.x86_64 already installed and latest version
Package cyrus-sasl-plain-2.1.26-23.el7.x86_64 already installed and latest version
Package cyrus-sasl-gssapi-2.1.26-23.el7.x86_64 already installed and latest version
Package fuse-2.9.2-10.el7.x86_64 already installed and latest version
Package fuse-libs-2.9.2-10.el7.x86_64 already installed and latest version
Package redhat-lsb-4.1-27.el7.centos.1.x86_64 already installed and latest version
Nothing to do
命令执行成功
============= node103.yinzhengjie.org.cn : yum -y install chkconfig python bind-utils psmisc libxslt zlib sqlite cyrus-sasl-plain cyrus-sasl-gssapi fuse fuse-libs redhat-lsb ============
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
 * base: mirrors.huaweicloud.com
 * extras: mirrors.huaweicloud.com
 * updates: mirrors.aliyun.com
Package chkconfig-1.7.4-1.el7.x86_64 already installed and latest version
Package python-2.7.5-69.el7_5.x86_64 already installed and latest version
Package 32:bind-utils-9.9.4-61.el7_5.1.x86_64 already installed and latest version
Package psmisc-22.20-15.el7.x86_64 already installed and latest version
Package libxslt-1.1.28-5.el7.x86_64 already installed and latest version
Package zlib-1.2.7-17.el7.x86_64 already installed and latest version
Package sqlite-3.7.17-8.el7.x86_64 already installed and latest version
Package cyrus-sasl-plain-2.1.26-23.el7.x86_64 already installed and latest version
Package cyrus-sasl-gssapi-2.1.26-23.el7.x86_64 already installed and latest version
Package fuse-2.9.2-10.el7.x86_64 already installed and latest version
Package fuse-libs-2.9.2-10.el7.x86_64 already installed and latest version
Package redhat-lsb-4.1-27.el7.centos.1.x86_64 already installed and latest version
Nothing to do
命令执行成功
[root@node101 ~]# 
[root@node101 ~]# xcall.sh "yum -y install chkconfig python bind-utils psmisc libxslt zlib sqlite cyrus-sasl-plain cyrus-sasl-gssapi fuse fuse-libs redhat-lsb"

2>.安装Cloudera Manager Server,Agent(在所有机器)

[root@node101 ~]# xcall.sh mkdir `pwd`/download
============= node101.yinzhengjie.org.cn : mkdir /root/download ============
命令执行成功
============= node102.yinzhengjie.org.cn : mkdir /root/download ============
命令执行成功
============= node103.yinzhengjie.org.cn : mkdir /root/download ============
命令执行成功
[root@node101 ~]# 
[root@node101 ~]# cd download/                            #将之前下载好的CDH文件上传到:node101.yinzhengjie.org.cn这台服务器上。如果网速较慢的小伙伴可以用我已经下载好的软件,放在百度云啦:链接:https://pan.baidu.com/s/148t70GenClGQRtJYX8WjvQ 密码:i2yd
[root@node101 download]#
[root@node101 download]# ll
total 2890556
-rw-r--r-- 1 root root 2120090032 Aug 23 03:54 CDH-5.15.1-1.cdh5.15.1.p0.4-el7.parcel
-rw-r--r-- 1 root root         41 Sep 13 01:44 CDH-5.15.1-1.cdh5.15.1.p0.4-el7.parcel.sha1
-rw-r--r-- 1 root root  838894986 Sep 13 02:47 cloudera-manager-centos7-cm5.15.1_x86_64.tar.gz
-rw-r--r-- 1 root root      73767 Aug 24 08:33 manifest.json
-rw-r--r-- 1 root root     855946 Sep 12 18:14 mysql-connector-java-5.1.26.jar
[root@node101 download]# 
[root@node101 download]# 
[root@node101 download]# ll
total 2890556
-rw-r--r-- 1 root root 2120090032 Aug 23 03:54 CDH-5.15.1-1.cdh5.15.1.p0.4-el7.parcel
-rw-r--r-- 1 root root         41 Sep 13 01:44 CDH-5.15.1-1.cdh5.15.1.p0.4-el7.parcel.sha1
-rw-r--r-- 1 root root  838894986 Sep 13 02:47 cloudera-manager-centos7-cm5.15.1_x86_64.tar.gz
-rw-r--r-- 1 root root      73767 Aug 24 08:33 manifest.json
-rw-r--r-- 1 root root     855946 Sep 12 18:14 mysql-connector-java-5.1.26.jar
[root@node101 download]# 
[root@node101 download]# xrsync.sh cloudera-manager-centos7-cm5.15.1_x86_64.tar.gz         #分发CM文件到各个agent
=========== node102.yinzhengjie.org.cn : %file ===========
命令执行成功
=========== node103.yinzhengjie.org.cn : %file ===========
命令执行成功
[root@node101 download]# 
[root@node101 download]# 
[root@node101 download]# 
[root@node101 download]# xcall.sh ls -l `pwd`                                        #查看是否分发完成
============= node101.yinzhengjie.org.cn : ls -l /root/download ============
total 2890556
-rw-r--r-- 1 root root 2120090032 Aug 23 03:54 CDH-5.15.1-1.cdh5.15.1.p0.4-el7.parcel
-rw-r--r-- 1 root root         41 Sep 13 01:44 CDH-5.15.1-1.cdh5.15.1.p0.4-el7.parcel.sha1
-rw-r--r-- 1 root root  838894986 Sep 13 02:47 cloudera-manager-centos7-cm5.15.1_x86_64.tar.gz
-rw-r--r-- 1 root root      73767 Aug 24 08:33 manifest.json
-rw-r--r-- 1 root root     855946 Sep 12 18:14 mysql-connector-java-5.1.26.jar
命令执行成功
============= node102.yinzhengjie.org.cn : ls -l /root/download ============
total 819236
-rw-r--r-- 1 root root 838894986 Sep 13 07:13 cloudera-manager-centos7-cm5.15.1_x86_64.tar.gz
命令执行成功
============= node103.yinzhengjie.org.cn : ls -l /root/download ============
total 819236
-rw-r--r-- 1 root root 838894986 Sep 13 07:14 cloudera-manager-centos7-cm5.15.1_x86_64.tar.gz
命令执行成功
[root@node101 download]# 
分发Cloudera Manager到各个节点([root@node101 download]# xrsync.sh cloudera-manager-centos7-cm5.15.1_x86_64.tar.gz )
[root@node101 download]# xcall.sh mkdir /opt/cloudera-manager
============= node101.yinzhengjie.org.cn : mkdir /opt/cloudera-manager ============
命令执行成功
============= node102.yinzhengjie.org.cn : mkdir /opt/cloudera-manager ============
命令执行成功
============= node103.yinzhengjie.org.cn : mkdir /opt/cloudera-manager ============
命令执行成功
[root@node101 download]# 
创建解压CM默认解压的目录,如果你想要使用别的解压目录别忘了修改配置文件哟([root@node101 download]# xcall.sh mkdir /opt/cloudera-manager)
[root@node101 download]# xcall.sh tar -zxf `pwd`/cloudera-manager-centos7-cm5.15.1_x86_64.tar.gz -C /opt/cloudera-manager
============= node101.yinzhengjie.org.cn : tar -zxf /root/download/cloudera-manager-centos7-cm5.15.1_x86_64.tar.gz -C /opt/cloudera-manager ============
命令执行成功
============= node102.yinzhengjie.org.cn : tar -zxf /root/download/cloudera-manager-centos7-cm5.15.1_x86_64.tar.gz -C /opt/cloudera-manager ============
命令执行成功
============= node103.yinzhengjie.org.cn : tar -zxf /root/download/cloudera-manager-centos7-cm5.15.1_x86_64.tar.gz -C /opt/cloudera-manager ============
命令执行成功
[root@node101 download]# 
[root@node101 download]# xcall.sh ls -l /opt/cloudera-manager/
============= node101.yinzhengjie.org.cn : ls -l /opt/cloudera-manager/ ============
total 0
drwxr-xr-x 4 1106 4001 34 Jul 31 18:28 cloudera
drwxr-xr-x 9 1106 4001 81 Jul 31 18:28 cm-5.15.1
命令执行成功
============= node102.yinzhengjie.org.cn : ls -l /opt/cloudera-manager/ ============
total 0
drwxr-xr-x 4 jenkins jenkins 34 Jul 31 18:28 cloudera
drwxr-xr-x 9 jenkins jenkins 81 Jul 31 18:28 cm-5.15.1
命令执行成功
============= node103.yinzhengjie.org.cn : ls -l /opt/cloudera-manager/ ============
total 0
drwxr-xr-x 4 1106 4001 34 Jul 31 18:28 cloudera
drwxr-xr-x 9 1106 4001 81 Jul 31 18:28 cm-5.15.1
命令执行成功
[root@node101 download]# 
将CM解压到我们刚刚创建的目录([root@node101 download]# xcall.sh tar -zxf `pwd`/cloudera-manager-centos7-cm5.15.1_x86_64.tar.gz -C /opt/cloudera-manager)

3>.在所有的节点上创建clodera-scm用户

[root@node101 schema]# xcall.sh 'useradd --system --no-create-home --shell=/bin/false --comment "Cloudera SCM User" cloudera-scm'
============= node101.yinzhengjie.org.cn : useradd --system --no-create-home --shell=/bin/false --comment "Cloudera SCM User" cloudera-scm ============
命令执行成功
============= node102.yinzhengjie.org.cn : useradd --system --no-create-home --shell=/bin/false --comment "Cloudera SCM User" cloudera-scm ============
命令执行成功
============= node103.yinzhengjie.org.cn : useradd --system --no-create-home --shell=/bin/false --comment "Cloudera SCM User" cloudera-scm ============
命令执行成功
[root@node101 schema]# 
[root@node101 schema]# xcall.sh  id cloudera-scm
============= node101.yinzhengjie.org.cn : id cloudera-scm ============
uid=994(cloudera-scm) gid=993(cloudera-scm) groups=993(cloudera-scm)
命令执行成功
============= node102.yinzhengjie.org.cn : id cloudera-scm ============
uid=993(cloudera-scm) gid=992(cloudera-scm) groups=992(cloudera-scm)
命令执行成功
============= node103.yinzhengjie.org.cn : id cloudera-scm ============
uid=994(cloudera-scm) gid=993(cloudera-scm) groups=993(cloudera-scm)
命令执行成功
[root@node101 schema]# 
[root@node101 schema]# xcall.sh 'useradd --system --no-create-home --shell=/bin/false --comment "Cloudera SCM User" cloudera-scm'

4>.配置CM的Agent端

[root@node101 download]# 
[root@node101 download]# grep server_port /opt/cloudera-manager/cm-5.15.1/etc/cloudera-scm-agent/config.ini              #注意,server_port 是Server和Agent的通信端口,没事别瞎改啊!
server_port=7182
[root@node101 download]# 
[root@node101 download]# grep server_host /opt/cloudera-manager/cm-5.15.1/etc/cloudera-scm-agent/config.ini               #CM服务器默认是本机
server_host=localhost
[root@node101 download]# 
[root@node101 download]# sed -i 's/server_host=localhost/server_host=node101.yinzhengjie.org.cn/g' /opt/cloudera-manager/cm-5.15.1/etc/cloudera-scm-agent/config.ini         #我们指定CM的Server端
[root@node101 download]# 
[root@node101 download]# grep server_host /opt/cloudera-manager/cm-5.15.1/etc/cloudera-scm-agent/config.ini                  #查看修改后的内容
server_host=node101.yinzhengjie.org.cn
[root@node101 download]# 
[root@node101 download]# 
[root@node101 download]# sed -i 's/server_host=localhost/server_host=node101.yinzhengjie.org.cn/g' /opt/cloudera-manager/cm-5.15.1/etc/cloudera-scm-agent/config.ini         #我们指定CM的Server端
[root@node101 download]# xrsync.sh /opt/cloudera-manager/cm-5.15.1/etc/cloudera-scm-agent/config.ini        #和各个节点配置同步配置信息
=========== node102.yinzhengjie.org.cn : %file ===========
命令执行成功
=========== node103.yinzhengjie.org.cn : %file ===========
命令执行成功
[root@node101 download]# 
[root@node101 download]# 
[root@node101 download]# xcall.sh grep server_host /opt/cloudera-manager/cm-5.15.1/etc/cloudera-scm-agent/config.ini              #验证配置信息是否同步成功
============= node101.yinzhengjie.org.cn : grep server_host /opt/cloudera-manager/cm-5.15.1/etc/cloudera-scm-agent/config.ini ============
server_host=node101.yinzhengjie.org.cn
命令执行成功
============= node102.yinzhengjie.org.cn : grep server_host /opt/cloudera-manager/cm-5.15.1/etc/cloudera-scm-agent/config.ini ============
server_host=node101.yinzhengjie.org.cn
命令执行成功
============= node103.yinzhengjie.org.cn : grep server_host /opt/cloudera-manager/cm-5.15.1/etc/cloudera-scm-agent/config.ini ============
server_host=node101.yinzhengjie.org.cn
命令执行成功
[root@node101 download]# 
将node101.yinzhengjie.org.cn这个节点的配置信息同步到其它节点上([root@node101 download]# xrsync.sh /opt/cloudera-manager/cm-5.15.1/etc/cloudera-scm-agent/config.ini)

5>.配置CM Server数据库

[root@node101 download]# cp mysql-connector-java-5.1.26.jar /usr/share/java/mysql-connector-java.jar
[root@node101 download]# 
[root@node101 download]# ll /usr/share/java  | grep mysql
-rw-r--r--  1 root root  855946 Sep 13 00:51 mysql-connector-java.jar
[root@node101 download]# 
注意jar包名称要重命名,切记要将版本号去除,否则你在做下一步的时候会给你带来一些不必要的烦恼哟!([root@node101 download]# cp mysql-connector-java-5.1.26.jar /usr/share/java/mysql-connector-java.jar)
[root@node101 download]# cd /opt/cloudera-manager/cm-5.15.1/share/cmf/schema/
[root@node101 schema]# 
[root@node101 schema]# ll
total 60
drwxr-xr-x 4 1106 4001  8192 Jul 31 18:29 mysql
drwxr-xr-x 4 1106 4001  8192 Jul 31 18:29 oracle
drwxr-xr-x 4 1106 4001 12288 Jul 31 18:29 postgresql
-rw-r--r-- 1 1106 4001  1437 Jul 31 18:29 scm_database_functions.sh
-rwxr-xr-x 1 1106 4001 12723 Jul 31 18:29 scm_prepare_database.sh
[root@node101 schema]# 
[root@node101 schema]# 
[root@node101 schema]# ./scm_prepare_database.sh mysql cdh -h node101.yinzhengjie.org.cn -ucdh -pyinzhengjie --scm-host node101.yinzhengjie.org.cn scm scm scm                #其格式为:数据库类型,数据库,数据库服务器,用户名,密码,CM服务器,后面的三个scm请不要改动!
JAVA_HOME=/usr/java/jdk1.8
Verifying that we can write to /opt/cloudera-manager/cm-5.15.1/etc/cloudera-scm-server
Creating SCM configuration file in /opt/cloudera-manager/cm-5.15.1/etc/cloudera-scm-server
Executing:  /usr/java/jdk1.8/bin/java -cp /usr/share/java/mysql-connector-java.jar:/usr/share/java/oracle-connector-java.jar:/usr/share/java/postgresql-connector-java.jar:/opt/cloudera-manager/cm-5.15.1/share/cmf/schema/../lib/* com.cloudera.enterprise.dbutil.DbCommandExecutor /opt/cloudera-manager/cm-5.15.1/etc/cloudera-scm-server/db.properties com.cloudera.cmf.db.
2018-09-13 07:29:50,788 [main] INFO  com.cloudera.enterprise.dbutil.DbCommandExecutor  - Successfully connected to database.
All done, your SCM database is configured correctly!
[root@node101 schema]# 
[root@node101 schema]# echo $?
0
[root@node101 schema]# 
执行数据库初始化脚本([root@node101 schema]# ./scm_prepare_database.sh mysql cdh -h node101.yinzhengjie.org.cn -ucdh -pyinzhengjie --scm-host node101.yinzhengjie.org.cn scm scm scm #其格式为:数据库类型,数据库,数据库服务器,用户名,密码,CM服务器,后面的三个scm请不要改动!)

6>.创建Parcel目录

[root@node101 schema]# mkdir -p /opt/cloudera/parcel-repo                                #Server端创建Parcel目录
[root@node101 schema]# 
[root@node101 schema]# chown cloudera-scm:cloudera-scm /opt/cloudera/parcel-repo/        #别忘记把权限给赋给我们之前创建的cloudera-scm 用户
[root@node101 schema]# 
[root@node101 schema]# ll -d  /opt/cloudera/parcel-repo/
drwxr-xr-x 2 cloudera-scm cloudera-scm 6 Sep 13 07:34 /opt/cloudera/parcel-repo/
[root@node101 schema]# 
[root@node101 schema]# mkdir -p /opt/cloudera/parcel-repo         #Server端创建Parcel目录,别忘了把该目录权限授权给我们之前创建的cloudera-scm用户!
[root@node101 schema]# xcall.sh mkdir -p /opt/cloudera/parcels                                    #agent端创建parcels目录
============= node101.yinzhengjie.org.cn : mkdir -p /opt/cloudera/parcels ============
命令执行成功
============= node102.yinzhengjie.org.cn : mkdir -p /opt/cloudera/parcels ============
命令执行成功
============= node103.yinzhengjie.org.cn : mkdir -p /opt/cloudera/parcels ============
命令执行成功
[root@node101 schema]# 
[root@node101 schema]# xcall.sh chown cloudera-scm:cloudera-scm /opt/cloudera/parcels                #别忘了把该目录权限授权给我们之前创建的cloudera-scm用户!
============= node101.yinzhengjie.org.cn : chown cloudera-scm:cloudera-scm /opt/cloudera/parcels ============
命令执行成功
============= node102.yinzhengjie.org.cn : chown cloudera-scm:cloudera-scm /opt/cloudera/parcels ============
命令执行成功
============= node103.yinzhengjie.org.cn : chown cloudera-scm:cloudera-scm /opt/cloudera/parcels ============
命令执行成功
[root@node101 schema]# 
[root@node101 schema]# 
[root@node101 schema]# xcall.sh ls -ld /opt/cloudera/parcels                                        #验证是否授权成功
============= node101.yinzhengjie.org.cn : ls -ld /opt/cloudera/parcels ============
drwxr-xr-x 2 cloudera-scm cloudera-scm 6 Sep 13 07:35 /opt/cloudera/parcels
命令执行成功
============= node102.yinzhengjie.org.cn : ls -ld /opt/cloudera/parcels ============
drwxr-xr-x 2 cloudera-scm cloudera-scm 6 Sep 13 07:34 /opt/cloudera/parcels
命令执行成功
============= node103.yinzhengjie.org.cn : ls -ld /opt/cloudera/parcels ============
drwxr-xr-x 2 cloudera-scm cloudera-scm 6 Sep 13 07:34 /opt/cloudera/parcels
命令执行成功
[root@node101 schema]# 
[root@node101 schema]# xcall.sh mkdir -p /opt/cloudera/parcels       #agent端创建parcels目录,别忘了把该目录权限授权给我们之前创建的cloudera-scm用户!

7>.制作CDH本地源(大家可以根据我在本篇博客指明的下载链接,如果你网速不给力的话,我已经下载好放在百度云啦:https://pan.baidu.com/s/148t70GenClGQRtJYX8WjvQ 密码:i2yd

[root@node101 schema]# cd ~/download/
[root@node101 download]# 
[root@node101 download]# cp CDH-5.15.1-1.cdh5.15.1.p0.4-el7.parcel /opt/cloudera/parcel-repo/
[root@node101 download]# 
[root@node101 download]# cp manifest.json /opt/cloudera/parcel-repo/                                        #别小瞧这个文件,尽管它不是很大,但是它却记录着CDH和Hadoop生态圈组件的版本依赖关系!
[root@node101 download]# 
[root@node101 download]# cp CDH-5.15.1-1.cdh5.15.1.p0.4-el7.parcel.sha1 /opt/cloudera/parcel-repo/CDH-5.15.1-1.cdh5.15.1.p0.4-el7.parcel.sha                    #注意,我在拷贝到时候重命名该文件了!
[root@node101 download]# 
[root@node101 download]# ll /opt/cloudera/parcel-repo/
total 2070484
-rw-r--r-- 1 root root 2120090032 Sep 13 07:40 CDH-5.15.1-1.cdh5.15.1.p0.4-el7.parcel
-rw-r--r-- 1 root root         41 Sep 13 07:41 CDH-5.15.1-1.cdh5.15.1.p0.4-el7.parcel.sha
-rw-r--r-- 1 root root      73767 Sep 13 07:41 manifest.json
[root@node101 download]# 



温馨提示:
        如果你没有下载到“CDH-5.4.0-1.cdh5.4.0.p0.27-el6.parcel.sha”文件是,可以找到“manifest.json”文件中"parcelName": "CDH-5.15.1-1.cdh5.15.1.p0.4-el7.parcel"对应的"hash": "deff00898e410a34cf0a1e66c5dbe87546608f0c"复制到该文件即可。这个方法也适用于其他的版本!

8>.启动CM的Server,Agent端

[root@node101 download]# cd /opt/cloudera-manager/cm-5.15.1/etc/init.d/
[root@node101 init.d]# 
[root@node101 init.d]# ll
total 32
-rwxr-xr-x 1 1106 4001 8871 Jul 31 18:28 cloudera-scm-agent
-rwxr-xr-x 1 1106 4001 8417 Jul 31 18:28 cloudera-scm-server
-rwxr-xr-x 1 1106 4001 4444 Jul 31 18:28 cloudera-scm-server-db
[root@node101 init.d]# 
[root@node101 init.d]# ./cloudera-scm-server start                                #启动Server的服务端
Starting cloudera-scm-server:                              [  OK  ]
[root@node101 init.d]# 
[root@node101 init.d]# 
[root@node101 init.d]# xcall.sh `pwd`/cloudera-scm-agent start                    #批量启动各个agent端
============= node101.yinzhengjie.org.cn : /opt/cloudera-manager/cm-5.15.1/etc/init.d/cloudera-scm-agent start ============
Starting cloudera-scm-agent: [  OK  ]
命令执行成功
============= node102.yinzhengjie.org.cn : /opt/cloudera-manager/cm-5.15.1/etc/init.d/cloudera-scm-agent start ============
Starting cloudera-scm-agent: [  OK  ]
命令执行成功
============= node103.yinzhengjie.org.cn : /opt/cloudera-manager/cm-5.15.1/etc/init.d/cloudera-scm-agent start ============
Starting cloudera-scm-agent: [  OK  ]
命令执行成功
[root@node101 init.d]# 
[root@node101 init.d]# ./cloudera-scm-server status                                                #查看Server服务是否在运行
cloudera-scm-server (pid  16569) is running...
[root@node101 init.d]# 
[root@node101 init.d]# xcall.sh `pwd`/cloudera-scm-agent status                                  #查看Agent服务是否在运行
============= node101.yinzhengjie.org.cn : /opt/cloudera-manager/cm-5.15.1/etc/init.d/cloudera-scm-agent status ============
cloudera-scm-agent (pid  16667) is running...
命令执行成功
============= node102.yinzhengjie.org.cn : /opt/cloudera-manager/cm-5.15.1/etc/init.d/cloudera-scm-agent status ============
cloudera-scm-agent (pid  13847) is running...
命令执行成功
============= node103.yinzhengjie.org.cn : /opt/cloudera-manager/cm-5.15.1/etc/init.d/cloudera-scm-agent status ============
cloudera-scm-agent (pid  8815) is running...
命令执行成功
[root@node101 init.d]# 
[root@node101 init.d]# 

  以上只是命令上的启动,我们需要观察Server的日志文件(tail -f /opt/cloudera-manager/cm-5.15.1/log/cloudera-scm-server/cloudera-scm-server.log),如果出现以下内容说明启动成功:

 

  验证是否可以登录成功,访问webUI界面,效果图如下:

  我们安装CM的过程通过WebUI的安装向导来进行安装,推荐使用谷歌浏览器,不要使用容易崩溃的浏览器,这样会影响你安装进度的!如果你也出现了以上界面,恭喜你CM部署成功,关于CDH的部署详情请参考:https://www.cnblogs.com/yinzhengjie/p/9638360.html

 

posted @ 2018-08-18 00:03  尹正杰  阅读(3760)  评论(0编辑  收藏  举报