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

时间:2024-06-30 12:32:56

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

                                        作者:尹正杰

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

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

一.下载CDH和CM

1>.CDH的选择

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

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

2>.CM的选择

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

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

 二.Cloudera Manager 安装(CM安装)

1>.系统环境准备

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

[root@node101 ~]# cat /etc/redhat-release
CentOS Linux release 7.2. (Core)
[root@node101 ~]#
[root@node101 ~]#
[root@node101 ~]# uname -r
3.10.-.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:
Swap:
[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:
:e4:2c:c2:6a:b7:fb::::eb:d8:4d::aa: root@node1.yinzhengjie.org.cn
The key's randomart image is:
+--[ RSA ]----+
| |
| |
|. . . . |
| 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::e8:e7::d4:c2:4c:e0::7e:9c:d8::d8:.
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: 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: 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 :: from node1.yinzhengjie.org.cn
[root@node1 ~]# who
root pts/ -- : (172.30.1.1)
root pts/ -- : (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::e8:e7::d4:c2:4c:e0::7e:9c:d8::d8:.
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: 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: 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 :: from gitlab.yinzhengjie.org.cn
[root@node2 ~]# who
root pts/ -- : (172.30.1.1)
root pts/ -- : (gitlab.yinzhengjie.org.cn)
[root@node2 ~]# exit
logout
Connection to node102.yinzhengjie.org.cn closed.
[root@node1 ~]#
[root@node1 ~]# who
root pts/ -- : (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::e8:e7::d4:c2:4c:e0::7e:9c:d8::d8:.
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: 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: 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 :: from 172.30.1.1
[root@node3 ~]# who
root tty1 -- :
root pts/ -- : (172.30.1.1)
root pts/ -- : (s101)
[root@node3 ~]# exit
logout
Connection to node103.yinzhengjie.org.cn closed.
[root@node1 ~]#
[root@node1 ~]# who
root pts/ -- : (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 - /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) -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..0_181/ /usr/java/jdk1.8              #这个不住带啊千万别忘记做啦!因为如果不做的话在初始化数据库的时候尽管你在mysql进行授权操作了,但是如果你配置它依旧报错!安装zookeeper等服务时还会报错不断!
[root@node101 java]# ln -s /soft/jdk1..0_181/ /usr/java/default
[root@node101 java]#
[root@node101 java]# ll
total
lrwxrwxrwx root root Sep : default -> /soft/jdk1..0_181/
lrwxrwxrwx root root Sep : jdk1. -> /soft/jdk1..0_181/
[root@node101 java]#
[root@node101 java]#

  报错截图如下:

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

  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 ];then
echo "请输入参数"
exit
fi #获取用户输入的命令
cmd=$@ for (( i=;i<=;i++ ))
do
#使终端变绿色
tput setaf
echo ============= node${i}.yinzhengjie.org.cn : $cmd ============
#使终端变回原来的颜色,即白灰色
tput setaf
#远程执行命令
ssh node${i}.yinzhengjie.org.cn $cmd
#判断命令是否执行成功
if [ $? == ];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.-.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..com
Package rsync-3.1.-.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.-.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 ];then
echo "请输入参数";
exit
fi #获取文件路径
file=$@ #获取子路径
filename=`basename $file` #获取父路径
dirpath=`dirname $file` #获取完整路径
cd $dirpath
fullpath=`pwd -P` #同步文件到DataNode
for (( i=;i<=;i++ ))
do
#使终端变绿色
tput setaf
echo =========== node${i}.yinzhengjie.org.cn : $file ===========
#使终端变回原来的颜色,即白灰色
tput setaf
#远程执行命令
rsync -lr $filename `whoami`@node${i}.yinzhengjie.org.cn:$fullpath
#判断命令是否执行成功
if [ $? == ];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.-.el7.x86_64().rpm
inflating: hive-MySQL的rpm包/mysql/mysql-community-client-5.6.-.el7.x86_64.rpm
inflating: hive-MySQL的rpm包/mysql/mysql-community-common-5.6.-.el7.x86_64().rpm
inflating: hive-MySQL的rpm包/mysql/mysql-community-common-5.6.-.el7.x86_64.rpm
inflating: hive-MySQL的rpm包/mysql/mysql-community-libs-5.6.-.el7.x86_64().rpm
inflating: hive-MySQL的rpm包/mysql/mysql-community-libs-5.6.-.el7.x86_64.rpm
inflating: hive-MySQL的rpm包/mysql/mysql-community-server-5.6.-.el7.x86_64().rpm
inflating: hive-MySQL的rpm包/mysql/mysql-community-server-5.6.-.el7.x86_64.rpm
inflating: hive-MySQL的rpm包/mysql/perl-5.16.-.el7.x86_64().rpm
inflating: hive-MySQL的rpm包/mysql/perl-5.16.-.el7.x86_64.rpm
inflating: hive-MySQL的rpm包/mysql/perl-Carp-1.26-.el7.noarch().rpm
inflating: hive-MySQL的rpm包/mysql/perl-Carp-1.26-.el7.noarch.rpm
inflating: hive-MySQL的rpm包/mysql/perl-Compress-Raw-Bzip2-2.061-.el7.x86_64().rpm
inflating: hive-MySQL的rpm包/mysql/perl-Compress-Raw-Bzip2-2.061-.el7.x86_64.rpm
inflating: hive-MySQL的rpm包/mysql/perl-Compress-Raw-Zlib-2.061-.el7.x86_64().rpm
inflating: hive-MySQL的rpm包/mysql/perl-Compress-Raw-Zlib-2.061-.el7.x86_64.rpm
inflating: hive-MySQL的rpm包/mysql/perl-constant-1.27-.el7.noarch().rpm
inflating: hive-MySQL的rpm包/mysql/perl-constant-1.27-.el7.noarch.rpm
inflating: hive-MySQL的rpm包/mysql/perl-Data-Dumper-2.145-.el7.x86_64().rpm
inflating: hive-MySQL的rpm包/mysql/perl-Data-Dumper-2.145-.el7.x86_64.rpm
inflating: hive-MySQL的rpm包/mysql/perl-DBI-1.627-.el7.x86_64().rpm
inflating: hive-MySQL的rpm包/mysql/perl-DBI-1.627-.el7.x86_64.rpm
inflating: hive-MySQL的rpm包/mysql/perl-Encode-2.51-.el7.x86_64().rpm
inflating: hive-MySQL的rpm包/mysql/perl-Encode-2.51-.el7.x86_64.rpm
inflating: hive-MySQL的rpm包/mysql/perl-Exporter-5.68-.el7.noarch().rpm
inflating: hive-MySQL的rpm包/mysql/perl-Exporter-5.68-.el7.noarch.rpm
inflating: hive-MySQL的rpm包/mysql/perl-File-Path-2.09-.el7.noarch().rpm
inflating: hive-MySQL的rpm包/mysql/perl-File-Path-2.09-.el7.noarch.rpm
inflating: hive-MySQL的rpm包/mysql/perl-File-Temp-0.23.-.el7.noarch().rpm
inflating: hive-MySQL的rpm包/mysql/perl-File-Temp-0.23.-.el7.noarch.rpm
inflating: hive-MySQL的rpm包/mysql/perl-Filter-1.49-.el7.x86_64().rpm
inflating: hive-MySQL的rpm包/mysql/perl-Filter-1.49-.el7.x86_64.rpm
inflating: hive-MySQL的rpm包/mysql/perl-Getopt-Long-2.40-.el7.noarch().rpm
inflating: hive-MySQL的rpm包/mysql/perl-Getopt-Long-2.40-.el7.noarch.rpm
inflating: hive-MySQL的rpm包/mysql/perl-HTTP-Tiny-0.033-.el7.noarch().rpm
inflating: hive-MySQL的rpm包/mysql/perl-HTTP-Tiny-0.033-.el7.noarch.rpm
inflating: hive-MySQL的rpm包/mysql/perl-IO-Compress-2.061-.el7.noarch().rpm
inflating: hive-MySQL的rpm包/mysql/perl-IO-Compress-2.061-.el7.noarch.rpm
inflating: hive-MySQL的rpm包/mysql/perl-libs-5.16.-.el7.x86_64().rpm
inflating: hive-MySQL的rpm包/mysql/perl-libs-5.16.-.el7.x86_64.rpm
inflating: hive-MySQL的rpm包/mysql/perl-macros-5.16.-.el7.x86_64().rpm
inflating: hive-MySQL的rpm包/mysql/perl-macros-5.16.-.el7.x86_64.rpm
inflating: hive-MySQL的rpm包/mysql/perl-Net-Daemon-0.48-.el7.noarch().rpm
inflating: hive-MySQL的rpm包/mysql/perl-Net-Daemon-0.48-.el7.noarch.rpm
inflating: hive-MySQL的rpm包/mysql/perl-parent-0.225-.el7.noarch().rpm
inflating: hive-MySQL的rpm包/mysql/perl-parent-0.225-.el7.noarch.rpm
inflating: hive-MySQL的rpm包/mysql/perl-PathTools-3.40-.el7.x86_64().rpm
inflating: hive-MySQL的rpm包/mysql/perl-PathTools-3.40-.el7.x86_64.rpm
inflating: hive-MySQL的rpm包/mysql/perl-PlRPC-0.2020-.el7.noarch().rpm
inflating: hive-MySQL的rpm包/mysql/perl-PlRPC-0.2020-.el7.noarch.rpm
inflating: hive-MySQL的rpm包/mysql/perl-Pod-Escapes-1.04-.el7.noarch().rpm
inflating: hive-MySQL的rpm包/mysql/perl-Pod-Escapes-1.04-.el7.noarch.rpm
inflating: hive-MySQL的rpm包/mysql/perl-Pod-Perldoc-3.20-.el7.noarch().rpm
inflating: hive-MySQL的rpm包/mysql/perl-Pod-Perldoc-3.20-.el7.noarch.rpm
inflating: hive-MySQL的rpm包/mysql/perl-Pod-Simple-3.28-.el7.noarch().rpm
inflating: hive-MySQL的rpm包/mysql/perl-Pod-Simple-3.28-.el7.noarch.rpm
inflating: hive-MySQL的rpm包/mysql/perl-Pod-Usage-1.63-.el7.noarch().rpm
inflating: hive-MySQL的rpm包/mysql/perl-Pod-Usage-1.63-.el7.noarch.rpm
inflating: hive-MySQL的rpm包/mysql/perl-podlators-2.5.-.el7.noarch().rpm
inflating: hive-MySQL的rpm包/mysql/perl-podlators-2.5.-.el7.noarch.rpm
inflating: hive-MySQL的rpm包/mysql/perl-Scalar-List-Utils-1.27-.el7.x86_64().rpm
inflating: hive-MySQL的rpm包/mysql/perl-Scalar-List-Utils-1.27-.el7.x86_64.rpm
inflating: hive-MySQL的rpm包/mysql/perl-Socket-2.010-.el7.x86_64().rpm
inflating: hive-MySQL的rpm包/mysql/perl-Socket-2.010-.el7.x86_64.rpm
inflating: hive-MySQL的rpm包/mysql/perl-Storable-2.45-.el7.x86_64().rpm
inflating: hive-MySQL的rpm包/mysql/perl-Storable-2.45-.el7.x86_64.rpm
inflating: hive-MySQL的rpm包/mysql/perl-Text-ParseWords-3.29-.el7.noarch().rpm
inflating: hive-MySQL的rpm包/mysql/perl-Text-ParseWords-3.29-.el7.noarch.rpm
inflating: hive-MySQL的rpm包/mysql/perl-threads-1.87-.el7.x86_64().rpm
inflating: hive-MySQL的rpm包/mysql/perl-threads-1.87-.el7.x86_64.rpm
inflating: hive-MySQL的rpm包/mysql/perl-threads-shared-1.43-.el7.x86_64().rpm
inflating: hive-MySQL的rpm包/mysql/perl-threads-shared-1.43-.el7.x86_64.rpm
inflating: hive-MySQL的rpm包/mysql/perl-Time-HiRes-1.9725-.el7.x86_64().rpm
inflating: hive-MySQL的rpm包/mysql/perl-Time-HiRes-1.9725-.el7.x86_64.rpm
inflating: hive-MySQL的rpm包/mysql/perl-Time-Local-1.2300-.el7.noarch().rpm
inflating: hive-MySQL的rpm包/mysql/perl-Time-Local-1.2300-.el7.noarch.rpm
inflating: hive-MySQL的rpm包/mysql-community-release-el7-.noarch().rpm
inflating: hive-MySQL的rpm包/mysql-community-release-el7-.noarch.rpm
[root@node101 yinzhengjie]#
[root@node101 yinzhengjie]# cd hive-MySQL的rpm包
[root@node101 hive-MySQL的rpm包]# ll
total
drwxr-xr-x root root Sep : mysql
-rw-r--r-- root root Sep : mysql-community-release-el7-.noarch().rpm
-rw-r--r-- root root Aug : mysql-community-release-el7-.noarch.rpm
[root@node101 hive-MySQL的rpm包]#
[root@node101 hive-MySQL的rpm包]#
[root@node101 hive-MySQL的rpm包]# rpm -ivh mysql-community-release-el7-.noarch.rpm #安装rpm包
Preparing... ################################# [%]
Updating / installing...
:mysql-community-release-el7- ################################# [%]
[root@node101 hive-MySQL的rpm包]# cd mysql
[root@node101 mysql]# yum -y localinstall *.rpm #本地安装MySQL
Loaded plugins: fastestmirror
Examining mysql-community-client-5.6.-.el7.x86_64().rpm: mysql-community-client-5.6.-.el7.x86_64
Marking mysql-community-client-5.6.-.el7.x86_64().rpm to be installed
Examining mysql-community-client-5.6.-.el7.x86_64.rpm: mysql-community-client-5.6.-.el7.x86_64
Marking mysql-community-client-5.6.-.el7.x86_64.rpm to be installed
Examining mysql-community-common-5.6.-.el7.x86_64().rpm: mysql-community-common-5.6.-.el7.x86_64
Marking mysql-community-common-5.6.-.el7.x86_64().rpm to be installed
Examining mysql-community-common-5.6.-.el7.x86_64.rpm: mysql-community-common-5.6.-.el7.x86_64
Marking mysql-community-common-5.6.-.el7.x86_64.rpm to be installed
Examining mysql-community-libs-5.6.-.el7.x86_64().rpm: mysql-community-libs-5.6.-.el7.x86_64
Marking mysql-community-libs-5.6.-.el7.x86_64().rpm to be installed
Examining mysql-community-libs-5.6.-.el7.x86_64.rpm: mysql-community-libs-5.6.-.el7.x86_64
Marking mysql-community-libs-5.6.-.el7.x86_64.rpm to be installed
Examining mysql-community-server-5.6.-.el7.x86_64().rpm: mysql-community-server-5.6.-.el7.x86_64
Marking mysql-community-server-5.6.-.el7.x86_64().rpm to be installed
Examining mysql-community-server-5.6.-.el7.x86_64.rpm: mysql-community-server-5.6.-.el7.x86_64
Marking mysql-community-server-5.6.-.el7.x86_64.rpm to be installed
Examining perl-5.16.-.el7.x86_64().rpm: :perl-5.16.-.el7.x86_64
perl-5.16.-.el7.x86_64().rpm: does not update installed package.
Examining perl-5.16.-.el7.x86_64.rpm: :perl-5.16.-.el7.x86_64
perl-5.16.-.el7.x86_64.rpm: does not update installed package.
Examining perl-Carp-1.26-.el7.noarch().rpm: perl-Carp-1.26-.el7.noarch
perl-Carp-1.26-.el7.noarch().rpm: does not update installed package.
Examining perl-Carp-1.26-.el7.noarch.rpm: perl-Carp-1.26-.el7.noarch
perl-Carp-1.26-.el7.noarch.rpm: does not update installed package.
Examining perl-Compress-Raw-Bzip2-2.061-.el7.x86_64().rpm: perl-Compress-Raw-Bzip2-2.061-.el7.x86_64
perl-Compress-Raw-Bzip2-2.061-.el7.x86_64().rpm: does not update installed package.
Examining perl-Compress-Raw-Bzip2-2.061-.el7.x86_64.rpm: perl-Compress-Raw-Bzip2-2.061-.el7.x86_64
perl-Compress-Raw-Bzip2-2.061-.el7.x86_64.rpm: does not update installed package.
Examining perl-Compress-Raw-Zlib-2.061-.el7.x86_64().rpm: :perl-Compress-Raw-Zlib-2.061-.el7.x86_64
perl-Compress-Raw-Zlib-2.061-.el7.x86_64().rpm: does not update installed package.
Examining perl-Compress-Raw-Zlib-2.061-.el7.x86_64.rpm: :perl-Compress-Raw-Zlib-2.061-.el7.x86_64
perl-Compress-Raw-Zlib-2.061-.el7.x86_64.rpm: does not update installed package.
Examining perl-constant-1.27-.el7.noarch().rpm: perl-constant-1.27-.el7.noarch
perl-constant-1.27-.el7.noarch().rpm: does not update installed package.
Examining perl-constant-1.27-.el7.noarch.rpm: perl-constant-1.27-.el7.noarch
perl-constant-1.27-.el7.noarch.rpm: does not update installed package.
Examining perl-Data-Dumper-2.145-.el7.x86_64().rpm: perl-Data-Dumper-2.145-.el7.x86_64
perl-Data-Dumper-2.145-.el7.x86_64().rpm: does not update installed package.
Examining perl-Data-Dumper-2.145-.el7.x86_64.rpm: perl-Data-Dumper-2.145-.el7.x86_64
perl-Data-Dumper-2.145-.el7.x86_64.rpm: does not update installed package.
Examining perl-DBI-1.627-.el7.x86_64().rpm: perl-DBI-1.627-.el7.x86_64
Marking perl-DBI-1.627-.el7.x86_64().rpm to be installed
Examining perl-DBI-1.627-.el7.x86_64.rpm: perl-DBI-1.627-.el7.x86_64
Marking perl-DBI-1.627-.el7.x86_64.rpm to be installed
Examining perl-Encode-2.51-.el7.x86_64().rpm: perl-Encode-2.51-.el7.x86_64
perl-Encode-2.51-.el7.x86_64().rpm: does not update installed package.
Examining perl-Encode-2.51-.el7.x86_64.rpm: perl-Encode-2.51-.el7.x86_64
perl-Encode-2.51-.el7.x86_64.rpm: does not update installed package.
Examining perl-Exporter-5.68-.el7.noarch().rpm: perl-Exporter-5.68-.el7.noarch
perl-Exporter-5.68-.el7.noarch().rpm: does not update installed package.
Examining perl-Exporter-5.68-.el7.noarch.rpm: perl-Exporter-5.68-.el7.noarch
perl-Exporter-5.68-.el7.noarch.rpm: does not update installed package.
Examining perl-File-Path-2.09-.el7.noarch().rpm: perl-File-Path-2.09-.el7.noarch
perl-File-Path-2.09-.el7.noarch().rpm: does not update installed package.
Examining perl-File-Path-2.09-.el7.noarch.rpm: perl-File-Path-2.09-.el7.noarch
perl-File-Path-2.09-.el7.noarch.rpm: does not update installed package.
Examining perl-File-Temp-0.23.-.el7.noarch().rpm: perl-File-Temp-0.23.-.el7.noarch
perl-File-Temp-0.23.-.el7.noarch().rpm: does not update installed package.
Examining perl-File-Temp-0.23.-.el7.noarch.rpm: perl-File-Temp-0.23.-.el7.noarch
perl-File-Temp-0.23.-.el7.noarch.rpm: does not update installed package.
Examining perl-Filter-1.49-.el7.x86_64().rpm: perl-Filter-1.49-.el7.x86_64
perl-Filter-1.49-.el7.x86_64().rpm: does not update installed package.
Examining perl-Filter-1.49-.el7.x86_64.rpm: perl-Filter-1.49-.el7.x86_64
perl-Filter-1.49-.el7.x86_64.rpm: does not update installed package.
Examining perl-Getopt-Long-2.40-.el7.noarch().rpm: perl-Getopt-Long-2.40-.el7.noarch
perl-Getopt-Long-2.40-.el7.noarch().rpm: does not update installed package.
Examining perl-Getopt-Long-2.40-.el7.noarch.rpm: perl-Getopt-Long-2.40-.el7.noarch
perl-Getopt-Long-2.40-.el7.noarch.rpm: does not update installed package.
Examining perl-HTTP-Tiny-0.033-.el7.noarch().rpm: perl-HTTP-Tiny-0.033-.el7.noarch
perl-HTTP-Tiny-0.033-.el7.noarch().rpm: does not update installed package.
Examining perl-HTTP-Tiny-0.033-.el7.noarch.rpm: perl-HTTP-Tiny-0.033-.el7.noarch
perl-HTTP-Tiny-0.033-.el7.noarch.rpm: does not update installed package.
Examining perl-IO-Compress-2.061-.el7.noarch().rpm: perl-IO-Compress-2.061-.el7.noarch
perl-IO-Compress-2.061-.el7.noarch().rpm: does not update installed package.
Examining perl-IO-Compress-2.061-.el7.noarch.rpm: perl-IO-Compress-2.061-.el7.noarch
perl-IO-Compress-2.061-.el7.noarch.rpm: does not update installed package.
Examining perl-libs-5.16.-.el7.x86_64().rpm: :perl-libs-5.16.-.el7.x86_64
perl-libs-5.16.-.el7.x86_64().rpm: does not update installed package.
Examining perl-libs-5.16.-.el7.x86_64.rpm: :perl-libs-5.16.-.el7.x86_64
perl-libs-5.16.-.el7.x86_64.rpm: does not update installed package.
Examining perl-macros-5.16.-.el7.x86_64().rpm: :perl-macros-5.16.-.el7.x86_64
perl-macros-5.16.-.el7.x86_64().rpm: does not update installed package.
Examining perl-macros-5.16.-.el7.x86_64.rpm: :perl-macros-5.16.-.el7.x86_64
perl-macros-5.16.-.el7.x86_64.rpm: does not update installed package.
Examining perl-Net-Daemon-0.48-.el7.noarch().rpm: perl-Net-Daemon-0.48-.el7.noarch
Marking perl-Net-Daemon-0.48-.el7.noarch().rpm to be installed
Examining perl-Net-Daemon-0.48-.el7.noarch.rpm: perl-Net-Daemon-0.48-.el7.noarch
Marking perl-Net-Daemon-0.48-.el7.noarch.rpm to be installed
Examining perl-parent-0.225-.el7.noarch().rpm: :perl-parent-0.225-.el7.noarch
perl-parent-0.225-.el7.noarch().rpm: does not update installed package.
Examining perl-parent-0.225-.el7.noarch.rpm: :perl-parent-0.225-.el7.noarch
perl-parent-0.225-.el7.noarch.rpm: does not update installed package.
Examining perl-PathTools-3.40-.el7.x86_64().rpm: perl-PathTools-3.40-.el7.x86_64
perl-PathTools-3.40-.el7.x86_64().rpm: does not update installed package.
Examining perl-PathTools-3.40-.el7.x86_64.rpm: perl-PathTools-3.40-.el7.x86_64
perl-PathTools-3.40-.el7.x86_64.rpm: does not update installed package.
Examining perl-PlRPC-0.2020-.el7.noarch().rpm: perl-PlRPC-0.2020-.el7.noarch
Marking perl-PlRPC-0.2020-.el7.noarch().rpm to be installed
Examining perl-PlRPC-0.2020-.el7.noarch.rpm: perl-PlRPC-0.2020-.el7.noarch
Marking perl-PlRPC-0.2020-.el7.noarch.rpm to be installed
Examining perl-Pod-Escapes-1.04-.el7.noarch().rpm: :perl-Pod-Escapes-1.04-.el7.noarch
perl-Pod-Escapes-1.04-.el7.noarch().rpm: does not update installed package.
Examining perl-Pod-Escapes-1.04-.el7.noarch.rpm: :perl-Pod-Escapes-1.04-.el7.noarch
perl-Pod-Escapes-1.04-.el7.noarch.rpm: does not update installed package.
Examining perl-podlators-2.5.-.el7.noarch().rpm: perl-podlators-2.5.-.el7.noarch
perl-podlators-2.5.-.el7.noarch().rpm: does not update installed package.
Examining perl-podlators-2.5.-.el7.noarch.rpm: perl-podlators-2.5.-.el7.noarch
perl-podlators-2.5.-.el7.noarch.rpm: does not update installed package.
Examining perl-Pod-Perldoc-3.20-.el7.noarch().rpm: perl-Pod-Perldoc-3.20-.el7.noarch
perl-Pod-Perldoc-3.20-.el7.noarch().rpm: does not update installed package.
Examining perl-Pod-Perldoc-3.20-.el7.noarch.rpm: perl-Pod-Perldoc-3.20-.el7.noarch
perl-Pod-Perldoc-3.20-.el7.noarch.rpm: does not update installed package.
Examining perl-Pod-Simple-3.28-.el7.noarch().rpm: :perl-Pod-Simple-3.28-.el7.noarch
perl-Pod-Simple-3.28-.el7.noarch().rpm: does not update installed package.
Examining perl-Pod-Simple-3.28-.el7.noarch.rpm: :perl-Pod-Simple-3.28-.el7.noarch
perl-Pod-Simple-3.28-.el7.noarch.rpm: does not update installed package.
Examining perl-Pod-Usage-1.63-.el7.noarch().rpm: perl-Pod-Usage-1.63-.el7.noarch
perl-Pod-Usage-1.63-.el7.noarch().rpm: does not update installed package.
Examining perl-Pod-Usage-1.63-.el7.noarch.rpm: perl-Pod-Usage-1.63-.el7.noarch
perl-Pod-Usage-1.63-.el7.noarch.rpm: does not update installed package.
Examining perl-Scalar-List-Utils-1.27-.el7.x86_64().rpm: perl-Scalar-List-Utils-1.27-.el7.x86_64
perl-Scalar-List-Utils-1.27-.el7.x86_64().rpm: does not update installed package.
Examining perl-Scalar-List-Utils-1.27-.el7.x86_64.rpm: perl-Scalar-List-Utils-1.27-.el7.x86_64
perl-Scalar-List-Utils-1.27-.el7.x86_64.rpm: does not update installed package.
Examining perl-Socket-2.010-.el7.x86_64().rpm: perl-Socket-2.010-.el7.x86_64
perl-Socket-2.010-.el7.x86_64().rpm: does not update installed package.
Examining perl-Socket-2.010-.el7.x86_64.rpm: perl-Socket-2.010-.el7.x86_64
perl-Socket-2.010-.el7.x86_64.rpm: does not update installed package.
Examining perl-Storable-2.45-.el7.x86_64().rpm: perl-Storable-2.45-.el7.x86_64
perl-Storable-2.45-.el7.x86_64().rpm: does not update installed package.
Examining perl-Storable-2.45-.el7.x86_64.rpm: perl-Storable-2.45-.el7.x86_64
perl-Storable-2.45-.el7.x86_64.rpm: does not update installed package.
Examining perl-Text-ParseWords-3.29-.el7.noarch().rpm: perl-Text-ParseWords-3.29-.el7.noarch
perl-Text-ParseWords-3.29-.el7.noarch().rpm: does not update installed package.
Examining perl-Text-ParseWords-3.29-.el7.noarch.rpm: perl-Text-ParseWords-3.29-.el7.noarch
perl-Text-ParseWords-3.29-.el7.noarch.rpm: does not update installed package.
Examining perl-threads-1.87-.el7.x86_64().rpm: perl-threads-1.87-.el7.x86_64
perl-threads-1.87-.el7.x86_64().rpm: does not update installed package.
Examining perl-threads-1.87-.el7.x86_64.rpm: perl-threads-1.87-.el7.x86_64
perl-threads-1.87-.el7.x86_64.rpm: does not update installed package.
Examining perl-threads-shared-1.43-.el7.x86_64().rpm: perl-threads-shared-1.43-.el7.x86_64
perl-threads-shared-1.43-.el7.x86_64().rpm: does not update installed package.
Examining perl-threads-shared-1.43-.el7.x86_64.rpm: perl-threads-shared-1.43-.el7.x86_64
perl-threads-shared-1.43-.el7.x86_64.rpm: does not update installed package.
Examining perl-Time-HiRes-1.9725-.el7.x86_64().rpm: :perl-Time-HiRes-1.9725-.el7.x86_64
perl-Time-HiRes-1.9725-.el7.x86_64().rpm: does not update installed package.
Examining perl-Time-HiRes-1.9725-.el7.x86_64.rpm: :perl-Time-HiRes-1.9725-.el7.x86_64
perl-Time-HiRes-1.9725-.el7.x86_64.rpm: does not update installed package.
Examining perl-Time-Local-1.2300-.el7.noarch().rpm: perl-Time-Local-1.2300-.el7.noarch
perl-Time-Local-1.2300-.el7.noarch().rpm: does not update installed package.
Examining perl-Time-Local-1.2300-.el7.noarch.rpm: perl-Time-Local-1.2300-.el7.noarch
perl-Time-Local-1.2300-.el7.noarch.rpm: does not update installed package.
Resolving Dependencies
--> Running transaction check
---> Package mariadb.x86_64 :5.5.-.el7 will be obsoleted
---> Package mariadb-libs.x86_64 :5.5.-.el7 will be obsoleted
--> Processing Dependency: mariadb-libs(x86-) = :5.5.-.el7 for package: :mariadb-devel-5.5.-.el7.x86_64
mysql-connectors-community | 2.5 kB ::
mysql-tools-community | 2.5 kB ::
mysql56-community | 2.5 kB ::
(/): mysql-tools-community/x86_64/primary_db | kB ::
(/): mysql56-community/x86_64/primary_db | kB ::
(/): mysql-connectors-community/x86_64/primary_db | kB ::
Loading mirror speeds from cached hostfile
* base: mirrors.huaweicloud.com
* extras: mirrors.huaweicloud.com
* updates: mirrors.aliyun.com
---> Package mysql-community-client.x86_64 :5.6.-.el7 will be obsoleting
---> Package mysql-community-common.x86_64 :5.6.-.el7 will be installed
---> Package mysql-community-libs.x86_64 :5.6.-.el7 will be obsoleting
---> Package mysql-community-server.x86_64 :5.6.-.el7 will be installed
---> Package perl-DBI.x86_64 :1.627-.el7 will be installed
---> Package perl-Net-Daemon.noarch :0.48-.el7 will be installed
---> Package perl-PlRPC.noarch :0.2020-.el7 will be installed
--> Running transaction check
---> Package mariadb-devel.x86_64 :5.5.-.el7 will be obsoleted
---> Package mysql-community-devel.x86_64 :5.6.-.el7 will be obsoleting
--> Finished Dependency Resolution Dependencies Resolved ==========================================================================================================================================================================================================
Package Arch Version Repository Size
==========================================================================================================================================================================================================
Installing:
mysql-community-client x86_64 5.6.-.el7 /mysql-community-client-5.6.-.el7.x86_64() M
replacing mariadb.x86_64 :5.5.-.el7
mysql-community-common x86_64 5.6.-.el7 /mysql-community-common-5.6.-.el7.x86_64() 2.1 M
mysql-community-devel x86_64 5.6.-.el7 mysql56-community 3.4 M
replacing mariadb-devel.x86_64 :5.5.-.el7
mysql-community-libs x86_64 5.6.-.el7 /mysql-community-libs-5.6.-.el7.x86_64() 9.2 M
replacing mariadb-libs.x86_64 :5.5.-.el7
mysql-community-server x86_64 5.6.-.el7 /mysql-community-server-5.6.-.el7.x86_64() M
perl-DBI x86_64 1.627-.el7 /perl-DBI-1.627-.el7.x86_64() 1.9 M
perl-Net-Daemon noarch 0.48-.el7 /perl-Net-Daemon-0.48-.el7.noarch() k
perl-PlRPC noarch 0.2020-.el7 /perl-PlRPC-0.2020-.el7.noarch() k Transaction Summary
==========================================================================================================================================================================================================
Install Packages Total size: M
Total download size: 3.4 M
Downloading packages:
warning: /var/cache/yum/x86_64//mysql56-community/packages/mysql-community-devel-5.6.-.el7.x86_64.rpm: Header V3 DSA/SHA1 Signature, key ID 5072e1f5: NOKEY====== ] kB/s | 3.3 MB :: ETA
Public key for mysql-community-devel-5.6.-.el7.x86_64.rpm is not installed
mysql-community-devel-5.6.-.el7.x86_64.rpm | 3.4 MB ::
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 76fc bd3c 70c8 8c71 8d3b e1f5
Package : mysql-community-release-el7-.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 pre-existing rpmdb problem(s), 'yum check' output follows:
ant-1.9.-.el7.noarch has missing requires of java-devel >= ('', '1.5.0', None)
ant-1.9.-.el7.noarch has missing requires of jpackage-utils
ant-1.9.-.el7.noarch has missing requires of jpackage-utils >= ('', '1.7.5', None)
xalan-j2-2.7.-.el7.noarch has missing requires of jpackage-utils
xerces-j2-2.11.-.el7_0.noarch has missing requires of java
xerces-j2-2.11.-.el7_0.noarch has missing requires of jpackage-utils
xerces-j2-2.11.-.el7_0.noarch has missing requires of jpackage-utils
xml-commons-apis-1.4.-.el7.noarch has missing requires of java
xml-commons-apis-1.4.-.el7.noarch has missing requires of jpackage-utils
xml-commons-apis-1.4.-.el7.noarch has missing requires of jpackage-utils
xml-commons-resolver-1.2-.el7.noarch has missing requires of jpackage-utils
xml-commons-resolver-1.2-.el7.noarch has missing requires of jpackage-utils
Installing : mysql-community-common-5.6.-.el7.x86_64 /
Installing : mysql-community-libs-5.6.-.el7.x86_64 /
Installing : mysql-community-client-5.6.-.el7.x86_64 /
Installing : perl-Net-Daemon-0.48-.el7.noarch /
Installing : perl-PlRPC-0.2020-.el7.noarch /
Installing : perl-DBI-1.627-.el7.x86_64 /
Installing : mysql-community-server-5.6.-.el7.x86_64 /
Installing : mysql-community-devel-5.6.-.el7.x86_64 /
Erasing : :mariadb-devel-5.5.-.el7.x86_64 /
Erasing : :mariadb-5.5.-.el7.x86_64 /
Erasing : :mariadb-libs-5.5.-.el7.x86_64 /
Verifying : perl-Net-Daemon-0.48-.el7.noarch /
Verifying : perl-PlRPC-0.2020-.el7.noarch /
Verifying : mysql-community-client-5.6.-.el7.x86_64 /
Verifying : mysql-community-server-5.6.-.el7.x86_64 /
Verifying : mysql-community-devel-5.6.-.el7.x86_64 /
Verifying : mysql-community-common-5.6.-.el7.x86_64 /
Verifying : mysql-community-libs-5.6.-.el7.x86_64 /
Verifying : perl-DBI-1.627-.el7.x86_64 /
Verifying : :mariadb-devel-5.5.-.el7.x86_64 /
Verifying : :mariadb-libs-5.5.-.el7.x86_64 /
Verifying : :mariadb-5.5.-.el7.x86_64 / Installed:
mysql-community-client.x86_64 :5.6.-.el7 mysql-community-common.x86_64 :5.6.-.el7 mysql-community-devel.x86_64 :5.6.-.el7 mysql-community-libs.x86_64 :5.6.-.el7
mysql-community-server.x86_64 :5.6.-.el7 perl-DBI.x86_64 :1.627-.el7 perl-Net-Daemon.noarch :0.48-.el7 perl-PlRPC.noarch :0.2020-.el7 Replaced:
mariadb.x86_64 :5.5.-.el7 mariadb-devel.x86_64 :5.5.-.el7 mariadb-libs.x86_64 :5.5.-.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
Server version: 5.6. MySQL Community Server (GPL) Copyright (c) , , 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, 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, rows affected (0.00 sec) mysql> FLUSH PRIVILEGES;
Query OK, rows affected (0.00 sec) mysql> quit
Bye
[root@node101 mysql]#

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

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

   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.-.el7.x86_64 already installed and latest version
Package python-2.7.-.el7_5.x86_64 already installed and latest version
Package libxslt-1.1.-.el7.x86_64 already installed and latest version
Package zlib-1.2.-.el7.x86_64 already installed and latest version
Package sqlite-3.7.-.el7.x86_64 already installed and latest version
Package cyrus-sasl-plain-2.1.-.el7.x86_64 already installed and latest version
Package cyrus-sasl-gssapi-2.1.-.el7.x86_64 already installed and latest version
Resolving Dependencies
--> Running transaction check
---> Package bind-utils.x86_64 :9.9.-.el7_5. will be installed
--> Processing Dependency: bind-libs = :9.9.-.el7_5. for package: :bind-utils-9.9.-.el7_5..x86_64
--> Processing Dependency: liblwres.so.()(64bit) for package: :bind-utils-9.9.-.el7_5..x86_64
--> Processing Dependency: libisccfg.so.()(64bit) for package: :bind-utils-9.9.-.el7_5..x86_64
--> Processing Dependency: libisccc.so.()(64bit) for package: :bind-utils-9.9.-.el7_5..x86_64
--> Processing Dependency: libisc.so.()(64bit) for package: :bind-utils-9.9.-.el7_5..x86_64
--> Processing Dependency: libdns.so.()(64bit) for package: :bind-utils-9.9.-.el7_5..x86_64
--> Processing Dependency: libbind9.so.()(64bit) for package: :bind-utils-9.9.-.el7_5..x86_64
--> Processing Dependency: libGeoIP.so.()(64bit) for package: :bind-utils-9.9.-.el7_5..x86_64
---> Package fuse.x86_64 :2.9.-.el7 will be installed
---> Package fuse-libs.x86_64 :2.9.-.el7 will be installed
---> Package psmisc.x86_64 :22.20-.el7 will be installed
---> Package redhat-lsb.x86_64 :4.1-.el7.centos. will be installed
--> Processing Dependency: redhat-lsb-printing = 4.1-.el7.centos. for package: redhat-lsb-4.1-.el7.centos..x86_64
--> Processing Dependency: redhat-lsb-languages = 4.1-.el7.centos. for package: redhat-lsb-4.1-.el7.centos..x86_64
--> Processing Dependency: redhat-lsb-desktop(x86-) = 4.1-.el7.centos. for package: redhat-lsb-4.1-.el7.centos..x86_64
--> Processing Dependency: redhat-lsb-cxx(x86-) = 4.1-.el7.centos. for package: redhat-lsb-4.1-.el7.centos..x86_64
--> Processing Dependency: redhat-lsb-core(x86-) = 4.1-.el7.centos. for package: redhat-lsb-4.1-.el7.centos..x86_64
--> Running transaction check
---> Package GeoIP.x86_64 :1.5.-.el7 will be installed
---> Package bind-libs.x86_64 :9.9.-.el7_5. will be installed
--> Processing Dependency: bind-license = :9.9.-.el7_5. for package: :bind-libs-9.9.-.el7_5..x86_64
---> Package redhat-lsb-core.x86_64 :4.1-.el7.centos. will be installed
--> Processing Dependency: redhat-lsb-submod-security(x86-) = 4.1-.el7.centos. for package: redhat-lsb-core-4.1-.el7.centos..x86_64
--> Processing Dependency: spax for package: redhat-lsb-core-4.1-.el7.centos..x86_64
--> Processing Dependency: /usr/bin/time for package: redhat-lsb-core-4.1-.el7.centos..x86_64
--> Processing Dependency: /usr/bin/patch for package: redhat-lsb-core-4.1-.el7.centos..x86_64
--> Processing Dependency: /usr/bin/m4 for package: redhat-lsb-core-4.1-.el7.centos..x86_64
--> Processing Dependency: /usr/bin/lpr for package: redhat-lsb-core-4.1-.el7.centos..x86_64
--> Processing Dependency: /usr/bin/lp for package: redhat-lsb-core-4.1-.el7.centos..x86_64
--> Processing Dependency: /usr/bin/bc for package: redhat-lsb-core-4.1-.el7.centos..x86_64
--> Processing Dependency: /usr/bin/batch for package: redhat-lsb-core-4.1-.el7.centos..x86_64
--> Processing Dependency: /usr/bin/at for package: redhat-lsb-core-4.1-.el7.centos..x86_64
--> Processing Dependency: /bin/mailx for package: redhat-lsb-core-4.1-.el7.centos..x86_64
--> Processing Dependency: /bin/ed for package: redhat-lsb-core-4.1-.el7.centos..x86_64
---> Package redhat-lsb-cxx.x86_64 :4.1-.el7.centos. will be installed
---> Package redhat-lsb-desktop.x86_64 :4.1-.el7.centos. will be installed
--> Processing Dependency: redhat-lsb-submod-multimedia(x86-) = 4.1-.el7.centos. for package: redhat-lsb-desktop-4.1-.el7.centos..x86_64
--> Processing Dependency: xdg-utils for package: redhat-lsb-desktop-4.1-.el7.centos..x86_64
--> Processing Dependency: qt3(x86-) for package: redhat-lsb-desktop-4.1-.el7.centos..x86_64
--> Processing Dependency: qt-x11(x86-) for package: redhat-lsb-desktop-4.1-.el7.centos..x86_64
--> Processing Dependency: qt(x86-) for package: redhat-lsb-desktop-4.1-.el7.centos..x86_64
--> Processing Dependency: mesa-libGLU(x86-) for package: redhat-lsb-desktop-4.1-.el7.centos..x86_64
--> Processing Dependency: libpng12.so.()(64bit) for package: redhat-lsb-desktop-4.1-.el7.centos..x86_64
---> Package redhat-lsb-languages.x86_64 :4.1-.el7.centos. will be installed
--> Processing Dependency: perl(XML::LibXML) for package: redhat-lsb-languages-4.1-.el7.centos..x86_64
--> Processing Dependency: perl(Text::Soundex) for package: redhat-lsb-languages-4.1-.el7.centos..x86_64
--> Processing Dependency: perl(Test::Simple) for package: redhat-lsb-languages-4.1-.el7.centos..x86_64
--> Processing Dependency: perl(Test::Harness) for package: redhat-lsb-languages-4.1-.el7.centos..x86_64
--> Processing Dependency: perl(Sys::Syslog) for package: redhat-lsb-languages-4.1-.el7.centos..x86_64
--> Processing Dependency: perl(Pod::Plainer) for package: redhat-lsb-languages-4.1-.el7.centos..x86_64
--> Processing Dependency: perl(Pod::LaTeX) for package: redhat-lsb-languages-4.1-.el7.centos..x86_64
--> Processing Dependency: perl(Pod::Checker) for package: redhat-lsb-languages-4.1-.el7.centos..x86_64
--> Processing Dependency: perl(Locale::Maketext) for package: redhat-lsb-languages-4.1-.el7.centos..x86_64
--> Processing Dependency: perl(Locale::Codes::Constants) for package: redhat-lsb-languages-4.1-.el7.centos..x86_64
--> Processing Dependency: perl(Locale::Codes) for package: redhat-lsb-languages-4.1-.el7.centos..x86_64
--> Processing Dependency: perl(File::CheckTree) for package: redhat-lsb-languages-4.1-.el7.centos..x86_64
--> Processing Dependency: perl(Fatal) for package: redhat-lsb-languages-4.1-.el7.centos..x86_64
--> Processing Dependency: perl(ExtUtils::MakeMaker) for package: redhat-lsb-languages-4.1-.el7.centos..x86_64
--> Processing Dependency: perl(Env) for package: redhat-lsb-languages-4.1-.el7.centos..x86_64
--> Processing Dependency: perl(Class::ISA) for package: redhat-lsb-languages-4.1-.el7.centos..x86_64
--> Processing Dependency: perl(CPAN) for package: redhat-lsb-languages-4.1-.el7.centos..x86_64
--> Processing Dependency: perl(CGI) for package: redhat-lsb-languages-4.1-.el7.centos..x86_64
--> Processing Dependency: perl(B::Lint) for package: redhat-lsb-languages-4.1-.el7.centos..x86_64
---> Package redhat-lsb-printing.x86_64 :4.1-.el7.centos. will be installed
--> Processing Dependency: /usr/bin/foomatic-rip for package: redhat-lsb-printing-4.1-.el7.centos..x86_64
--> Running transaction check
---> Package at.x86_64 :3.1.-.el7 will be installed
---> Package bc.x86_64 :1.06.-.el7 will be installed
---> Package bind-license.noarch :9.9.-.el7 will be updated
--> Processing Dependency: bind-license = :9.9.-.el7 for package: :bind-libs-lite-9.9.-.el7.x86_64
---> Package bind-license.noarch :9.9.-.el7_5. will be an update
---> Package cups-client.x86_64 :1.6.-.el7 will be installed
---> Package ed.x86_64 :1.9-.el7 will be installed
---> Package foomatic-filters.x86_64 :4.0.-.el7 will be installed
---> Package libpng12.x86_64 :1.2.-.el7 will be installed
---> Package m4.x86_64 :1.4.-.el7 will be installed
---> Package mailx.x86_64 :12.5-.el7 will be installed
---> Package mesa-libGLU.x86_64 :9.0.-.el7 will be installed
---> Package patch.x86_64 :2.7.-.el7_5 will be installed
---> Package perl-B-Lint.noarch :1.17-.el7 will be installed
--> Processing Dependency: perl(Module::Pluggable) for package: perl-B-Lint-1.17-.el7.noarch
---> Package perl-CGI.noarch :3.63-.el7 will be installed
--> Processing Dependency: perl(FCGI) >= 0.67 for package: perl-CGI-3.63-.el7.noarch
---> Package perl-CPAN.noarch :1.9800-.el7 will be installed
--> Processing Dependency: perl(local::lib) for package: perl-CPAN-1.9800-.el7.noarch
--> Processing Dependency: perl(Digest::SHA) for package: perl-CPAN-1.9800-.el7.noarch
---> Package perl-Class-ISA.noarch :0.36-.el7 will be installed
---> Package perl-Env.noarch :1.04-.el7 will be installed
---> Package perl-ExtUtils-MakeMaker.noarch :6.68-.el7 will be installed
--> Processing Dependency: perl(ExtUtils::Packlist) for package: perl-ExtUtils-MakeMaker-6.68-.el7.noarch
--> Processing Dependency: perl(ExtUtils::Manifest) for package: perl-ExtUtils-MakeMaker-6.68-.el7.noarch
--> Processing Dependency: perl(ExtUtils::Installed) for package: perl-ExtUtils-MakeMaker-6.68-.el7.noarch
--> Processing Dependency: perl(ExtUtils::Install) for package: perl-ExtUtils-MakeMaker-6.68-.el7.noarch
---> Package perl-File-CheckTree.noarch :4.42-.el7 will be installed
---> Package perl-Locale-Codes.noarch :3.26-.el7 will be installed
---> Package perl-Locale-Maketext.noarch :1.23-.el7 will be installed
---> Package perl-Pod-Checker.noarch :1.60-.el7 will be installed
--> Processing Dependency: perl(Pod::Parser) >= 1.60 for package: perl-Pod-Checker-1.60-.el7.noarch
--> Processing Dependency: perl(Pod::ParseUtils) for package: perl-Pod-Checker-1.60-.el7.noarch
---> Package perl-Pod-LaTeX.noarch :0.61-.el7 will be installed
---> Package perl-Pod-Plainer.noarch :1.03-.el7 will be installed
---> Package perl-Sys-Syslog.x86_64 :0.33-.el7 will be installed
---> Package perl-Test-Harness.noarch :3.28-.el7 will be installed
---> Package perl-Test-Simple.noarch :0.98-.el7 will be installed
---> Package perl-Text-Soundex.x86_64 :3.04-.el7 will be installed
--> Processing Dependency: perl(Text::Unidecode) for package: perl-Text-Soundex-3.04-.el7.x86_64
---> Package perl-XML-LibXML.x86_64 :2.0018-.el7 will be installed
--> Processing Dependency: perl(XML::SAX::Exception) for package: :perl-XML-LibXML-2.0018-.el7.x86_64
--> Processing Dependency: perl(XML::SAX::DocumentLocator) for package: :perl-XML-LibXML-2.0018-.el7.x86_64
--> Processing Dependency: perl(XML::SAX::Base) for package: :perl-XML-LibXML-2.0018-.el7.x86_64
--> Processing Dependency: perl(XML::NamespaceSupport) for package: :perl-XML-LibXML-2.0018-.el7.x86_64
---> Package perl-autodie.noarch :2.16-.el7 will be installed
---> Package qt.x86_64 :4.8.-.el7 will be installed
--> Processing Dependency: qt-settings for package: :qt-4.8.-.el7.x86_64
---> Package qt-x11.x86_64 :4.8.-.el7 will be installed
--> Processing Dependency: libmng.so.()(64bit) for package: :qt-x11-4.8.-.el7.x86_64
---> Package qt3.x86_64 :3.3.8b-.el7 will be installed
---> Package redhat-lsb-submod-multimedia.x86_64 :4.1-.el7.centos. will be installed
---> Package redhat-lsb-submod-security.x86_64 :4.1-.el7.centos. will be installed
---> Package spax.x86_64 :1.5.-.el7 will be installed
---> Package time.x86_64 :1.7-.el7 will be installed
---> Package xdg-utils.noarch :1.1.-0.17.20120809git.el7 will be installed
--> Processing Dependency: desktop-file-utils for package: xdg-utils-1.1.-0.17.20120809git.el7.noarch
--> Running transaction check
---> Package bind-libs-lite.x86_64 :9.9.-.el7 will be updated
---> Package bind-libs-lite.x86_64 :9.9.-.el7_5. will be an update
---> Package desktop-file-utils.x86_64 :0.23-.el7 will be installed
--> Processing Dependency: emacs-filesystem for package: desktop-file-utils-0.23-.el7.x86_64
---> Package libmng.x86_64 :1.0.-.el7 will be installed
---> Package perl-Digest-SHA.x86_64 :5.85-.el7 will be installed
--> Processing Dependency: perl(Digest::base) for package: :perl-Digest-SHA-5.85-.el7.x86_64
---> Package perl-ExtUtils-Install.noarch :1.58-.el7 will be installed
--> Processing Dependency: perl-devel for package: perl-ExtUtils-Install-1.58-.el7.noarch
---> Package perl-ExtUtils-Manifest.noarch :1.61-.el7 will be installed
---> Package perl-FCGI.x86_64 :0.74-.el7 will be installed
---> Package perl-Module-Pluggable.noarch :4.8-.el7 will be installed
---> Package perl-Pod-Parser.noarch :1.61-.el7 will be installed
---> Package perl-Text-Unidecode.noarch :0.04-.el7 will be installed
---> Package perl-XML-NamespaceSupport.noarch :1.11-.el7 will be installed
---> Package perl-XML-SAX.noarch :0.99-.el7 will be installed
--> Processing Dependency: perl(LWP::UserAgent) for package: perl-XML-SAX-0.99-.el7.noarch
---> Package perl-XML-SAX-Base.noarch :1.08-.el7 will be installed
---> Package perl-local-lib.noarch :1.008010-.el7 will be installed
---> Package qt-settings.noarch :-23.7.el7.centos will be installed
--> Processing Dependency: pciutils for package: qt-settings--23.7.el7.centos.noarch
--> Running transaction check
---> Package emacs-filesystem.noarch :24.3-.el7_4 will be installed
---> Package pciutils.x86_64 :3.5.-.el7 will be installed
--> Processing Dependency: pciutils-libs = 3.5.-.el7 for package: pciutils-3.5.-.el7.x86_64
--> Processing Dependency: libpci.so.(LIBPCI_3.)(64bit) for package: pciutils-3.5.-.el7.x86_64
--> Processing Dependency: libpci.so.(LIBPCI_3.)(64bit) for package: pciutils-3.5.-.el7.x86_64
---> Package perl-Digest.noarch :1.17-.el7 will be installed
---> Package perl-devel.x86_64 :5.16.-.el7 will be installed
--> Processing Dependency: systemtap-sdt-devel for package: :perl-devel-5.16.-.el7.x86_64
--> Processing Dependency: perl(ExtUtils::ParseXS) for package: :perl-devel-5.16.-.el7.x86_64
--> Processing Dependency: libdb-devel for package: :perl-devel-5.16.-.el7.x86_64
--> Processing Dependency: gdbm-devel for package: :perl-devel-5.16.-.el7.x86_64
---> Package perl-libwww-perl.noarch :6.05-.el7 will be installed
--> Processing Dependency: perl(WWW::RobotRules) >= for package: perl-libwww-perl-6.05-.el7.noarch
--> Processing Dependency: perl(URI) >= 1.10 for package: perl-libwww-perl-6.05-.el7.noarch
--> Processing Dependency: perl(Net::HTTP) >= 6.04 for package: perl-libwww-perl-6.05-.el7.noarch
--> Processing Dependency: perl(LWP::MediaTypes) >= for package: perl-libwww-perl-6.05-.el7.noarch
--> Processing Dependency: perl(HTTP::Status) >= for package: perl-libwww-perl-6.05-.el7.noarch
--> Processing Dependency: perl(HTTP::Response) >= for package: perl-libwww-perl-6.05-.el7.noarch
--> Processing Dependency: perl(HTTP::Request::Common) >= for package: perl-libwww-perl-6.05-.el7.noarch
--> Processing Dependency: perl(HTTP::Request) >= for package: perl-libwww-perl-6.05-.el7.noarch
--> Processing Dependency: perl(HTTP::Negotiate) >= for package: perl-libwww-perl-6.05-.el7.noarch
--> Processing Dependency: perl(HTTP::Date) >= for package: perl-libwww-perl-6.05-.el7.noarch
--> Processing Dependency: perl(HTTP::Daemon) >= for package: perl-libwww-perl-6.05-.el7.noarch
--> Processing Dependency: perl(HTTP::Cookies) >= for package: perl-libwww-perl-6.05-.el7.noarch
--> Processing Dependency: perl(File::Listing) >= for package: perl-libwww-perl-6.05-.el7.noarch
--> Processing Dependency: perl(URI::Heuristic) for package: perl-libwww-perl-6.05-.el7.noarch
--> Processing Dependency: perl(URI::Escape) for package: perl-libwww-perl-6.05-.el7.noarch
--> Processing Dependency: perl(HTML::HeadParser) for package: perl-libwww-perl-6.05-.el7.noarch
--> Processing Dependency: perl(HTML::Entities) for package: perl-libwww-perl-6.05-.el7.noarch
--> Processing Dependency: perl(Encode::Locale) for package: perl-libwww-perl-6.05-.el7.noarch
--> Processing Dependency: perl(Digest::MD5) for package: perl-libwww-perl-6.05-.el7.noarch
--> Running transaction check
---> Package gdbm-devel.x86_64 :1.10-.el7 will be installed
---> Package libdb-devel.x86_64 :5.3.-.el7 will be installed
--> Processing Dependency: libdb(x86-) = 5.3.-.el7 for package: libdb-devel-5.3.-.el7.x86_64
---> Package pciutils-libs.x86_64 :3.2.-.el7 will be updated
---> Package pciutils-libs.x86_64 :3.5.-.el7 will be an update
---> Package perl-Digest-MD5.x86_64 :2.52-.el7 will be installed
---> Package perl-Encode-Locale.noarch :1.03-.el7 will be installed
---> Package perl-ExtUtils-ParseXS.noarch :3.18-.el7 will be installed
---> Package perl-File-Listing.noarch :6.04-.el7 will be installed
---> Package perl-HTML-Parser.x86_64 :3.71-.el7 will be installed
--> Processing Dependency: perl(HTML::Tagset) >= for package: perl-HTML-Parser-3.71-.el7.x86_64
---> Package perl-HTTP-Cookies.noarch :6.01-.el7 will be installed
---> Package perl-HTTP-Daemon.noarch :6.01-.el7 will be installed
--> Processing Dependency: perl(IO::Socket::IP) for package: perl-HTTP-Daemon-6.01-.el7.noarch
---> Package perl-HTTP-Date.noarch :6.02-.el7 will be installed
--> Processing Dependency: perl(Time::Zone) for package: perl-HTTP-Date-6.02-.el7.noarch
---> Package perl-HTTP-Message.noarch :6.06-.el7 will be installed
--> Processing Dependency: perl(IO::HTML) for package: perl-HTTP-Message-6.06-.el7.noarch
---> Package perl-HTTP-Negotiate.noarch :6.01-.el7 will be installed
---> Package perl-LWP-MediaTypes.noarch :6.02-.el7 will be installed
--> Processing Dependency: mailcap for package: perl-LWP-MediaTypes-6.02-.el7.noarch
---> Package perl-Net-HTTP.noarch :6.06-.el7 will be installed
--> Processing Dependency: perl(IO::Socket::SSL) >= 1.38 for package: perl-Net-HTTP-6.06-.el7.noarch
---> Package perl-URI.noarch :1.60-.el7 will be installed
--> Processing Dependency: perl(Business::ISBN) for package: perl-URI-1.60-.el7.noarch
---> Package perl-WWW-RobotRules.noarch :6.02-.el7 will be installed
---> Package systemtap-sdt-devel.x86_64 :3.2-.el7_5 will be installed
--> Processing Dependency: pyparsing for package: systemtap-sdt-devel-3.2-.el7_5.x86_64
--> Running transaction check
---> Package libdb.x86_64 :5.3.-.el7 will be updated
--> Processing Dependency: libdb(x86-) = 5.3.-.el7 for package: libdb-utils-5.3.-.el7.x86_64
---> Package libdb.x86_64 :5.3.-.el7 will be an update
---> Package mailcap.noarch :2.1.-.el7 will be installed
---> Package perl-Business-ISBN.noarch :2.06-.el7 will be installed
--> Processing Dependency: perl(Business::ISBN::Data) >= 20120719.001 for package: perl-Business-ISBN-2.06-.el7.noarch
---> Package perl-HTML-Tagset.noarch :3.20-.el7 will be installed
---> Package perl-IO-HTML.noarch :1.00-.el7 will be installed
---> Package perl-IO-Socket-IP.noarch :0.21-.el7 will be installed
---> Package perl-IO-Socket-SSL.noarch :1.94-.el7 will be installed
--> Processing Dependency: perl-Net-SSLeay >= 1.55- for package: perl-IO-Socket-SSL-1.94-.el7.noarch
--> Processing Dependency: perl(Net::SSLeay) >= 1.21 for package: perl-IO-Socket-SSL-1.94-.el7.noarch
--> Processing Dependency: perl(Net::SSLeay) for package: perl-IO-Socket-SSL-1.94-.el7.noarch
--> Processing Dependency: perl(Net::LibIDN) for package: perl-IO-Socket-SSL-1.94-.el7.noarch
--> Processing Dependency: perl(Mozilla::CA) for package: perl-IO-Socket-SSL-1.94-.el7.noarch
---> Package perl-TimeDate.noarch :2.30-.el7 will be installed
---> Package pyparsing.noarch :1.5.-.el7 will be installed
--> Running transaction check
---> Package libdb-utils.x86_64 :5.3.-.el7 will be updated
---> Package libdb-utils.x86_64 :5.3.-.el7 will be an update
---> Package perl-Business-ISBN-Data.noarch :20120719.001-.el7 will be installed
---> Package perl-Mozilla-CA.noarch :-.el7 will be installed
---> Package perl-Net-LibIDN.x86_64 :0.12-.el7 will be installed
---> Package perl-Net-SSLeay.x86_64 :1.55-.el7 will be installed
--> Finished Dependency Resolution Dependencies Resolved ================================================================================
Package Arch Version Repository
Size
================================================================================
Installing:
bind-utils x86_64 :9.9.-.el7_5. updates k
fuse x86_64 2.9.-.el7 base k
fuse-libs x86_64 2.9.-.el7 base k
psmisc x86_64 22.20-.el7 base k
redhat-lsb x86_64 4.1-.el7.centos. base k
Installing for dependencies:
GeoIP x86_64 1.5.-.el7 base 1.1 M
at x86_64 3.1.-.el7 base k
bc x86_64 1.06.-.el7 base k
bind-libs x86_64 :9.9.-.el7_5. updates 1.0 M
cups-client x86_64 :1.6.-.el7 base k
desktop-file-utils x86_64 0.23-.el7 base k
ed x86_64 1.9-.el7 base k
emacs-filesystem noarch :24.3-.el7_4 base k
foomatic-filters x86_64 4.0.-.el7 base k
gdbm-devel x86_64 1.10-.el7 base k
libdb-devel x86_64 5.3.-.el7 base k
libmng x86_64 1.0.-.el7 base k
libpng12 x86_64 1.2.-.el7 base k
m4 x86_64 1.4.-.el7 base k
mailcap noarch 2.1.-.el7 base k
mailx x86_64 12.5-.el7 base k
mesa-libGLU x86_64 9.0.-.el7 base k
patch x86_64 2.7.-.el7_5 updates k
pciutils x86_64 3.5.-.el7 base k
perl-B-Lint noarch 1.17-.el7 base k
perl-Business-ISBN noarch 2.06-.el7 base k
perl-Business-ISBN-Data noarch 20120719.001-.el7 base k
perl-CGI noarch 3.63-.el7 base k
perl-CPAN noarch 1.9800-.el7 base k
perl-Class-ISA noarch 0.36-.el7 base 8.9 k
perl-Digest noarch 1.17-.el7 base k
perl-Digest-MD5 x86_64 2.52-.el7 base k
perl-Digest-SHA x86_64 :5.85-.el7 base k
perl-Encode-Locale noarch 1.03-.el7 base k
perl-Env noarch 1.04-.el7 base k
perl-ExtUtils-Install noarch 1.58-.el7 base k
perl-ExtUtils-MakeMaker noarch 6.68-.el7 base k
perl-ExtUtils-Manifest noarch 1.61-.el7 base k
perl-ExtUtils-ParseXS noarch :3.18-.el7 base k
perl-FCGI x86_64 :0.74-.el7 base k
perl-File-CheckTree noarch 4.42-.el7 base k
perl-File-Listing noarch 6.04-.el7 base k
perl-HTML-Parser x86_64 3.71-.el7 base k
perl-HTML-Tagset noarch 3.20-.el7 base k
perl-HTTP-Cookies noarch 6.01-.el7 base k
perl-HTTP-Daemon noarch 6.01-.el7 base k
perl-HTTP-Date noarch 6.02-.el7 base k
perl-HTTP-Message noarch 6.06-.el7 base k
perl-HTTP-Negotiate noarch 6.01-.el7 base k
perl-IO-HTML noarch 1.00-.el7 base k
perl-IO-Socket-IP noarch 0.21-.el7 base k
perl-IO-Socket-SSL noarch 1.94-.el7 base k
perl-LWP-MediaTypes noarch 6.02-.el7 base k
perl-Locale-Codes noarch 3.26-.el7 base k
perl-Locale-Maketext noarch 1.23-.el7 base k
perl-Module-Pluggable noarch :4.8-.el7 base k
perl-Mozilla-CA noarch -.el7 base k
perl-Net-HTTP noarch 6.06-.el7 base k
perl-Net-LibIDN x86_64 0.12-.el7 base k
perl-Net-SSLeay x86_64 1.55-.el7 base k
perl-Pod-Checker noarch 1.60-.el7 base k
perl-Pod-LaTeX noarch 0.61-.el7 base k
perl-Pod-Parser noarch 1.61-.el7 base k
perl-Pod-Plainer noarch 1.03-.el7 base 9.0 k
perl-Sys-Syslog x86_64 0.33-.el7 base k
perl-Test-Harness noarch 3.28-.el7 base k
perl-Test-Simple noarch 0.98-.el7 base k
perl-Text-Soundex x86_64 3.04-.el7 base k
perl-Text-Unidecode noarch 0.04-.el7 base k
perl-TimeDate noarch :2.30-.el7 base k
perl-URI noarch 1.60-.el7 base k
perl-WWW-RobotRules noarch 6.02-.el7 base k
perl-XML-LibXML x86_64 :2.0018-.el7 base k
perl-XML-NamespaceSupport noarch 1.11-.el7 base k
perl-XML-SAX noarch 0.99-.el7 base k
perl-XML-SAX-Base noarch 1.08-.el7 base k
perl-autodie noarch 2.16-.el7 base k
perl-devel x86_64 :5.16.-.el7 base k
perl-libwww-perl noarch 6.05-.el7 base k
perl-local-lib noarch 1.008010-.el7 base k
pyparsing noarch 1.5.-.el7 base k
qt x86_64 :4.8.-.el7 base 4.6 M
qt-settings noarch -23.7.el7.centos base k
qt-x11 x86_64 :4.8.-.el7 base M
qt3 x86_64 3.3.8b-.el7 base 3.5 M
redhat-lsb-core x86_64 4.1-.el7.centos. base k
redhat-lsb-cxx x86_64 4.1-.el7.centos. base k
redhat-lsb-desktop x86_64 4.1-.el7.centos. base k
redhat-lsb-languages x86_64 4.1-.el7.centos. base k
redhat-lsb-printing x86_64 4.1-.el7.centos. base k
redhat-lsb-submod-multimedia x86_64 4.1-.el7.centos. base k
redhat-lsb-submod-security x86_64 4.1-.el7.centos. base k
spax x86_64 1.5.-.el7 base k
systemtap-sdt-devel x86_64 3.2-.el7_5 updates k
time x86_64 1.7-.el7 base k
xdg-utils noarch 1.1.-0.17.20120809git.el7 base k
Updating for dependencies:
bind-libs-lite x86_64 :9.9.-.el7_5. updates k
bind-license noarch :9.9.-.el7_5. updates k
libdb x86_64 5.3.-.el7 base k
libdb-utils x86_64 5.3.-.el7 base k
pciutils-libs x86_64 3.5.-.el7 base k Transaction Summary
================================================================================
Install Packages (+ Dependent packages)
Upgrade ( Dependent packages) Total download size: M
Downloading packages:
Delta RPMs disabled because /usr/bin/applydeltarpm not installed.
--------------------------------------------------------------------------------
Total 2.1 MB/s | MB :
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
Installing : GeoIP-1.5.-.el7.x86_64 /
Installing : perl-Test-Harness-3.28-.el7.noarch /
Installing : perl-Pod-Parser-1.61-.el7.noarch /
Installing : libmng-1.0.-.el7.x86_64 /
Installing : perl-XML-NamespaceSupport-1.11-.el7.noarch /
Installing : perl-XML-SAX-Base-1.08-.el7.noarch /
Updating : libdb-5.3.-.el7.x86_64 /
Installing : perl-Digest-1.17-.el7.noarch /
Installing : perl-IO-Socket-IP-0.21-.el7.noarch /
Installing : perl-Encode-Locale-1.03-.el7.noarch /
Updating : :bind-license-9.9.-.el7_5..noarch /
Installing : :bind-libs-9.9.-.el7_5..x86_64 /
Installing : :perl-Digest-SHA-5.85-.el7.x86_64 /
Installing : perl-Digest-MD5-2.52-.el7.x86_64 /
Installing : libdb-devel-5.3.-.el7.x86_64 /
Installing : qt3-3.3.8b-.el7.x86_64 /
Installing : perl-Pod-Checker-1.60-.el7.noarch /
Installing : perl-Pod-LaTeX-0.61-.el7.noarch /
Installing : perl-Pod-Plainer-1.03-.el7.noarch /
Installing : perl-Test-Simple-0.98-.el7.noarch /
Installing : perl-Net-LibIDN-0.12-.el7.x86_64 /
Installing : spax-1.5.-.el7.x86_64 /
Installing : :cups-client-1.6.-.el7.x86_64 /
Installing : redhat-lsb-submod-multimedia-4.1-.el7.centos..x86_6 /
Installing : perl-Mozilla-CA--.el7.noarch /
Installing : at-3.1.-.el7.x86_64 /
Installing : pyparsing-1.5.-.el7.noarch /
Installing : systemtap-sdt-devel-3.2-.el7_5.x86_64 /
Updating : pciutils-libs-3.5.-.el7.x86_64 /
Installing : pciutils-3.5.-.el7.x86_64 /
Installing : qt-settings--23.7.el7.centos.noarch /
Installing : :qt-4.8.-.el7.x86_64 /
Installing : :qt-x11-4.8.-.el7.x86_64 /
Installing : perl-IO-HTML-1.00-.el7.noarch /
Installing : :perl-Module-Pluggable-4.8-.el7.noarch /
Installing : perl-B-Lint-1.17-.el7.noarch /
Installing : perl-local-lib-1.008010-.el7.noarch /
Installing : mailx-12.5-.el7.x86_64 /
Installing : time-1.7-.el7.x86_64 /
Installing : perl-Text-Unidecode-0.04-.el7.noarch /
Installing : perl-Text-Soundex-3.04-.el7.x86_64 /
Installing : mesa-libGLU-9.0.-.el7.x86_64 /
Installing : patch-2.7.-.el7_5.x86_64 /
Installing : perl-Class-ISA-0.36-.el7.noarch /
Installing : bc-1.06.-.el7.x86_64 /
Installing : gdbm-devel-1.10-.el7.x86_64 /
Installing : m4-1.4.-.el7.x86_64 /
Installing : perl-ExtUtils-Manifest-1.61-.el7.noarch /
Installing : :perl-ExtUtils-ParseXS-3.18-.el7.noarch /
Installing : perl-ExtUtils-MakeMaker-6.68-.el7.noarch /
Installing : perl-ExtUtils-Install-1.58-.el7.noarch /
Installing : :perl-devel-5.16.-.el7.x86_64 /
Installing : perl-CPAN-1.9800-.el7.noarch /
Installing : mailcap-2.1.-.el7.noarch /
Installing : perl-LWP-MediaTypes-6.02-.el7.noarch /
Installing : ed-1.9-.el7.x86_64 /
Installing : perl-HTML-Tagset-3.20-.el7.noarch /
Installing : :perl-FCGI-0.74-.el7.x86_64 /
Installing : perl-CGI-3.63-.el7.noarch /
Installing : psmisc-22.20-.el7.x86_64 /
Installing : perl-Env-1.04-.el7.noarch /
Installing : redhat-lsb-submod-security-4.1-.el7.centos..x86_64 /
Installing : redhat-lsb-core-4.1-.el7.centos..x86_64 /
Installing : redhat-lsb-cxx-4.1-.el7.centos..x86_64 /
Installing : :perl-TimeDate-2.30-.el7.noarch /
Installing : perl-HTTP-Date-6.02-.el7.noarch /
Installing : perl-File-Listing-6.04-.el7.noarch /
Installing : :emacs-filesystem-24.3-.el7_4.noarch /
Installing : desktop-file-utils-0.23-.el7.x86_64 /
Installing : xdg-utils-1.1.-0.17.20120809git.el7.noarch /
Installing : perl-File-CheckTree-4.42-.el7.noarch /
Installing : foomatic-filters-4.0.-.el7.x86_64 /
Installing : redhat-lsb-printing-4.1-.el7.centos..x86_64 /
Installing : perl-Net-SSLeay-1.55-.el7.x86_64 /
Installing : perl-IO-Socket-SSL-1.94-.el7.noarch /
Installing : perl-Net-HTTP-6.06-.el7.noarch /
Installing : perl-autodie-2.16-.el7.noarch /
Installing : perl-Business-ISBN-Data-20120719.001-.el7.noarch /
Installing : perl-Business-ISBN-2.06-.el7.noarch /
Installing : perl-URI-1.60-.el7.noarch /
Installing : perl-HTTP-Message-6.06-.el7.noarch /
Installing : perl-HTTP-Cookies-6.01-.el7.noarch /
Installing : perl-HTML-Parser-3.71-.el7.x86_64 /
Installing : perl-HTTP-Negotiate-6.01-.el7.noarch /
Installing : perl-HTTP-Daemon-6.01-.el7.noarch /
Installing : perl-WWW-RobotRules-6.02-.el7.noarch /
Installing : perl-libwww-perl-6.05-.el7.noarch /
Installing : perl-XML-SAX-0.99-.el7.noarch /
Installing : :perl-XML-LibXML-2.0018-.el7.x86_64 /
Installing : perl-Sys-Syslog-0.33-.el7.x86_64 /
Installing : libpng12-1.2.-.el7.x86_64 /
Installing : redhat-lsb-desktop-4.1-.el7.centos..x86_64 /
Installing : perl-Locale-Codes-3.26-.el7.noarch /
Installing : perl-Locale-Maketext-1.23-.el7.noarch /
Installing : redhat-lsb-languages-4.1-.el7.centos..x86_64 /
Installing : redhat-lsb-4.1-.el7.centos..x86_64 /
Installing : :bind-utils-9.9.-.el7_5..x86_64 /
Updating : :bind-libs-lite-9.9.-.el7_5..x86_64 /
Updating : libdb-utils-5.3.-.el7.x86_64 /
Installing : fuse-libs-2.9.-.el7.x86_64 /
Installing : fuse-2.9.-.el7.x86_64 /
Cleanup : :bind-libs-lite-9.9.-.el7.x86_64 /
Cleanup : libdb-utils-5.3.-.el7.x86_64 /
Cleanup : :bind-license-9.9.-.el7.noarch /
Cleanup : libdb-5.3.-.el7.x86_64 /
Cleanup : pciutils-libs-3.2.-.el7.x86_64 /
Verifying : redhat-lsb-desktop-4.1-.el7.centos..x86_64 /
Verifying : perl-Pod-Parser-1.61-.el7.noarch /
Verifying : libdb-devel-5.3.-.el7.x86_64 /
Verifying : redhat-lsb-languages-4.1-.el7.centos..x86_64 /
Verifying : fuse-2.9.-.el7.x86_64 /
Verifying : perl-Locale-Maketext-1.23-.el7.noarch /
Verifying : qt3-3.3.8b-.el7.x86_64 /
Verifying : perl-Test-Simple-0.98-.el7.noarch /
Verifying : perl-LWP-MediaTypes-6.02-.el7.noarch /
Verifying : perl-Locale-Codes-3.26-.el7.noarch /
Verifying : libpng12-1.2.-.el7.x86_64 /
Verifying : perl-Sys-Syslog-0.33-.el7.x86_64 /
Verifying : perl-Business-ISBN-Data-20120719.001-.el7.noarch /
Verifying : desktop-file-utils-0.23-.el7.x86_64 /
Verifying : perl-IO-Socket-SSL-1.94-.el7.noarch /
Verifying : libdb-utils-5.3.-.el7.x86_64 /
Verifying : :bind-license-9.9.-.el7_5..noarch /
Verifying : perl-Encode-Locale-1.03-.el7.noarch /
Verifying : perl-autodie-2.16-.el7.noarch /
Verifying : perl-CPAN-1.9800-.el7.noarch /
Verifying : perl-IO-Socket-IP-0.21-.el7.noarch /
Verifying : perl-Net-SSLeay-1.55-.el7.x86_64 /
Verifying : foomatic-filters-4.0.-.el7.x86_64 /
Verifying : perl-File-CheckTree-4.42-.el7.noarch /
Verifying : :emacs-filesystem-24.3-.el7_4.noarch /
Verifying : perl-Net-HTTP-6.06-.el7.noarch /
Verifying : :perl-Digest-SHA-5.85-.el7.x86_64 /
Verifying : pciutils-3.5.-.el7.x86_64 /
Verifying : :perl-TimeDate-2.30-.el7.noarch /
Verifying : redhat-lsb-submod-security-4.1-.el7.centos..x86_64 /
Verifying : perl-B-Lint-1.17-.el7.noarch /
Verifying : perl-HTTP-Cookies-6.01-.el7.noarch /
Verifying : xdg-utils-1.1.-0.17.20120809git.el7.noarch /
Verifying : :qt-4.8.-.el7.x86_64 /
Verifying : :perl-ExtUtils-ParseXS-3.18-.el7.noarch /
Verifying : perl-ExtUtils-MakeMaker-6.68-.el7.noarch /
Verifying : perl-Env-1.04-.el7.noarch /
Verifying : :bind-utils-9.9.-.el7_5..x86_64 /
Verifying : :bind-libs-lite-9.9.-.el7_5..x86_64 /
Verifying : psmisc-22.20-.el7.x86_64 /
Verifying : perl-Pod-Checker-1.60-.el7.noarch /
Verifying : :perl-XML-LibXML-2.0018-.el7.x86_64 /
Verifying : :perl-FCGI-0.74-.el7.x86_64 /
Verifying : perl-HTML-Tagset-3.20-.el7.noarch /
Verifying : redhat-lsb-cxx-4.1-.el7.centos..x86_64 /
Verifying : perl-ExtUtils-Install-1.58-.el7.noarch /
Verifying : ed-1.9-.el7.x86_64 /
Verifying : redhat-lsb-core-4.1-.el7.centos..x86_64 /
Verifying : perl-Digest-1.17-.el7.noarch /
Verifying : :qt-x11-4.8.-.el7.x86_64 /
Verifying : perl-URI-1.60-.el7.noarch /
Verifying : perl-File-Listing-6.04-.el7.noarch /
Verifying : perl-Business-ISBN-2.06-.el7.noarch /
Verifying : :bind-libs-9.9.-.el7_5..x86_64 /
Verifying : mailcap-2.1.-.el7.noarch /
Verifying : perl-ExtUtils-Manifest-1.61-.el7.noarch /
Verifying : m4-1.4.-.el7.x86_64 /
Verifying : gdbm-devel-1.10-.el7.x86_64 /
Verifying : redhat-lsb-printing-4.1-.el7.centos..x86_64 /
Verifying : bc-1.06.-.el7.x86_64 /
Verifying : perl-HTML-Parser-3.71-.el7.x86_64 /
Verifying : perl-HTTP-Message-6.06-.el7.noarch /
Verifying : perl-Test-Harness-3.28-.el7.noarch /
Verifying : perl-Pod-LaTeX-0.61-.el7.noarch /
Verifying : perl-WWW-RobotRules-6.02-.el7.noarch /
Verifying : :perl-devel-5.16.-.el7.x86_64 /
Verifying : libdb-5.3.-.el7.x86_64 /
Verifying : qt-settings--23.7.el7.centos.noarch /
Verifying : perl-Class-ISA-0.36-.el7.noarch /
Verifying : fuse-libs-2.9.-.el7.x86_64 /
Verifying : perl-HTTP-Negotiate-6.01-.el7.noarch /
Verifying : patch-2.7.-.el7_5.x86_64 /
Verifying : mesa-libGLU-9.0.-.el7.x86_64 /
Verifying : perl-Text-Unidecode-0.04-.el7.noarch /
Verifying : time-1.7-.el7.x86_64 /
Verifying : systemtap-sdt-devel-3.2-.el7_5.x86_64 /
Verifying : perl-Text-Soundex-3.04-.el7.x86_64 /
Verifying : perl-XML-SAX-Base-1.08-.el7.noarch /
Verifying : mailx-12.5-.el7.x86_64 /
Verifying : perl-local-lib-1.008010-.el7.noarch /
Verifying : :perl-Module-Pluggable-4.8-.el7.noarch /
Verifying : perl-IO-HTML-1.00-.el7.noarch /
Verifying : pciutils-libs-3.5.-.el7.x86_64 /
Verifying : pyparsing-1.5.-.el7.noarch /
Verifying : at-3.1.-.el7.x86_64 /
Verifying : perl-HTTP-Date-6.02-.el7.noarch /
Verifying : perl-XML-NamespaceSupport-1.11-.el7.noarch /
Verifying : perl-Mozilla-CA--.el7.noarch /
Verifying : libmng-1.0.-.el7.x86_64 /
Verifying : perl-HTTP-Daemon-6.01-.el7.noarch /
Verifying : perl-Digest-MD5-2.52-.el7.x86_64 /
Verifying : redhat-lsb-4.1-.el7.centos..x86_64 /
Verifying : perl-libwww-perl-6.05-.el7.noarch /
Verifying : redhat-lsb-submod-multimedia-4.1-.el7.centos..x86_6 /
Verifying : perl-XML-SAX-0.99-.el7.noarch /
Verifying : :cups-client-1.6.-.el7.x86_64 /
Verifying : perl-CGI-3.63-.el7.noarch /
Verifying : perl-Pod-Plainer-1.03-.el7.noarch /
Verifying : GeoIP-1.5.-.el7.x86_64 /
Verifying : spax-1.5.-.el7.x86_64 /
Verifying : perl-Net-LibIDN-0.12-.el7.x86_64 /
Verifying : libdb-5.3.-.el7.x86_64 /
Verifying : :bind-license-9.9.-.el7.noarch /
Verifying : :bind-libs-lite-9.9.-.el7.x86_64 /
Verifying : pciutils-libs-3.2.-.el7.x86_64 /
Verifying : libdb-utils-5.3.-.el7.x86_64 / Installed:
bind-utils.x86_64 :9.9.-.el7_5. fuse.x86_64 :2.9.-.el7
fuse-libs.x86_64 :2.9.-.el7 psmisc.x86_64 :22.20-.el7
redhat-lsb.x86_64 :4.1-.el7.centos. Dependency Installed:
GeoIP.x86_64 :1.5.-.el7
at.x86_64 :3.1.-.el7
bc.x86_64 :1.06.-.el7
bind-libs.x86_64 :9.9.-.el7_5.
cups-client.x86_64 :1.6.-.el7
desktop-file-utils.x86_64 :0.23-.el7
ed.x86_64 :1.9-.el7
emacs-filesystem.noarch :24.3-.el7_4
foomatic-filters.x86_64 :4.0.-.el7
gdbm-devel.x86_64 :1.10-.el7
libdb-devel.x86_64 :5.3.-.el7
libmng.x86_64 :1.0.-.el7
libpng12.x86_64 :1.2.-.el7
m4.x86_64 :1.4.-.el7
mailcap.noarch :2.1.-.el7
mailx.x86_64 :12.5-.el7
mesa-libGLU.x86_64 :9.0.-.el7
patch.x86_64 :2.7.-.el7_5
pciutils.x86_64 :3.5.-.el7
perl-B-Lint.noarch :1.17-.el7
perl-Business-ISBN.noarch :2.06-.el7
perl-Business-ISBN-Data.noarch :20120719.001-.el7
perl-CGI.noarch :3.63-.el7
perl-CPAN.noarch :1.9800-.el7
perl-Class-ISA.noarch :0.36-.el7
perl-Digest.noarch :1.17-.el7
perl-Digest-MD5.x86_64 :2.52-.el7
perl-Digest-SHA.x86_64 :5.85-.el7
perl-Encode-Locale.noarch :1.03-.el7
perl-Env.noarch :1.04-.el7
perl-ExtUtils-Install.noarch :1.58-.el7
perl-ExtUtils-MakeMaker.noarch :6.68-.el7
perl-ExtUtils-Manifest.noarch :1.61-.el7
perl-ExtUtils-ParseXS.noarch :3.18-.el7
perl-FCGI.x86_64 :0.74-.el7
perl-File-CheckTree.noarch :4.42-.el7
perl-File-Listing.noarch :6.04-.el7
perl-HTML-Parser.x86_64 :3.71-.el7
perl-HTML-Tagset.noarch :3.20-.el7
perl-HTTP-Cookies.noarch :6.01-.el7
perl-HTTP-Daemon.noarch :6.01-.el7
perl-HTTP-Date.noarch :6.02-.el7
perl-HTTP-Message.noarch :6.06-.el7
perl-HTTP-Negotiate.noarch :6.01-.el7
perl-IO-HTML.noarch :1.00-.el7
perl-IO-Socket-IP.noarch :0.21-.el7
perl-IO-Socket-SSL.noarch :1.94-.el7
perl-LWP-MediaTypes.noarch :6.02-.el7
perl-Locale-Codes.noarch :3.26-.el7
perl-Locale-Maketext.noarch :1.23-.el7
perl-Module-Pluggable.noarch :4.8-.el7
perl-Mozilla-CA.noarch :-.el7
perl-Net-HTTP.noarch :6.06-.el7
perl-Net-LibIDN.x86_64 :0.12-.el7
perl-Net-SSLeay.x86_64 :1.55-.el7
perl-Pod-Checker.noarch :1.60-.el7
perl-Pod-LaTeX.noarch :0.61-.el7
perl-Pod-Parser.noarch :1.61-.el7
perl-Pod-Plainer.noarch :1.03-.el7
perl-Sys-Syslog.x86_64 :0.33-.el7
perl-Test-Harness.noarch :3.28-.el7
perl-Test-Simple.noarch :0.98-.el7
perl-Text-Soundex.x86_64 :3.04-.el7
perl-Text-Unidecode.noarch :0.04-.el7
perl-TimeDate.noarch :2.30-.el7
perl-URI.noarch :1.60-.el7
perl-WWW-RobotRules.noarch :6.02-.el7
perl-XML-LibXML.x86_64 :2.0018-.el7
perl-XML-NamespaceSupport.noarch :1.11-.el7
perl-XML-SAX.noarch :0.99-.el7
perl-XML-SAX-Base.noarch :1.08-.el7
perl-autodie.noarch :2.16-.el7
perl-devel.x86_64 :5.16.-.el7
perl-libwww-perl.noarch :6.05-.el7
perl-local-lib.noarch :1.008010-.el7
pyparsing.noarch :1.5.-.el7
qt.x86_64 :4.8.-.el7
qt-settings.noarch :-23.7.el7.centos
qt-x11.x86_64 :4.8.-.el7
qt3.x86_64 :3.3.8b-.el7
redhat-lsb-core.x86_64 :4.1-.el7.centos.
redhat-lsb-cxx.x86_64 :4.1-.el7.centos.
redhat-lsb-desktop.x86_64 :4.1-.el7.centos.
redhat-lsb-languages.x86_64 :4.1-.el7.centos.
redhat-lsb-printing.x86_64 :4.1-.el7.centos.
redhat-lsb-submod-multimedia.x86_64 :4.1-.el7.centos.
redhat-lsb-submod-security.x86_64 :4.1-.el7.centos.
spax.x86_64 :1.5.-.el7
systemtap-sdt-devel.x86_64 :3.2-.el7_5
time.x86_64 :1.7-.el7
xdg-utils.noarch :1.1.-0.17.20120809git.el7 Dependency Updated:
bind-libs-lite.x86_64 :9.9.-.el7_5.
bind-license.noarch :9.9.-.el7_5.
libdb.x86_64 :5.3.-.el7
libdb-utils.x86_64 :5.3.-.el7
pciutils-libs.x86_64 :3.5.-.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..com
Package chkconfig-1.7.-.el7.x86_64 already installed and latest version
Package python-2.7.-.el7_5.x86_64 already installed and latest version
Package :bind-utils-9.9.-.el7_5..x86_64 already installed and latest version
Package psmisc-22.20-.el7.x86_64 already installed and latest version
Package libxslt-1.1.-.el7.x86_64 already installed and latest version
Package zlib-1.2.-.el7.x86_64 already installed and latest version
Package sqlite-3.7.-.el7.x86_64 already installed and latest version
Package cyrus-sasl-plain-2.1.-.el7.x86_64 already installed and latest version
Package cyrus-sasl-gssapi-2.1.-.el7.x86_64 already installed and latest version
Package fuse-2.9.-.el7.x86_64 already installed and latest version
Package fuse-libs-2.9.-.el7.x86_64 already installed and latest version
Package redhat-lsb-4.1-.el7.centos..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.-.el7.x86_64 already installed and latest version
Package python-2.7.-.el7_5.x86_64 already installed and latest version
Package :bind-utils-9.9.-.el7_5..x86_64 already installed and latest version
Package psmisc-22.20-.el7.x86_64 already installed and latest version
Package libxslt-1.1.-.el7.x86_64 already installed and latest version
Package zlib-1.2.-.el7.x86_64 already installed and latest version
Package sqlite-3.7.-.el7.x86_64 already installed and latest version
Package cyrus-sasl-plain-2.1.-.el7.x86_64 already installed and latest version
Package cyrus-sasl-gssapi-2.1.-.el7.x86_64 already installed and latest version
Package fuse-2.9.-.el7.x86_64 already installed and latest version
Package fuse-libs-2.9.-.el7.x86_64 already installed and latest version
Package redhat-lsb-4.1-.el7.centos..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
-rw-r--r-- root root Aug : CDH-5.15.-.cdh5.15.1.p0.-el7.parcel
-rw-r--r-- root root Sep : CDH-5.15.-.cdh5.15.1.p0.-el7.parcel.sha1
-rw-r--r-- root root Sep : cloudera-manager-centos7-cm5..1_x86_64.tar.gz
-rw-r--r-- root root Aug : manifest.json
-rw-r--r-- root root Sep : mysql-connector-java-5.1..jar
[root@node101 download]#
[root@node101 download]#
[root@node101 download]# ll
total
-rw-r--r-- root root Aug : CDH-5.15.-.cdh5.15.1.p0.-el7.parcel
-rw-r--r-- root root Sep : CDH-5.15.-.cdh5.15.1.p0.-el7.parcel.sha1
-rw-r--r-- root root Sep : cloudera-manager-centos7-cm5..1_x86_64.tar.gz
-rw-r--r-- root root Aug : manifest.json
-rw-r--r-- root root Sep : mysql-connector-java-5.1..jar
[root@node101 download]#
[root@node101 download]# xrsync.sh cloudera-manager-centos7-cm5..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
-rw-r--r-- root root Aug : CDH-5.15.-.cdh5.15.1.p0.-el7.parcel
-rw-r--r-- root root Sep : CDH-5.15.-.cdh5.15.1.p0.-el7.parcel.sha1
-rw-r--r-- root root Sep : cloudera-manager-centos7-cm5..1_x86_64.tar.gz
-rw-r--r-- root root Aug : manifest.json
-rw-r--r-- root root Sep : mysql-connector-java-5.1..jar
命令执行成功
============= node102.yinzhengjie.org.cn : ls -l /root/download ============
total
-rw-r--r-- root root Sep : cloudera-manager-centos7-cm5..1_x86_64.tar.gz
命令执行成功
============= node103.yinzhengjie.org.cn : ls -l /root/download ============
total
-rw-r--r-- root root Sep : cloudera-manager-centos7-cm5..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..1_x86_64.tar.gz -C /opt/cloudera-manager
============= node101.yinzhengjie.org.cn : tar -zxf /root/download/cloudera-manager-centos7-cm5..1_x86_64.tar.gz -C /opt/cloudera-manager ============
命令执行成功
============= node102.yinzhengjie.org.cn : tar -zxf /root/download/cloudera-manager-centos7-cm5..1_x86_64.tar.gz -C /opt/cloudera-manager ============
命令执行成功
============= node103.yinzhengjie.org.cn : tar -zxf /root/download/cloudera-manager-centos7-cm5..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
drwxr-xr-x Jul : cloudera
drwxr-xr-x Jul : cm-5.15.
命令执行成功
============= node102.yinzhengjie.org.cn : ls -l /opt/cloudera-manager/ ============
total
drwxr-xr-x jenkins jenkins Jul : cloudera
drwxr-xr-x jenkins jenkins Jul : cm-5.15.
命令执行成功
============= node103.yinzhengjie.org.cn : ls -l /opt/cloudera-manager/ ============
total
drwxr-xr-x Jul : cloudera
drwxr-xr-x Jul : cm-5.15.
命令执行成功
[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=(cloudera-scm) gid=(cloudera-scm) groups=(cloudera-scm)
命令执行成功
============= node102.yinzhengjie.org.cn : id cloudera-scm ============
uid=(cloudera-scm) gid=(cloudera-scm) groups=(cloudera-scm)
命令执行成功
============= node103.yinzhengjie.org.cn : id cloudera-scm ============
uid=(cloudera-scm) gid=(cloudera-scm) groups=(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./etc/cloudera-scm-agent/config.ini #注意,server_port 是Server和Agent的通信端口,没事别瞎改啊!
server_port=
[root@node101 download]#
[root@node101 download]# grep server_host /opt/cloudera-manager/cm-5.15./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./etc/cloudera-scm-agent/config.ini #我们指定CM的Server端
[root@node101 download]#
[root@node101 download]# grep server_host /opt/cloudera-manager/cm-5.15./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./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./etc/cloudera-scm-agent/config.ini #验证配置信息是否同步成功
============= node101.yinzhengjie.org.cn : grep server_host /opt/cloudera-manager/cm-5.15./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./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./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..jar /usr/share/java/mysql-connector-java.jar
[root@node101 download]#
[root@node101 download]# ll /usr/share/java | grep mysql
-rw-r--r-- root root Sep : 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./share/cmf/schema/
[root@node101 schema]#
[root@node101 schema]# ll
total
drwxr-xr-x Jul : mysql
drwxr-xr-x Jul : oracle
drwxr-xr-x Jul : postgresql
-rw-r--r-- Jul : scm_database_functions.sh
-rwxr-xr-x Jul : 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.
Verifying that we can write to /opt/cloudera-manager/cm-5.15./etc/cloudera-scm-server
Creating SCM configuration file in /opt/cloudera-manager/cm-5.15./etc/cloudera-scm-server
Executing: /usr/java/jdk1./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./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 cloudera-scm cloudera-scm Sep : /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 cloudera-scm cloudera-scm Sep : /opt/cloudera/parcels
命令执行成功
============= node102.yinzhengjie.org.cn : ls -ld /opt/cloudera/parcels ============
drwxr-xr-x cloudera-scm cloudera-scm Sep : /opt/cloudera/parcels
命令执行成功
============= node103.yinzhengjie.org.cn : ls -ld /opt/cloudera/parcels ============
drwxr-xr-x cloudera-scm cloudera-scm Sep : /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.-.cdh5.15.1.p0.-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.-.cdh5.15.1.p0.-el7.parcel.sha1 /opt/cloudera/parcel-repo/CDH-5.15.-.cdh5.15.1.p0.-el7.parcel.sha #注意,我在拷贝到时候重命名该文件了!
[root@node101 download]#
[root@node101 download]# ll /opt/cloudera/parcel-repo/
total
-rw-r--r-- root root Sep : CDH-5.15.-.cdh5.15.1.p0.-el7.parcel
-rw-r--r-- root root Sep : CDH-5.15.-.cdh5.15.1.p0.-el7.parcel.sha
-rw-r--r-- root root Sep : manifest.json
[root@node101 download]# 温馨提示:
如果你没有下载到“CDH-5.4.-.cdh5.4.0.p0.-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./etc/init.d/
[root@node101 init.d]#
[root@node101 init.d]# ll
total
-rwxr-xr-x Jul : cloudera-scm-agent
-rwxr-xr-x Jul : cloudera-scm-server
-rwxr-xr-x Jul : 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./etc/init.d/cloudera-scm-agent start ============
Starting cloudera-scm-agent: [ OK ]
命令执行成功
============= node102.yinzhengjie.org.cn : /opt/cloudera-manager/cm-5.15./etc/init.d/cloudera-scm-agent start ============
Starting cloudera-scm-agent: [ OK ]
命令执行成功
============= node103.yinzhengjie.org.cn : /opt/cloudera-manager/cm-5.15./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 ) 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./etc/init.d/cloudera-scm-agent status ============
cloudera-scm-agent (pid ) is running...
命令执行成功
============= node102.yinzhengjie.org.cn : /opt/cloudera-manager/cm-5.15./etc/init.d/cloudera-scm-agent status ============
cloudera-scm-agent (pid ) is running...
命令执行成功
============= node103.yinzhengjie.org.cn : /opt/cloudera-manager/cm-5.15./etc/init.d/cloudera-scm-agent status ============
cloudera-scm-agent (pid ) 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),如果出现以下内容说明启动成功:

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

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

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

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