centos上cliskhouse的安装记录

news2024/11/18 19:52:08

clickhouse是由俄罗斯Yandex公司开发的列式存储数据库,于2016年开源,clickhouse的定位是快速的数据分析,对于处理海量数据的情况性能非常好,在网上也有很多测试的案例,在大数据的情况下性能远超过其他数据库,并且不依赖于hadoop的生态系统,都是独立使用,在大数据存储业务上还是可以考虑的.

clickhouse官网地址:https://clickhouse.yandex/,文档地址:https://clickhouse.yandex/docs/en/

另外推荐单页文档,更方便:https://clickhouse.yandex/docs/en/single

下面开始安装
  安装依赖项
  安装过程需要curl下载包。此外,ClickHouse测试包在EPEL中有一些依赖关系,因此epel-release必须安装,以防您想要安装ClicKhouse测试包确保curl安装在系统上

sudo yum install -y curl
 #如果安装了测试包,添加epel-release
sudo yum install -y epel-release 

让我们下载并运行packagecloud.io提供的安装shell脚本

对于CentOS 6和7

curl -s https://packagecloud.io/install/repositories/altinity/clickhouse/script.rpm.sh | sudo bash

脚本后安装包
首先,确保我们有可用于安装的ClickHouse软件包

sudo yum list 'clickhouse*'

ClickHouse包应该列为可用,如下所示:

#可用包组

clickhouse-client.x86_64 18.1.0-1.el7 Altinity_clickhouse
clickhouse-common-static.x86_64 18.1.0-1.el7 Altinity_clickhouse
clickhouse-compressor.x86_64 1.1.54336-3.el7 Altinity_clickhouse
clickhouse-debuginfo.x86_64 18.1.0-1.el7 Altinity_clickhouse
clickhouse-mysql.noarch 0.0.20180319-1 Altinity_clickhouse
clickhouse-server.x86_64 18.1.0-1.el7 Altinity_clickhouse
clickhouse-server-common.x86_64 18.1.0-1.el7 Altinity_clickhouse
clickhouse-test.x86_64 18.1.0-1.el7 Altinity_clickhouse

有多个软件包可用(新版本和旧工具),其中一些已经弃用,因此无需安装所有可用的RPM。

现在让我们安装ClickHouse主要部件 - 服务器和客户端应用程序。

sudo yum install -y clickhouse-server clickhouse-client

并验证它是否已列为已安装

 sudo yum list installed 'clickhouse*'

ClickHouse软件包应列为已安装,如下所示:

Installed Packages
clickhouse-client.x86_64                 18.1.0-1.el7           @Altinity_clickhouse
clickhouse-common-static.x86_64          18.1.0-1.el7           @Altinity_clickhouse
clickhouse-server.x86_64                 18.1.0-1.el7           @Altinity_clickhouse
clickhouse-server-common.x86_64          18.1.0-1.el7           @Altinity_clickhouse

确保ClickHouse服务器正在运行

sudo /etc/init.d/clickhouse-server restart

然后连接到它 clickhouse-client

clickhouse-client

ClickHouse服务器应该响应,如下所示:

ClickHouse客户端版本18.1.0。
连接到localhost:9000作为用户默认值。
连接到ClickHouse服务器版本18.1.54396。
:)

配置对外访问

vim /etc/clickhouse-server/config.xml 
<!-- 如果禁用了ipv6,使用下面配置 -->
<listen_host>0.0.0.0</listen_host>
<!-- 如果没有禁用ipv6,使用下面配置,我使用的下面的配置 -->
<listen_host>::</listen_host>

修改default访问密码

vim /etc/clickhouse-server/user.xml 
<user>
	<default>
		<password>123456abc</password>
	<default>
</user>

开放8123端口

[root@localhost ~]# firewall-cmd --zone=public --add-port=8123/tcp --permanent
success
[root@localhost ~]# /etc/init.d/clickhouse-server restart
Stop clickhouse-server service: DONE
Start clickhouse-server service: Path to data directory in /etc/clickhouse-server/config.xml: /var/lib/clickhouse/
DONE
[root@localhost ~]# firewall-cmd --reload
success
[root@localhost ~]# firewall-cmd --zone=public --list-ports
9000/tcp 8123/tcp

9000并不是客户端访问的端口,应该是8123
在这里插入图片描述
在这里插入图片描述

以下为操作过程

[root@localhost ~]# yum -y install vim*
Loaded plugins: fastestmirror
base                                                                        | 3.6 kB  00:00:00
extras                                                                      | 2.9 kB  00:00:00
updates                                                                     | 2.9 kB  00:00:00
(1/4): extras/7/x86_64/primary_db                                           | 249 kB  00:00:00
(2/4): base/7/x86_64/primary_db                                             | 6.1 MB  00:00:01
(3/4): base/7/x86_64/group_gz                                               | 153 kB  00:00:02
(4/4): updates/7/x86_64/primary_db                                          |  19 MB  00:00:02
Determining fastest mirrors
 * base: mirrors.163.com
 * extras: mirrors.163.com
 * updates: mirrors.163.com
Resolving Dependencies
--> Running transaction check
---> Package vim-X11.x86_64 2:7.4.629-8.el7_9 will be installed
--> Processing Dependency: gtk2 >= 2.6 for package: 2:vim-X11-7.4.629-8.el7_9.x86_64
--> Processing Dependency: perl(:MODULE_COMPAT_5.16.3) for package: 2:vim-X11-7.4.629-8.el7_9.x86_6            4
--> Processing Dependency: hicolor-icon-theme for package: 2:vim-X11-7.4.629-8.el7_9.x86_64
--> Processing Dependency: libperl.so()(64bit) for package: 2:vim-X11-7.4.629-8.el7_9.x86_64
--> Processing Dependency: libpango-1.0.so.0()(64bit) for package: 2:vim-X11-7.4.629-8.el7_9.x86_64
--> Processing Dependency: libgtk-x11-2.0.so.0()(64bit) for package: 2:vim-X11-7.4.629-8.el7_9.x86_            64
--> Processing Dependency: libgpm.so.2()(64bit) for package: 2:vim-X11-7.4.629-8.el7_9.x86_64
--> Processing Dependency: libgdk_pixbuf-2.0.so.0()(64bit) for package: 2:vim-X11-7.4.629-8.el7_9.x            86_64
--> Processing Dependency: libgdk-x11-2.0.so.0()(64bit) for package: 2:vim-X11-7.4.629-8.el7_9.x86_            64
--> Processing Dependency: libXt.so.6()(64bit) for package: 2:vim-X11-7.4.629-8.el7_9.x86_64
--> Processing Dependency: libX11.so.6()(64bit) for package: 2:vim-X11-7.4.629-8.el7_9.x86_64
--> Processing Dependency: libSM.so.6()(64bit) for package: 2:vim-X11-7.4.629-8.el7_9.x86_64
--> Processing Dependency: libICE.so.6()(64bit) for package: 2:vim-X11-7.4.629-8.el7_9.x86_64
---> Package vim-common.x86_64 2:7.4.629-8.el7_9 will be installed
---> Package vim-enhanced.x86_64 2:7.4.629-8.el7_9 will be installed
---> Package vim-filesystem.x86_64 2:7.4.629-8.el7_9 will be installed
---> Package vim-minimal.x86_64 2:7.4.160-2.el7 will be updated
---> Package vim-minimal.x86_64 2:7.4.629-8.el7_9 will be an update
--> Running transaction check
---> Package gdk-pixbuf2.x86_64 0:2.36.12-3.el7 will be installed
--> Processing Dependency: libtiff.so.5(LIBTIFF_4.0)(64bit) for package: gdk-pixbuf2-2.36.12-3.el7.            x86_64
--> Processing Dependency: libpng15.so.15(PNG15_0)(64bit) for package: gdk-pixbuf2-2.36.12-3.el7.x8            6_64
--> Processing Dependency: libjpeg.so.62(LIBJPEG_6.2)(64bit) for package: gdk-pixbuf2-2.36.12-3.el7            .x86_64
--> Processing Dependency: libtiff.so.5()(64bit) for package: gdk-pixbuf2-2.36.12-3.el7.x86_64
--> Processing Dependency: libpng15.so.15()(64bit) for package: gdk-pixbuf2-2.36.12-3.el7.x86_64
--> Processing Dependency: libjpeg.so.62()(64bit) for package: gdk-pixbuf2-2.36.12-3.el7.x86_64
--> Processing Dependency: libjasper.so.1()(64bit) for package: gdk-pixbuf2-2.36.12-3.el7.x86_64
---> Package gpm-libs.x86_64 0:1.20.7-6.el7 will be installed
---> Package gtk2.x86_64 0:2.24.31-1.el7 will be installed
--> Processing Dependency: libXrandr >= 1.2.99.4-2 for package: gtk2-2.24.31-1.el7.x86_64
--> Processing Dependency: atk >= 1.29.4-2 for package: gtk2-2.24.31-1.el7.x86_64
--> Processing Dependency: gtk-update-icon-cache for package: gtk2-2.24.31-1.el7.x86_64
--> Processing Dependency: libfontconfig.so.1()(64bit) for package: gtk2-2.24.31-1.el7.x86_64
--> Processing Dependency: libcups.so.2()(64bit) for package: gtk2-2.24.31-1.el7.x86_64
--> Processing Dependency: libcairo.so.2()(64bit) for package: gtk2-2.24.31-1.el7.x86_64
--> Processing Dependency: libatk-1.0.so.0()(64bit) for package: gtk2-2.24.31-1.el7.x86_64
--> Processing Dependency: libXrender.so.1()(64bit) for package: gtk2-2.24.31-1.el7.x86_64
--> Processing Dependency: libXrandr.so.2()(64bit) for package: gtk2-2.24.31-1.el7.x86_64
--> Processing Dependency: libXinerama.so.1()(64bit) for package: gtk2-2.24.31-1.el7.x86_64
--> Processing Dependency: libXi.so.6()(64bit) for package: gtk2-2.24.31-1.el7.x86_64
--> Processing Dependency: libXfixes.so.3()(64bit) for package: gtk2-2.24.31-1.el7.x86_64
--> Processing Dependency: libXext.so.6()(64bit) for package: gtk2-2.24.31-1.el7.x86_64
--> Processing Dependency: libXdamage.so.1()(64bit) for package: gtk2-2.24.31-1.el7.x86_64
--> Processing Dependency: libXcursor.so.1()(64bit) for package: gtk2-2.24.31-1.el7.x86_64
--> Processing Dependency: libXcomposite.so.1()(64bit) for package: gtk2-2.24.31-1.el7.x86_64
---> Package hicolor-icon-theme.noarch 0:0.12-7.el7 will be installed
---> Package libICE.x86_64 0:1.0.9-9.el7 will be installed
---> Package libSM.x86_64 0:1.2.2-2.el7 will be installed
---> Package libX11.x86_64 0:1.6.7-4.el7_9 will be installed
--> Processing Dependency: libX11-common >= 1.6.7-4.el7_9 for package: libX11-1.6.7-4.el7_9.x86_64
--> Processing Dependency: libxcb.so.1()(64bit) for package: libX11-1.6.7-4.el7_9.x86_64
---> Package libXt.x86_64 0:1.1.5-3.el7 will be installed
---> Package pango.x86_64 0:1.42.4-4.el7_7 will be installed
--> Processing Dependency: libthai(x86-64) >= 0.1.9 for package: pango-1.42.4-4.el7_7.x86_64
--> Processing Dependency: libXft(x86-64) >= 2.0.0 for package: pango-1.42.4-4.el7_7.x86_64
--> Processing Dependency: harfbuzz(x86-64) >= 1.4.2 for package: pango-1.42.4-4.el7_7.x86_64
--> Processing Dependency: glib2(x86-64) >= 2.56.1 for package: pango-1.42.4-4.el7_7.x86_64
--> Processing Dependency: fribidi(x86-64) >= 1.0 for package: pango-1.42.4-4.el7_7.x86_64
--> Processing Dependency: libthai.so.0(LIBTHAI_0.1)(64bit) for package: pango-1.42.4-4.el7_7.x86_6            4
--> Processing Dependency: libthai.so.0()(64bit) for package: pango-1.42.4-4.el7_7.x86_64
--> Processing Dependency: libharfbuzz.so.0()(64bit) for package: pango-1.42.4-4.el7_7.x86_64
--> Processing Dependency: libfribidi.so.0()(64bit) for package: pango-1.42.4-4.el7_7.x86_64
--> Processing Dependency: libXft.so.2()(64bit) for package: pango-1.42.4-4.el7_7.x86_64
---> Package perl.x86_64 4:5.16.3-299.el7_9 will be installed
--> Processing Dependency: perl(Socket) >= 1.3 for package: 4:perl-5.16.3-299.el7_9.x86_64
--> Processing Dependency: perl(Scalar::Util) >= 1.10 for package: 4:perl-5.16.3-299.el7_9.x86_64
--> Processing Dependency: perl-macros for package: 4:perl-5.16.3-299.el7_9.x86_64
--> Processing Dependency: perl(threads::shared) for package: 4:perl-5.16.3-299.el7_9.x86_64
--> Processing Dependency: perl(threads) for package: 4:perl-5.16.3-299.el7_9.x86_64
--> Processing Dependency: perl(constant) for package: 4:perl-5.16.3-299.el7_9.x86_64
--> Processing Dependency: perl(Time::Local) for package: 4:perl-5.16.3-299.el7_9.x86_64
--> Processing Dependency: perl(Time::HiRes) for package: 4:perl-5.16.3-299.el7_9.x86_64
--> Processing Dependency: perl(Storable) for package: 4:perl-5.16.3-299.el7_9.x86_64
--> Processing Dependency: perl(Socket) for package: 4:perl-5.16.3-299.el7_9.x86_64
--> Processing Dependency: perl(Scalar::Util) for package: 4:perl-5.16.3-299.el7_9.x86_64
--> Processing Dependency: perl(Pod::Simple::XHTML) for package: 4:perl-5.16.3-299.el7_9.x86_64
--> Processing Dependency: perl(Pod::Simple::Search) for package: 4:perl-5.16.3-299.el7_9.x86_64
--> Processing Dependency: perl(Getopt::Long) for package: 4:perl-5.16.3-299.el7_9.x86_64
--> Processing Dependency: perl(Filter::Util::Call) for package: 4:perl-5.16.3-299.el7_9.x86_64
--> Processing Dependency: perl(File::Temp) for package: 4:perl-5.16.3-299.el7_9.x86_64
--> Processing Dependency: perl(File::Spec::Unix) for package: 4:perl-5.16.3-299.el7_9.x86_64
--> Processing Dependency: perl(File::Spec::Functions) for package: 4:perl-5.16.3-299.el7_9.x86_64
--> Processing Dependency: perl(File::Spec) for package: 4:perl-5.16.3-299.el7_9.x86_64
--> Processing Dependency: perl(File::Path) for package: 4:perl-5.16.3-299.el7_9.x86_64
--> Processing Dependency: perl(Exporter) for package: 4:perl-5.16.3-299.el7_9.x86_64
--> Processing Dependency: perl(Cwd) for package: 4:perl-5.16.3-299.el7_9.x86_64
--> Processing Dependency: perl(Carp) for package: 4:perl-5.16.3-299.el7_9.x86_64
---> Package perl-libs.x86_64 4:5.16.3-299.el7_9 will be installed
--> Running transaction check
---> Package atk.x86_64 0:2.28.1-2.el7 will be installed
---> Package cairo.x86_64 0:1.15.12-4.el7 will be installed
--> Processing Dependency: libpixman-1.so.0()(64bit) for package: cairo-1.15.12-4.el7.x86_64
--> Processing Dependency: libGL.so.1()(64bit) for package: cairo-1.15.12-4.el7.x86_64
--> Processing Dependency: libEGL.so.1()(64bit) for package: cairo-1.15.12-4.el7.x86_64
---> Package cups-libs.x86_64 1:1.6.3-51.el7 will be installed
--> Processing Dependency: libavahi-common.so.3()(64bit) for package: 1:cups-libs-1.6.3-51.el7.x86_            64
--> Processing Dependency: libavahi-client.so.3()(64bit) for package: 1:cups-libs-1.6.3-51.el7.x86_            64
---> Package fontconfig.x86_64 0:2.13.0-4.3.el7 will be installed
--> Processing Dependency: freetype >= 2.8-7 for package: fontconfig-2.13.0-4.3.el7.x86_64
--> Processing Dependency: fontpackages-filesystem for package: fontconfig-2.13.0-4.3.el7.x86_64
--> Processing Dependency: dejavu-sans-fonts for package: fontconfig-2.13.0-4.3.el7.x86_64
---> Package fribidi.x86_64 0:1.0.2-1.el7_7.1 will be installed
---> Package glib2.x86_64 0:2.50.3-3.el7 will be updated
---> Package glib2.x86_64 0:2.56.1-9.el7_9 will be an update
---> Package gtk-update-icon-cache.x86_64 0:3.22.30-8.el7_9 will be installed
---> Package harfbuzz.x86_64 0:1.7.5-2.el7 will be installed
--> Processing Dependency: libgraphite2.so.3()(64bit) for package: harfbuzz-1.7.5-2.el7.x86_64
---> Package jasper-libs.x86_64 0:1.900.1-33.el7 will be installed
---> Package libX11-common.noarch 0:1.6.7-4.el7_9 will be installed
---> Package libXcomposite.x86_64 0:0.4.4-4.1.el7 will be installed
---> Package libXcursor.x86_64 0:1.1.15-1.el7 will be installed
---> Package libXdamage.x86_64 0:1.1.4-4.1.el7 will be installed
---> Package libXext.x86_64 0:1.3.3-3.el7 will be installed
---> Package libXfixes.x86_64 0:5.0.3-1.el7 will be installed
---> Package libXft.x86_64 0:2.3.2-2.el7 will be installed
---> Package libXi.x86_64 0:1.7.9-1.el7 will be installed
---> Package libXinerama.x86_64 0:1.1.3-2.1.el7 will be installed
---> Package libXrandr.x86_64 0:1.5.1-2.el7 will be installed
---> Package libXrender.x86_64 0:0.9.10-1.el7 will be installed
---> Package libjpeg-turbo.x86_64 0:1.2.90-8.el7 will be installed
---> Package libpng.x86_64 2:1.5.13-8.el7 will be installed
---> Package libthai.x86_64 0:0.1.14-9.el7 will be installed
---> Package libtiff.x86_64 0:4.0.3-35.el7 will be installed
--> Processing Dependency: libjbig.so.2.0()(64bit) for package: libtiff-4.0.3-35.el7.x86_64
---> Package libxcb.x86_64 0:1.13-1.el7 will be installed
--> Processing Dependency: libXau.so.6()(64bit) for package: libxcb-1.13-1.el7.x86_64
---> Package perl-Carp.noarch 0:1.26-244.el7 will be installed
---> Package perl-Exporter.noarch 0:5.68-3.el7 will be installed
---> Package perl-File-Path.noarch 0:2.09-2.el7 will be installed
---> Package perl-File-Temp.noarch 0:0.23.01-3.el7 will be installed
---> Package perl-Filter.x86_64 0:1.49-3.el7 will be installed
---> Package perl-Getopt-Long.noarch 0:2.40-3.el7 will be installed
--> Processing Dependency: perl(Pod::Usage) >= 1.14 for package: perl-Getopt-Long-2.40-3.el7.noarch
--> Processing Dependency: perl(Text::ParseWords) for package: perl-Getopt-Long-2.40-3.el7.noarch
---> Package perl-PathTools.x86_64 0:3.40-5.el7 will be installed
---> Package perl-Pod-Simple.noarch 1:3.28-4.el7 will be installed
--> Processing Dependency: perl(Pod::Escapes) >= 1.04 for package: 1:perl-Pod-Simple-3.28-4.el7.noa            rch
--> Processing Dependency: perl(Encode) for package: 1:perl-Pod-Simple-3.28-4.el7.noarch
---> Package perl-Scalar-List-Utils.x86_64 0:1.27-248.el7 will be installed
---> Package perl-Socket.x86_64 0:2.010-5.el7 will be installed
---> Package perl-Storable.x86_64 0:2.45-3.el7 will be installed
---> Package perl-Time-HiRes.x86_64 4:1.9725-3.el7 will be installed
---> Package perl-Time-Local.noarch 0:1.2300-2.el7 will be installed
---> Package perl-constant.noarch 0:1.27-2.el7 will be installed
---> Package perl-macros.x86_64 4:5.16.3-299.el7_9 will be installed
---> Package perl-threads.x86_64 0:1.87-4.el7 will be installed
---> Package perl-threads-shared.x86_64 0:1.43-6.el7 will be installed
--> Running transaction check
---> Package avahi-libs.x86_64 0:0.6.31-20.el7 will be installed
--> Processing Dependency: libdbus-1.so.3(LIBDBUS_1_3)(64bit) for package: avahi-libs-0.6.31-20.el7            .x86_64
---> Package dejavu-sans-fonts.noarch 0:2.33-6.el7 will be installed
--> Processing Dependency: dejavu-fonts-common = 2.33-6.el7 for package: dejavu-sans-fonts-2.33-6.e            l7.noarch
---> Package fontpackages-filesystem.noarch 0:1.44-8.el7 will be installed
---> Package freetype.x86_64 0:2.4.11-15.el7 will be updated
---> Package freetype.x86_64 0:2.8-14.el7_9.1 will be an update
---> Package graphite2.x86_64 0:1.3.10-1.el7_3 will be installed
---> Package jbigkit-libs.x86_64 0:2.0-11.el7 will be installed
---> Package libXau.x86_64 0:1.0.8-2.1.el7 will be installed
---> Package libglvnd-egl.x86_64 1:1.0.1-0.8.git5baa1e5.el7 will be installed
--> Processing Dependency: libglvnd(x86-64) = 1:1.0.1-0.8.git5baa1e5.el7 for package: 1:libglvnd-eg            l-1.0.1-0.8.git5baa1e5.el7.x86_64
--> Processing Dependency: mesa-libEGL(x86-64) >= 13.0.4-1 for package: 1:libglvnd-egl-1.0.1-0.8.gi            t5baa1e5.el7.x86_64
--> Processing Dependency: libGLdispatch.so.0()(64bit) for package: 1:libglvnd-egl-1.0.1-0.8.git5ba            a1e5.el7.x86_64
---> Package libglvnd-glx.x86_64 1:1.0.1-0.8.git5baa1e5.el7 will be installed
--> Processing Dependency: mesa-libGL(x86-64) >= 13.0.4-1 for package: 1:libglvnd-glx-1.0.1-0.8.git            5baa1e5.el7.x86_64
---> Package perl-Encode.x86_64 0:2.51-7.el7 will be installed
---> Package perl-Pod-Escapes.noarch 1:1.04-299.el7_9 will be installed
---> Package perl-Pod-Usage.noarch 0:1.63-3.el7 will be installed
--> Processing Dependency: perl(Pod::Text) >= 3.15 for package: perl-Pod-Usage-1.63-3.el7.noarch
--> Processing Dependency: perl-Pod-Perldoc for package: perl-Pod-Usage-1.63-3.el7.noarch
---> Package perl-Text-ParseWords.noarch 0:3.29-4.el7 will be installed
---> Package pixman.x86_64 0:0.34.0-1.el7 will be installed
--> Running transaction check
---> Package dbus-libs.x86_64 1:1.6.12-17.el7 will be updated
--> Processing Dependency: dbus-libs(x86-64) = 1:1.6.12-17.el7 for package: 1:dbus-1.6.12-17.el7.x8            6_64
---> Package dbus-libs.x86_64 1:1.10.24-15.el7 will be an update
---> Package dejavu-fonts-common.noarch 0:2.33-6.el7 will be installed
---> Package libglvnd.x86_64 1:1.0.1-0.8.git5baa1e5.el7 will be installed
---> Package mesa-libEGL.x86_64 0:18.3.4-12.el7_9 will be installed
--> Processing Dependency: mesa-libgbm = 18.3.4-12.el7_9 for package: mesa-libEGL-18.3.4-12.el7_9.x            86_64
--> Processing Dependency: libxshmfence.so.1()(64bit) for package: mesa-libEGL-18.3.4-12.el7_9.x86_            64
--> Processing Dependency: libwayland-server.so.0()(64bit) for package: mesa-libEGL-18.3.4-12.el7_9            .x86_64
--> Processing Dependency: libwayland-client.so.0()(64bit) for package: mesa-libEGL-18.3.4-12.el7_9            .x86_64
--> Processing Dependency: libglapi.so.0()(64bit) for package: mesa-libEGL-18.3.4-12.el7_9.x86_64
--> Processing Dependency: libgbm.so.1()(64bit) for package: mesa-libEGL-18.3.4-12.el7_9.x86_64
---> Package mesa-libGL.x86_64 0:18.3.4-12.el7_9 will be installed
--> Processing Dependency: libdrm >= 2.4.83 for package: mesa-libGL-18.3.4-12.el7_9.x86_64
--> Processing Dependency: libXxf86vm.so.1()(64bit) for package: mesa-libGL-18.3.4-12.el7_9.x86_64
---> Package perl-Pod-Perldoc.noarch 0:3.20-4.el7 will be installed
--> Processing Dependency: perl(parent) for package: perl-Pod-Perldoc-3.20-4.el7.noarch
--> Processing Dependency: perl(HTTP::Tiny) for package: perl-Pod-Perldoc-3.20-4.el7.noarch
---> Package perl-podlators.noarch 0:2.5.1-3.el7 will be installed
--> Running transaction check
---> Package dbus.x86_64 1:1.6.12-17.el7 will be updated
---> Package dbus.x86_64 1:1.10.24-15.el7 will be an update
---> Package libXxf86vm.x86_64 0:1.1.4-1.el7 will be installed
---> Package libdrm.x86_64 0:2.4.74-1.el7 will be updated
---> Package libdrm.x86_64 0:2.4.97-2.el7 will be an update
---> Package libwayland-client.x86_64 0:1.15.0-1.el7 will be installed
---> Package libwayland-server.x86_64 0:1.15.0-1.el7 will be installed
---> Package libxshmfence.x86_64 0:1.2-1.el7 will be installed
---> Package mesa-libgbm.x86_64 0:18.3.4-12.el7_9 will be installed
---> Package mesa-libglapi.x86_64 0:18.3.4-12.el7_9 will be installed
---> Package perl-HTTP-Tiny.noarch 0:0.033-3.el7 will be installed
---> Package perl-parent.noarch 1:0.225-244.el7 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

===================================================================================================
 Package                       Arch         Version                            Repository     Size
===================================================================================================
Installing:
 vim-X11                       x86_64       2:7.4.629-8.el7_9                  updates       1.2 M
 vim-common                    x86_64       2:7.4.629-8.el7_9                  updates       5.9 M
 vim-enhanced                  x86_64       2:7.4.629-8.el7_9                  updates       1.1 M
 vim-filesystem                x86_64       2:7.4.629-8.el7_9                  updates        11 k
Updating:
 vim-minimal                   x86_64       2:7.4.629-8.el7_9                  updates       443 k
Installing for dependencies:
 atk                           x86_64       2.28.1-2.el7                       base          263 k
 avahi-libs                    x86_64       0.6.31-20.el7                      base           62 k
 cairo                         x86_64       1.15.12-4.el7                      base          741 k
 cups-libs                     x86_64       1:1.6.3-51.el7                     base          359 k
 dejavu-fonts-common           noarch       2.33-6.el7                         base           64 k
 dejavu-sans-fonts             noarch       2.33-6.el7                         base          1.4 M
 fontconfig                    x86_64       2.13.0-4.3.el7                     base          254 k
 fontpackages-filesystem       noarch       1.44-8.el7                         base          9.9 k
 fribidi                       x86_64       1.0.2-1.el7_7.1                    base           79 k
 gdk-pixbuf2                   x86_64       2.36.12-3.el7                      base          570 k
 gpm-libs                      x86_64       1.20.7-6.el7                       base           32 k
 graphite2                     x86_64       1.3.10-1.el7_3                     base          115 k
 gtk-update-icon-cache         x86_64       3.22.30-8.el7_9                    updates        27 k
 gtk2                          x86_64       2.24.31-1.el7                      base          3.4 M
 harfbuzz                      x86_64       1.7.5-2.el7                        base          267 k
 hicolor-icon-theme            noarch       0.12-7.el7                         base           42 k
 jasper-libs                   x86_64       1.900.1-33.el7                     base          150 k
 jbigkit-libs                  x86_64       2.0-11.el7                         base           46 k
 libICE                        x86_64       1.0.9-9.el7                        base           66 k
 libSM                         x86_64       1.2.2-2.el7                        base           39 k
 libX11                        x86_64       1.6.7-4.el7_9                      updates       607 k
 libX11-common                 noarch       1.6.7-4.el7_9                      updates       164 k
 libXau                        x86_64       1.0.8-2.1.el7                      base           29 k
 libXcomposite                 x86_64       0.4.4-4.1.el7                      base           22 k
 libXcursor                    x86_64       1.1.15-1.el7                       base           30 k
 libXdamage                    x86_64       1.1.4-4.1.el7                      base           20 k
 libXext                       x86_64       1.3.3-3.el7                        base           39 k
 libXfixes                     x86_64       5.0.3-1.el7                        base           18 k
 libXft                        x86_64       2.3.2-2.el7                        base           58 k
 libXi                         x86_64       1.7.9-1.el7                        base           40 k
 libXinerama                   x86_64       1.1.3-2.1.el7                      base           14 k
 libXrandr                     x86_64       1.5.1-2.el7                        base           27 k
 libXrender                    x86_64       0.9.10-1.el7                       base           26 k
 libXt                         x86_64       1.1.5-3.el7                        base          173 k
 libXxf86vm                    x86_64       1.1.4-1.el7                        base           18 k
 libglvnd                      x86_64       1:1.0.1-0.8.git5baa1e5.el7         base           89 k
 libglvnd-egl                  x86_64       1:1.0.1-0.8.git5baa1e5.el7         base           44 k
 libglvnd-glx                  x86_64       1:1.0.1-0.8.git5baa1e5.el7         base          125 k
 libjpeg-turbo                 x86_64       1.2.90-8.el7                       base          135 k
 libpng                        x86_64       2:1.5.13-8.el7                     base          213 k
 libthai                       x86_64       0.1.14-9.el7                       base          187 k
 libtiff                       x86_64       4.0.3-35.el7                       base          172 k
 libwayland-client             x86_64       1.15.0-1.el7                       base           33 k
 libwayland-server             x86_64       1.15.0-1.el7                       base           39 k
 libxcb                        x86_64       1.13-1.el7                         base          214 k
 libxshmfence                  x86_64       1.2-1.el7                          base          7.2 k
 mesa-libEGL                   x86_64       18.3.4-12.el7_9                    updates       110 k
 mesa-libGL                    x86_64       18.3.4-12.el7_9                    updates       166 k
 mesa-libgbm                   x86_64       18.3.4-12.el7_9                    updates        39 k
 mesa-libglapi                 x86_64       18.3.4-12.el7_9                    updates        46 k
 pango                         x86_64       1.42.4-4.el7_7                     base          280 k
 perl                          x86_64       4:5.16.3-299.el7_9                 updates       8.0 M
 perl-Carp                     noarch       1.26-244.el7                       base           19 k
 perl-Encode                   x86_64       2.51-7.el7                         base          1.5 M
 perl-Exporter                 noarch       5.68-3.el7                         base           28 k
 perl-File-Path                noarch       2.09-2.el7                         base           26 k
 perl-File-Temp                noarch       0.23.01-3.el7                      base           56 k
 perl-Filter                   x86_64       1.49-3.el7                         base           76 k
 perl-Getopt-Long              noarch       2.40-3.el7                         base           56 k
 perl-HTTP-Tiny                noarch       0.033-3.el7                        base           38 k
 perl-PathTools                x86_64       3.40-5.el7                         base           82 k
 perl-Pod-Escapes              noarch       1:1.04-299.el7_9                   updates        52 k
 perl-Pod-Perldoc              noarch       3.20-4.el7                         base           87 k
 perl-Pod-Simple               noarch       1:3.28-4.el7                       base          216 k
 perl-Pod-Usage                noarch       1.63-3.el7                         base           27 k
 perl-Scalar-List-Utils        x86_64       1.27-248.el7                       base           36 k
 perl-Socket                   x86_64       2.010-5.el7                        base           49 k
 perl-Storable                 x86_64       2.45-3.el7                         base           77 k
 perl-Text-ParseWords          noarch       3.29-4.el7                         base           14 k
 perl-Time-HiRes               x86_64       4:1.9725-3.el7                     base           45 k
 perl-Time-Local               noarch       1.2300-2.el7                       base           24 k
 perl-constant                 noarch       1.27-2.el7                         base           19 k
 perl-libs                     x86_64       4:5.16.3-299.el7_9                 updates       690 k
 perl-macros                   x86_64       4:5.16.3-299.el7_9                 updates        44 k
 perl-parent                   noarch       1:0.225-244.el7                    base           12 k
 perl-podlators                noarch       2.5.1-3.el7                        base          112 k
 perl-threads                  x86_64       1.87-4.el7                         base           49 k
 perl-threads-shared           x86_64       1.43-6.el7                         base           39 k
 pixman                        x86_64       0.34.0-1.el7                       base          248 k
Updating for dependencies:
 dbus                          x86_64       1:1.10.24-15.el7                   base          245 k
 dbus-libs                     x86_64       1:1.10.24-15.el7                   base          169 k
 freetype                      x86_64       2.8-14.el7_9.1                     updates       380 k
 glib2                         x86_64       2.56.1-9.el7_9                     updates       2.5 M
 libdrm                        x86_64       2.4.97-2.el7                       base          151 k

Transaction Summary
===================================================================================================
Install  4 Packages (+79 Dependent packages)
Upgrade  1 Package  (+ 5 Dependent packages)

Total download size: 35 M
Downloading packages:
Delta RPMs disabled because /usr/bin/applydeltarpm not installed.
warning: /var/cache/yum/x86_64/7/base/packages/avahi-libs-0.6.31-20.el7.x86_64.rpm: Header V3 RSA/S            HA256 Signature, key ID f4a80eb5: NOKEY
Public key for avahi-libs-0.6.31-20.el7.x86_64.rpm is not installed
(1/89): avahi-libs-0.6.31-20.el7.x86_64.rpm                                 |  62 kB  00:00:00
(2/89): cups-libs-1.6.3-51.el7.x86_64.rpm                                   | 359 kB  00:00:00
(3/89): atk-2.28.1-2.el7.x86_64.rpm                                         | 263 kB  00:00:00
(4/89): dbus-libs-1.10.24-15.el7.x86_64.rpm                                 | 169 kB  00:00:00
(5/89): cairo-1.15.12-4.el7.x86_64.rpm                                      | 741 kB  00:00:00
(6/89): dbus-1.10.24-15.el7.x86_64.rpm                                      | 245 kB  00:00:00
(7/89): dejavu-fonts-common-2.33-6.el7.noarch.rpm                           |  64 kB  00:00:00
(8/89): fontconfig-2.13.0-4.3.el7.x86_64.rpm                                | 254 kB  00:00:00
(9/89): fontpackages-filesystem-1.44-8.el7.noarch.rpm                       | 9.9 kB  00:00:00
(10/89): fribidi-1.0.2-1.el7_7.1.x86_64.rpm                                 |  79 kB  00:00:00
(11/89): gdk-pixbuf2-2.36.12-3.el7.x86_64.rpm                               | 570 kB  00:00:00
(12/89): dejavu-sans-fonts-2.33-6.el7.noarch.rpm                            | 1.4 MB  00:00:00
(13/89): graphite2-1.3.10-1.el7_3.x86_64.rpm                                | 115 kB  00:00:00
Public key for gtk-update-icon-cache-3.22.30-8.el7_9.x86_64.rpm is not installed
(14/89): gtk-update-icon-cache-3.22.30-8.el7_9.x86_64.rpm                   |  27 kB  00:00:00
(15/89): gpm-libs-1.20.7-6.el7.x86_64.rpm                                   |  32 kB  00:00:00
(16/89): hicolor-icon-theme-0.12-7.el7.noarch.rpm                           |  42 kB  00:00:00
(17/89): harfbuzz-1.7.5-2.el7.x86_64.rpm                                    | 267 kB  00:00:00
(18/89): jbigkit-libs-2.0-11.el7.x86_64.rpm                                 |  46 kB  00:00:00
(19/89): jasper-libs-1.900.1-33.el7.x86_64.rpm                              | 150 kB  00:00:00
(20/89): libICE-1.0.9-9.el7.x86_64.rpm                                      |  66 kB  00:00:00
(21/89): libSM-1.2.2-2.el7.x86_64.rpm                                       |  39 kB  00:00:00
(22/89): glib2-2.56.1-9.el7_9.x86_64.rpm                                    | 2.5 MB  00:00:00
(23/89): freetype-2.8-14.el7_9.1.x86_64.rpm                                 | 380 kB  00:00:00
(24/89): libX11-1.6.7-4.el7_9.x86_64.rpm                                    | 607 kB  00:00:00
(25/89): libXau-1.0.8-2.1.el7.x86_64.rpm                                    |  29 kB  00:00:00
(26/89): libXcursor-1.1.15-1.el7.x86_64.rpm                                 |  30 kB  00:00:00
(27/89): libXcomposite-0.4.4-4.1.el7.x86_64.rpm                             |  22 kB  00:00:00
(28/89): libXdamage-1.1.4-4.1.el7.x86_64.rpm                                |  20 kB  00:00:00
(29/89): libXext-1.3.3-3.el7.x86_64.rpm                                     |  39 kB  00:00:00
(30/89): gtk2-2.24.31-1.el7.x86_64.rpm                                      | 3.4 MB  00:00:00
(31/89): libXfixes-5.0.3-1.el7.x86_64.rpm                                   |  18 kB  00:00:00
(32/89): libXi-1.7.9-1.el7.x86_64.rpm                                       |  40 kB  00:00:00
(33/89): libXft-2.3.2-2.el7.x86_64.rpm                                      |  58 kB  00:00:00
(34/89): libXinerama-1.1.3-2.1.el7.x86_64.rpm                               |  14 kB  00:00:00
(35/89): libX11-common-1.6.7-4.el7_9.noarch.rpm                             | 164 kB  00:00:00
(36/89): libXrender-0.9.10-1.el7.x86_64.rpm                                 |  26 kB  00:00:00
(37/89): libXrandr-1.5.1-2.el7.x86_64.rpm                                   |  27 kB  00:00:00
(38/89): libXxf86vm-1.1.4-1.el7.x86_64.rpm                                  |  18 kB  00:00:00
(39/89): libglvnd-1.0.1-0.8.git5baa1e5.el7.x86_64.rpm                       |  89 kB  00:00:00
(40/89): libXt-1.1.5-3.el7.x86_64.rpm                                       | 173 kB  00:00:00
(41/89): libdrm-2.4.97-2.el7.x86_64.rpm                                     | 151 kB  00:00:00
(42/89): libglvnd-glx-1.0.1-0.8.git5baa1e5.el7.x86_64.rpm                   | 125 kB  00:00:00
(43/89): libglvnd-egl-1.0.1-0.8.git5baa1e5.el7.x86_64.rpm                   |  44 kB  00:00:00
(44/89): libpng-1.5.13-8.el7.x86_64.rpm                                     | 213 kB  00:00:00
(45/89): libtiff-4.0.3-35.el7.x86_64.rpm                                    | 172 kB  00:00:00
(46/89): libwayland-client-1.15.0-1.el7.x86_64.rpm                          |  33 kB  00:00:00
(47/89): libthai-0.1.14-9.el7.x86_64.rpm                                    | 187 kB  00:00:00
(48/89): libjpeg-turbo-1.2.90-8.el7.x86_64.rpm                              | 135 kB  00:00:00
(49/89): libwayland-server-1.15.0-1.el7.x86_64.rpm                          |  39 kB  00:00:00
(50/89): libxshmfence-1.2-1.el7.x86_64.rpm                                  | 7.2 kB  00:00:00
(51/89): libxcb-1.13-1.el7.x86_64.rpm                                       | 214 kB  00:00:00
(52/89): mesa-libGL-18.3.4-12.el7_9.x86_64.rpm                              | 166 kB  00:00:00
(53/89): mesa-libgbm-18.3.4-12.el7_9.x86_64.rpm                             |  39 kB  00:00:00
(54/89): pango-1.42.4-4.el7_7.x86_64.rpm                                    | 280 kB  00:00:00
(55/89): mesa-libglapi-18.3.4-12.el7_9.x86_64.rpm                           |  46 kB  00:00:00
(56/89): perl-Carp-1.26-244.el7.noarch.rpm                                  |  19 kB  00:00:00
(57/89): mesa-libEGL-18.3.4-12.el7_9.x86_64.rpm                             | 110 kB  00:00:00
(58/89): perl-File-Path-2.09-2.el7.noarch.rpm                               |  26 kB  00:00:00
(59/89): perl-Encode-2.51-7.el7.x86_64.rpm                                  | 1.5 MB  00:00:00
(60/89): perl-Filter-1.49-3.el7.x86_64.rpm                                  |  76 kB  00:00:00
(61/89): perl-Getopt-Long-2.40-3.el7.noarch.rpm                             |  56 kB  00:00:00
(62/89): perl-Exporter-5.68-3.el7.noarch.rpm                                |  28 kB  00:00:00
(63/89): perl-File-Temp-0.23.01-3.el7.noarch.rpm                            |  56 kB  00:00:00
(64/89): perl-HTTP-Tiny-0.033-3.el7.noarch.rpm                              |  38 kB  00:00:00
(65/89): perl-PathTools-3.40-5.el7.x86_64.rpm                               |  82 kB  00:00:00
(66/89): perl-Pod-Simple-3.28-4.el7.noarch.rpm                              | 216 kB  00:00:00
(67/89): perl-Pod-Usage-1.63-3.el7.noarch.rpm                               |  27 kB  00:00:00
(68/89): perl-Pod-Escapes-1.04-299.el7_9.noarch.rpm                         |  52 kB  00:00:00
(69/89): perl-Socket-2.010-5.el7.x86_64.rpm                                 |  49 kB  00:00:00
(70/89): perl-5.16.3-299.el7_9.x86_64.rpm                                   | 8.0 MB  00:00:00
(71/89): perl-Scalar-List-Utils-1.27-248.el7.x86_64.rpm                     |  36 kB  00:00:00
(72/89): perl-Text-ParseWords-3.29-4.el7.noarch.rpm                         |  14 kB  00:00:00
(73/89): perl-Time-HiRes-1.9725-3.el7.x86_64.rpm                            |  45 kB  00:00:00
(74/89): perl-Storable-2.45-3.el7.x86_64.rpm                                |  77 kB  00:00:00
(75/89): perl-Time-Local-1.2300-2.el7.noarch.rpm                            |  24 kB  00:00:00
(76/89): perl-constant-1.27-2.el7.noarch.rpm                                |  19 kB  00:00:00
(77/89): perl-parent-0.225-244.el7.noarch.rpm                               |  12 kB  00:00:00
(78/89): perl-podlators-2.5.1-3.el7.noarch.rpm                              | 112 kB  00:00:00
(79/89): perl-Pod-Perldoc-3.20-4.el7.noarch.rpm                             |  87 kB  00:00:00
(80/89): perl-threads-shared-1.43-6.el7.x86_64.rpm                          |  39 kB  00:00:00
(81/89): perl-threads-1.87-4.el7.x86_64.rpm                                 |  49 kB  00:00:00
(82/89): perl-libs-5.16.3-299.el7_9.x86_64.rpm                              | 690 kB  00:00:00
(83/89): perl-macros-5.16.3-299.el7_9.x86_64.rpm                            |  44 kB  00:00:00
(84/89): vim-filesystem-7.4.629-8.el7_9.x86_64.rpm                          |  11 kB  00:00:00
(85/89): vim-common-7.4.629-8.el7_9.x86_64.rpm                              | 5.9 MB  00:00:00
(86/89): vim-enhanced-7.4.629-8.el7_9.x86_64.rpm                            | 1.1 MB  00:00:00
(87/89): pixman-0.34.0-1.el7.x86_64.rpm                                     | 248 kB  00:00:00
(88/89): vim-X11-7.4.629-8.el7_9.x86_64.rpm                                 | 1.2 MB  00:00:00
(89/89): vim-minimal-7.4.629-8.el7_9.x86_64.rpm                             | 443 kB  00:00:00
---------------------------------------------------------------------------------------------------
Total                                                              7.7 MB/s |  35 MB  00:00:04
Retrieving key from file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7
Importing GPG key 0xF4A80EB5:
 Userid     : "CentOS-7 Key (CentOS 7 Official Signing Key) <security@centos.org>"
 Fingerprint: 6341 ab27 53d7 8a78 a7c2 7bb1 24c6 a8a7 f4a8 0eb5
 Package    : centos-release-7-4.1708.el7.centos.x86_64 (@anaconda)
 From       : /etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
  Updating   : glib2-2.56.1-9.el7_9.x86_64                                                    1/95
  Installing : 2:libpng-1.5.13-8.el7.x86_64                                                   2/95
  Updating   : freetype-2.8-14.el7_9.1.x86_64                                                 3/95
  Updating   : libdrm-2.4.97-2.el7.x86_64                                                     4/95
  Installing : libjpeg-turbo-1.2.90-8.el7.x86_64                                              5/95
  Installing : mesa-libglapi-18.3.4-12.el7_9.x86_64                                           6/95
  Installing : libICE-1.0.9-9.el7.x86_64                                                      7/95
  Installing : libSM-1.2.2-2.el7.x86_64                                                       8/95
  Installing : 1:libglvnd-1.0.1-0.8.git5baa1e5.el7.x86_64                                     9/95
  Installing : hicolor-icon-theme-0.12-7.el7.noarch                                          10/95
  Installing : fontpackages-filesystem-1.44-8.el7.noarch                                     11/95
  Updating   : 1:dbus-libs-1.10.24-15.el7.x86_64                                             12/95
  Installing : gpm-libs-1.20.7-6.el7.x86_64                                                  13/95
  Installing : libxshmfence-1.2-1.el7.x86_64                                                 14/95
  Installing : libwayland-server-1.15.0-1.el7.x86_64                                         15/95
  Installing : mesa-libgbm-18.3.4-12.el7_9.x86_64                                            16/95
  Installing : avahi-libs-0.6.31-20.el7.x86_64                                               17/95
  Installing : 1:cups-libs-1.6.3-51.el7.x86_64                                               18/95
  Installing : dejavu-fonts-common-2.33-6.el7.noarch                                         19/95
  Installing : dejavu-sans-fonts-2.33-6.el7.noarch                                           20/95
  Installing : fontconfig-2.13.0-4.3.el7.x86_64                                              21/95
  Installing : jasper-libs-1.900.1-33.el7.x86_64                                             22/95
  Installing : atk-2.28.1-2.el7.x86_64                                                       23/95
  Installing : 1:perl-parent-0.225-244.el7.noarch                                            24/95
  Installing : perl-HTTP-Tiny-0.033-3.el7.noarch                                             25/95
  Installing : perl-podlators-2.5.1-3.el7.noarch                                             26/95
  Installing : perl-Pod-Perldoc-3.20-4.el7.noarch                                            27/95
  Installing : 1:perl-Pod-Escapes-1.04-299.el7_9.noarch                                      28/95
  Installing : perl-Text-ParseWords-3.29-4.el7.noarch                                        29/95
  Installing : perl-Encode-2.51-7.el7.x86_64                                                 30/95
  Installing : perl-Pod-Usage-1.63-3.el7.noarch                                              31/95
  Installing : perl-Storable-2.45-3.el7.x86_64                                               32/95
  Installing : 4:perl-Time-HiRes-1.9725-3.el7.x86_64                                         33/95
  Installing : perl-threads-1.87-4.el7.x86_64                                                34/95
  Installing : perl-Carp-1.26-244.el7.noarch                                                 35/95
  Installing : perl-Filter-1.49-3.el7.x86_64                                                 36/95
  Installing : perl-Exporter-5.68-3.el7.noarch                                               37/95
  Installing : perl-constant-1.27-2.el7.noarch                                               38/95
  Installing : perl-Socket-2.010-5.el7.x86_64                                                39/95
  Installing : 4:perl-macros-5.16.3-299.el7_9.x86_64                                         40/95
  Installing : perl-Time-Local-1.2300-2.el7.noarch                                           41/95
  Installing : perl-threads-shared-1.43-6.el7.x86_64                                         42/95
  Installing : perl-File-Temp-0.23.01-3.el7.noarch                                           43/95
  Installing : perl-File-Path-2.09-2.el7.noarch                                              44/95
  Installing : perl-PathTools-3.40-5.el7.x86_64                                              45/95
  Installing : perl-Scalar-List-Utils-1.27-248.el7.x86_64                                    46/95
  Installing : 4:perl-libs-5.16.3-299.el7_9.x86_64                                           47/95
  Installing : 1:perl-Pod-Simple-3.28-4.el7.noarch                                           48/95
  Installing : perl-Getopt-Long-2.40-3.el7.noarch                                            49/95
  Installing : 4:perl-5.16.3-299.el7_9.x86_64                                                50/95
  Installing : libX11-common-1.6.7-4.el7_9.noarch                                            51/95
  Installing : jbigkit-libs-2.0-11.el7.x86_64                                                52/95
  Installing : libtiff-4.0.3-35.el7.x86_64                                                   53/95
  Installing : libthai-0.1.14-9.el7.x86_64                                                   54/95
  Installing : graphite2-1.3.10-1.el7_3.x86_64                                               55/95
  Installing : harfbuzz-1.7.5-2.el7.x86_64                                                   56/95
  Installing : fribidi-1.0.2-1.el7_7.1.x86_64                                                57/95
  Installing : libwayland-client-1.15.0-1.el7.x86_64                                         58/95
  Installing : pixman-0.34.0-1.el7.x86_64                                                    59/95
  Installing : 2:vim-filesystem-7.4.629-8.el7_9.x86_64                                       60/95
  Installing : 2:vim-common-7.4.629-8.el7_9.x86_64                                           61/95
  Installing : libXau-1.0.8-2.1.el7.x86_64                                                   62/95
  Installing : libxcb-1.13-1.el7.x86_64                                                      63/95
  Installing : libX11-1.6.7-4.el7_9.x86_64                                                   64/95
  Installing : libXext-1.3.3-3.el7.x86_64                                                    65/95
  Installing : libXrender-0.9.10-1.el7.x86_64                                                66/95
  Installing : libXfixes-5.0.3-1.el7.x86_64                                                  67/95
  Installing : gdk-pixbuf2-2.36.12-3.el7.x86_64                                              68/95
  Installing : libXdamage-1.1.4-4.1.el7.x86_64                                               69/95
  Installing : gtk-update-icon-cache-3.22.30-8.el7_9.x86_64                                  70/95
  Installing : libXcursor-1.1.15-1.el7.x86_64                                                71/95
  Installing : libXrandr-1.5.1-2.el7.x86_64                                                  72/95
  Installing : libXft-2.3.2-2.el7.x86_64                                                     73/95
  Installing : libXi-1.7.9-1.el7.x86_64                                                      74/95
  Installing : libXinerama-1.1.3-2.1.el7.x86_64                                              75/95
  Installing : libXxf86vm-1.1.4-1.el7.x86_64                                                 76/95
  Installing : 1:libglvnd-glx-1.0.1-0.8.git5baa1e5.el7.x86_64                                77/95
  Installing : mesa-libGL-18.3.4-12.el7_9.x86_64                                             78/95
  Installing : libXcomposite-0.4.4-4.1.el7.x86_64                                            79/95
  Installing : 1:libglvnd-egl-1.0.1-0.8.git5baa1e5.el7.x86_64                                80/95
  Installing : mesa-libEGL-18.3.4-12.el7_9.x86_64                                            81/95
  Installing : cairo-1.15.12-4.el7.x86_64                                                    82/95
  Installing : pango-1.42.4-4.el7_7.x86_64                                                   83/95
  Installing : gtk2-2.24.31-1.el7.x86_64                                                     84/95
  Installing : libXt-1.1.5-3.el7.x86_64                                                      85/95
  Installing : 2:vim-X11-7.4.629-8.el7_9.x86_64                                              86/95
  Installing : 2:vim-enhanced-7.4.629-8.el7_9.x86_64                                         87/95
  Updating   : 1:dbus-1.10.24-15.el7.x86_64                                                  88/95
  Updating   : 2:vim-minimal-7.4.629-8.el7_9.x86_64                                          89/95
  Cleanup    : 1:dbus-1.6.12-17.el7.x86_64                                                   90/95
  Cleanup    : 1:dbus-libs-1.6.12-17.el7.x86_64                                              91/95
  Cleanup    : glib2-2.50.3-3.el7.x86_64                                                     92/95
  Cleanup    : libdrm-2.4.74-1.el7.x86_64                                                    93/95
  Cleanup    : 2:vim-minimal-7.4.160-2.el7.x86_64                                            94/95
  Cleanup    : freetype-2.4.11-15.el7.x86_64                                                 95/95
  Verifying  : libXext-1.3.3-3.el7.x86_64                                                     1/95
  Verifying  : perl-HTTP-Tiny-0.033-3.el7.noarch                                              2/95
  Verifying  : libXi-1.7.9-1.el7.x86_64                                                       3/95
  Verifying  : libXrender-0.9.10-1.el7.x86_64                                                 4/95
  Verifying  : libwayland-server-1.15.0-1.el7.x86_64                                          5/95
  Verifying  : perl-File-Temp-0.23.01-3.el7.noarch                                            6/95
  Verifying  : libXcomposite-0.4.4-4.1.el7.x86_64                                             7/95
  Verifying  : 1:dbus-1.10.24-15.el7.x86_64                                                   8/95
  Verifying  : 1:libglvnd-glx-1.0.1-0.8.git5baa1e5.el7.x86_64                                 9/95
  Verifying  : dejavu-sans-fonts-2.33-6.el7.noarch                                           10/95
  Verifying  : libxshmfence-1.2-1.el7.x86_64                                                 11/95
  Verifying  : perl-Storable-2.45-3.el7.x86_64                                               12/95
  Verifying  : libXau-1.0.8-2.1.el7.x86_64                                                   13/95
  Verifying  : perl-File-Path-2.09-2.el7.noarch                                              14/95
  Verifying  : gtk-update-icon-cache-3.22.30-8.el7_9.x86_64                                  15/95
  Verifying  : gpm-libs-1.20.7-6.el7.x86_64                                                  16/95
  Verifying  : perl-Text-ParseWords-3.29-4.el7.noarch                                        17/95
  Verifying  : freetype-2.8-14.el7_9.1.x86_64                                                18/95
  Verifying  : libICE-1.0.9-9.el7.x86_64                                                     19/95
  Verifying  : 4:perl-Time-HiRes-1.9725-3.el7.x86_64                                         20/95
  Verifying  : 1:dbus-libs-1.10.24-15.el7.x86_64                                             21/95
  Verifying  : 1:cups-libs-1.6.3-51.el7.x86_64                                               22/95
  Verifying  : 2:vim-filesystem-7.4.629-8.el7_9.x86_64                                       23/95
  Verifying  : mesa-libGL-18.3.4-12.el7_9.x86_64                                             24/95
  Verifying  : 2:vim-X11-7.4.629-8.el7_9.x86_64                                              25/95
  Verifying  : pixman-0.34.0-1.el7.x86_64                                                    26/95
  Verifying  : perl-Pod-Usage-1.63-3.el7.noarch                                              27/95
  Verifying  : perl-Encode-2.51-7.el7.x86_64                                                 28/95
  Verifying  : 2:vim-minimal-7.4.629-8.el7_9.x86_64                                          29/95
  Verifying  : 1:libglvnd-egl-1.0.1-0.8.git5baa1e5.el7.x86_64                                30/95
  Verifying  : jasper-libs-1.900.1-33.el7.x86_64                                             31/95
  Verifying  : perl-threads-1.87-4.el7.x86_64                                                32/95
  Verifying  : perl-Getopt-Long-2.40-3.el7.noarch                                            33/95
  Verifying  : libXfixes-5.0.3-1.el7.x86_64                                                  34/95
  Verifying  : atk-2.28.1-2.el7.x86_64                                                       35/95
  Verifying  : avahi-libs-0.6.31-20.el7.x86_64                                               36/95
  Verifying  : fontconfig-2.13.0-4.3.el7.x86_64                                              37/95
  Verifying  : gdk-pixbuf2-2.36.12-3.el7.x86_64                                              38/95
  Verifying  : perl-threads-shared-1.43-6.el7.x86_64                                         39/95
  Verifying  : 2:vim-common-7.4.629-8.el7_9.x86_64                                           40/95
  Verifying  : libXcursor-1.1.15-1.el7.x86_64                                                41/95
  Verifying  : libwayland-client-1.15.0-1.el7.x86_64                                         42/95
  Verifying  : fontpackages-filesystem-1.44-8.el7.noarch                                     43/95
  Verifying  : hicolor-icon-theme-0.12-7.el7.noarch                                          44/95
  Verifying  : 1:perl-parent-0.225-244.el7.noarch                                            45/95
  Verifying  : mesa-libglapi-18.3.4-12.el7_9.x86_64                                          46/95
  Verifying  : pango-1.42.4-4.el7_7.x86_64                                                   47/95
  Verifying  : fribidi-1.0.2-1.el7_7.1.x86_64                                                48/95
  Verifying  : 1:perl-Pod-Escapes-1.04-299.el7_9.noarch                                      49/95
  Verifying  : libjpeg-turbo-1.2.90-8.el7.x86_64                                             50/95
  Verifying  : perl-Carp-1.26-244.el7.noarch                                                 51/95
  Verifying  : harfbuzz-1.7.5-2.el7.x86_64                                                   52/95
  Verifying  : libdrm-2.4.97-2.el7.x86_64                                                    53/95
  Verifying  : libXrandr-1.5.1-2.el7.x86_64                                                  54/95
  Verifying  : 2:libpng-1.5.13-8.el7.x86_64                                                  55/95
  Verifying  : mesa-libgbm-18.3.4-12.el7_9.x86_64                                            56/95
  Verifying  : perl-podlators-2.5.1-3.el7.noarch                                             57/95
  Verifying  : 4:perl-5.16.3-299.el7_9.x86_64                                                58/95
  Verifying  : libSM-1.2.2-2.el7.x86_64                                                      59/95
  Verifying  : libX11-1.6.7-4.el7_9.x86_64                                                   60/95
  Verifying  : perl-PathTools-3.40-5.el7.x86_64                                              61/95
  Verifying  : perl-Filter-1.49-3.el7.x86_64                                                 62/95
  Verifying  : libXdamage-1.1.4-4.1.el7.x86_64                                               63/95
  Verifying  : mesa-libEGL-18.3.4-12.el7_9.x86_64                                            64/95
  Verifying  : libXinerama-1.1.3-2.1.el7.x86_64                                              65/95
  Verifying  : libXxf86vm-1.1.4-1.el7.x86_64                                                 66/95
  Verifying  : graphite2-1.3.10-1.el7_3.x86_64                                               67/95
  Verifying  : perl-Exporter-5.68-3.el7.noarch                                               68/95
  Verifying  : perl-constant-1.27-2.el7.noarch                                               69/95
  Verifying  : 2:vim-enhanced-7.4.629-8.el7_9.x86_64                                         70/95
  Verifying  : libXt-1.1.5-3.el7.x86_64                                                      71/95
  Verifying  : perl-Socket-2.010-5.el7.x86_64                                                72/95
  Verifying  : gtk2-2.24.31-1.el7.x86_64                                                     73/95
  Verifying  : 4:perl-macros-5.16.3-299.el7_9.x86_64                                         74/95
  Verifying  : glib2-2.56.1-9.el7_9.x86_64                                                   75/95
  Verifying  : libtiff-4.0.3-35.el7.x86_64                                                   76/95
  Verifying  : dejavu-fonts-common-2.33-6.el7.noarch                                         77/95
  Verifying  : 1:perl-Pod-Simple-3.28-4.el7.noarch                                           78/95
  Verifying  : libthai-0.1.14-9.el7.x86_64                                                   79/95
  Verifying  : perl-Time-Local-1.2300-2.el7.noarch                                           80/95
  Verifying  : 1:libglvnd-1.0.1-0.8.git5baa1e5.el7.x86_64                                    81/95
  Verifying  : libxcb-1.13-1.el7.x86_64                                                      82/95
  Verifying  : libXft-2.3.2-2.el7.x86_64                                                     83/95
  Verifying  : perl-Scalar-List-Utils-1.27-248.el7.x86_64                                    84/95
  Verifying  : jbigkit-libs-2.0-11.el7.x86_64                                                85/95
  Verifying  : cairo-1.15.12-4.el7.x86_64                                                    86/95
  Verifying  : perl-Pod-Perldoc-3.20-4.el7.noarch                                            87/95
  Verifying  : 4:perl-libs-5.16.3-299.el7_9.x86_64                                           88/95
  Verifying  : libX11-common-1.6.7-4.el7_9.noarch                                            89/95
  Verifying  : 1:dbus-1.6.12-17.el7.x86_64                                                   90/95
  Verifying  : libdrm-2.4.74-1.el7.x86_64                                                    91/95
  Verifying  : 2:vim-minimal-7.4.160-2.el7.x86_64                                            92/95
  Verifying  : glib2-2.50.3-3.el7.x86_64                                                     93/95
  Verifying  : freetype-2.4.11-15.el7.x86_64                                                 94/95
  Verifying  : 1:dbus-libs-1.6.12-17.el7.x86_64                                              95/95

Installed:
  vim-X11.x86_64 2:7.4.629-8.el7_9                vim-common.x86_64 2:7.4.629-8.el7_9
  vim-enhanced.x86_64 2:7.4.629-8.el7_9           vim-filesystem.x86_64 2:7.4.629-8.el7_9

Dependency Installed:
  atk.x86_64 0:2.28.1-2.el7                        avahi-libs.x86_64 0:0.6.31-20.el7
  cairo.x86_64 0:1.15.12-4.el7                     cups-libs.x86_64 1:1.6.3-51.el7
  dejavu-fonts-common.noarch 0:2.33-6.el7          dejavu-sans-fonts.noarch 0:2.33-6.el7
  fontconfig.x86_64 0:2.13.0-4.3.el7               fontpackages-filesystem.noarch 0:1.44-8.el7
  fribidi.x86_64 0:1.0.2-1.el7_7.1                 gdk-pixbuf2.x86_64 0:2.36.12-3.el7
  gpm-libs.x86_64 0:1.20.7-6.el7                   graphite2.x86_64 0:1.3.10-1.el7_3
  gtk-update-icon-cache.x86_64 0:3.22.30-8.el7_9   gtk2.x86_64 0:2.24.31-1.el7
  harfbuzz.x86_64 0:1.7.5-2.el7                    hicolor-icon-theme.noarch 0:0.12-7.el7
  jasper-libs.x86_64 0:1.900.1-33.el7              jbigkit-libs.x86_64 0:2.0-11.el7
  libICE.x86_64 0:1.0.9-9.el7                      libSM.x86_64 0:1.2.2-2.el7
  libX11.x86_64 0:1.6.7-4.el7_9                    libX11-common.noarch 0:1.6.7-4.el7_9
  libXau.x86_64 0:1.0.8-2.1.el7                    libXcomposite.x86_64 0:0.4.4-4.1.el7
  libXcursor.x86_64 0:1.1.15-1.el7                 libXdamage.x86_64 0:1.1.4-4.1.el7
  libXext.x86_64 0:1.3.3-3.el7                     libXfixes.x86_64 0:5.0.3-1.el7
  libXft.x86_64 0:2.3.2-2.el7                      libXi.x86_64 0:1.7.9-1.el7
  libXinerama.x86_64 0:1.1.3-2.1.el7               libXrandr.x86_64 0:1.5.1-2.el7
  libXrender.x86_64 0:0.9.10-1.el7                 libXt.x86_64 0:1.1.5-3.el7
  libXxf86vm.x86_64 0:1.1.4-1.el7                  libglvnd.x86_64 1:1.0.1-0.8.git5baa1e5.el7
  libglvnd-egl.x86_64 1:1.0.1-0.8.git5baa1e5.el7   libglvnd-glx.x86_64 1:1.0.1-0.8.git5baa1e5.el7
  libjpeg-turbo.x86_64 0:1.2.90-8.el7              libpng.x86_64 2:1.5.13-8.el7
  libthai.x86_64 0:0.1.14-9.el7                    libtiff.x86_64 0:4.0.3-35.el7
  libwayland-client.x86_64 0:1.15.0-1.el7          libwayland-server.x86_64 0:1.15.0-1.el7
  libxcb.x86_64 0:1.13-1.el7                       libxshmfence.x86_64 0:1.2-1.el7
  mesa-libEGL.x86_64 0:18.3.4-12.el7_9             mesa-libGL.x86_64 0:18.3.4-12.el7_9
  mesa-libgbm.x86_64 0:18.3.4-12.el7_9             mesa-libglapi.x86_64 0:18.3.4-12.el7_9
  pango.x86_64 0:1.42.4-4.el7_7                    perl.x86_64 4:5.16.3-299.el7_9
  perl-Carp.noarch 0:1.26-244.el7                  perl-Encode.x86_64 0:2.51-7.el7
  perl-Exporter.noarch 0:5.68-3.el7                perl-File-Path.noarch 0:2.09-2.el7
  perl-File-Temp.noarch 0:0.23.01-3.el7            perl-Filter.x86_64 0:1.49-3.el7
  perl-Getopt-Long.noarch 0:2.40-3.el7             perl-HTTP-Tiny.noarch 0:0.033-3.el7
  perl-PathTools.x86_64 0:3.40-5.el7               perl-Pod-Escapes.noarch 1:1.04-299.el7_9
  perl-Pod-Perldoc.noarch 0:3.20-4.el7             perl-Pod-Simple.noarch 1:3.28-4.el7
  perl-Pod-Usage.noarch 0:1.63-3.el7               perl-Scalar-List-Utils.x86_64 0:1.27-248.el7
  perl-Socket.x86_64 0:2.010-5.el7                 perl-Storable.x86_64 0:2.45-3.el7
  perl-Text-ParseWords.noarch 0:3.29-4.el7         perl-Time-HiRes.x86_64 4:1.9725-3.el7
  perl-Time-Local.noarch 0:1.2300-2.el7            perl-constant.noarch 0:1.27-2.el7
  perl-libs.x86_64 4:5.16.3-299.el7_9              perl-macros.x86_64 4:5.16.3-299.el7_9
  perl-parent.noarch 1:0.225-244.el7               perl-podlators.noarch 0:2.5.1-3.el7
  perl-threads.x86_64 0:1.87-4.el7                 perl-threads-shared.x86_64 0:1.43-6.el7
  pixman.x86_64 0:0.34.0-1.el7

Updated:
  vim-minimal.x86_64 2:7.4.629-8.el7_9

Dependency Updated:
  dbus.x86_64 1:1.10.24-15.el7  dbus-libs.x86_64 1:1.10.24-15.el7 freetype.x86_64 0:2.8-14.el7_9.1
  glib2.x86_64 0:2.56.1-9.el7_9 libdrm.x86_64 0:2.4.97-2.el7

Complete!

[root@localhost ~]# yum install -y curl
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
 * base: mirrors.163.com
 * extras: mirrors.163.com
 * updates: mirrors.163.com
Resolving Dependencies
--> Running transaction check
---> Package curl.x86_64 0:7.29.0-42.el7 will be updated
---> Package curl.x86_64 0:7.29.0-59.el7_9.1 will be an update
--> Processing Dependency: libcurl = 7.29.0-59.el7_9.1 for package: curl-7.29.0-59.el7_9.1.x86_64
--> Running transaction check
---> Package libcurl.x86_64 0:7.29.0-42.el7 will be updated
---> Package libcurl.x86_64 0:7.29.0-59.el7_9.1 will be an update
--> Processing Dependency: nss-pem(x86-64) >= 1.0.3-5 for package: libcurl-7.29.0-59.el7_9.1.x86_64
--> Processing Dependency: libssh2(x86-64) >= 1.8.0 for package: libcurl-7.29.0-59.el7_9.1.x86_64
--> Processing Dependency: libnss3.so(NSS_3.34)(64bit) for package: libcurl-7.29.0-59.el7_9.1.x86_6            4
--> Running transaction check
---> Package libssh2.x86_64 0:1.4.3-10.el7_2.1 will be updated
---> Package libssh2.x86_64 0:1.8.0-4.el7 will be an update
---> Package nss.x86_64 0:3.28.4-8.el7 will be updated
--> Processing Dependency: nss = 3.28.4-8.el7 for package: nss-sysinit-3.28.4-8.el7.x86_64
--> Processing Dependency: nss(x86-64) = 3.28.4-8.el7 for package: nss-tools-3.28.4-8.el7.x86_64
---> Package nss.x86_64 0:3.79.0-4.el7_9 will be an update
--> Processing Dependency: nss-util >= 3.79.0-1 for package: nss-3.79.0-4.el7_9.x86_64
--> Processing Dependency: nss-softokn(x86-64) >= 3.79.0-1 for package: nss-3.79.0-4.el7_9.x86_64
--> Processing Dependency: nspr >= 4.34.0 for package: nss-3.79.0-4.el7_9.x86_64
--> Processing Dependency: libnssutil3.so(NSSUTIL_3.59)(64bit) for package: nss-3.79.0-4.el7_9.x86_            64
--> Processing Dependency: libnssutil3.so(NSSUTIL_3.39)(64bit) for package: nss-3.79.0-4.el7_9.x86_            64
--> Processing Dependency: libnssutil3.so(NSSUTIL_3.38)(64bit) for package: nss-3.79.0-4.el7_9.x86_            64
--> Processing Dependency: libnssutil3.so(NSSUTIL_3.31)(64bit) for package: nss-3.79.0-4.el7_9.x86_            64
---> Package nss-pem.x86_64 0:1.0.3-4.el7 will be updated
---> Package nss-pem.x86_64 0:1.0.3-7.el7 will be an update
--> Running transaction check
---> Package nspr.x86_64 0:4.13.1-1.0.el7_3 will be updated
---> Package nspr.x86_64 0:4.34.0-3.1.el7_9 will be an update
---> Package nss-softokn.x86_64 0:3.28.3-6.el7 will be updated
---> Package nss-softokn.x86_64 0:3.79.0-4.el7_9 will be an update
--> Processing Dependency: nss-softokn-freebl(x86-64) >= 3.79.0-4.el7_9 for package: nss-softokn-3.            79.0-4.el7_9.x86_64
---> Package nss-sysinit.x86_64 0:3.28.4-8.el7 will be updated
---> Package nss-sysinit.x86_64 0:3.79.0-4.el7_9 will be an update
---> Package nss-tools.x86_64 0:3.28.4-8.el7 will be updated
---> Package nss-tools.x86_64 0:3.79.0-4.el7_9 will be an update
---> Package nss-util.x86_64 0:3.28.4-3.el7 will be updated
---> Package nss-util.x86_64 0:3.79.0-1.el7_9 will be an update
--> Running transaction check
---> Package nss-softokn-freebl.x86_64 0:3.28.3-6.el7 will be updated
---> Package nss-softokn-freebl.x86_64 0:3.79.0-4.el7_9 will be an update
--> Finished Dependency Resolution

Dependencies Resolved

===================================================================================================
 Package                      Arch             Version                     Repository         Size
===================================================================================================
Updating:
 curl                         x86_64           7.29.0-59.el7_9.1           updates           271 k
Updating for dependencies:
 libcurl                      x86_64           7.29.0-59.el7_9.1           updates           223 k
 libssh2                      x86_64           1.8.0-4.el7                 base               88 k
 nspr                         x86_64           4.34.0-3.1.el7_9            updates           128 k
 nss                          x86_64           3.79.0-4.el7_9              updates           895 k
 nss-pem                      x86_64           1.0.3-7.el7                 base               74 k
 nss-softokn                  x86_64           3.79.0-4.el7_9              updates           379 k
 nss-softokn-freebl           x86_64           3.79.0-4.el7_9              updates           337 k
 nss-sysinit                  x86_64           3.79.0-4.el7_9              updates            66 k
 nss-tools                    x86_64           3.79.0-4.el7_9              updates           555 k
 nss-util                     x86_64           3.79.0-1.el7_9              updates            80 k

Transaction Summary
===================================================================================================
Upgrade  1 Package (+10 Dependent packages)

Total download size: 3.0 M
Downloading packages:
Delta RPMs disabled because /usr/bin/applydeltarpm not installed.
(1/11): libcurl-7.29.0-59.el7_9.1.x86_64.rpm                                | 223 kB  00:00:00
(2/11): nss-3.79.0-4.el7_9.x86_64.rpm                                       | 895 kB  00:00:00
(3/11): nss-pem-1.0.3-7.el7.x86_64.rpm                                      |  74 kB  00:00:00
(4/11): libssh2-1.8.0-4.el7.x86_64.rpm                                      |  88 kB  00:00:00
(5/11): nspr-4.34.0-3.1.el7_9.x86_64.rpm                                    | 128 kB  00:00:00
(6/11): curl-7.29.0-59.el7_9.1.x86_64.rpm                                   | 271 kB  00:00:00
(7/11): nss-sysinit-3.79.0-4.el7_9.x86_64.rpm                               |  66 kB  00:00:00
(8/11): nss-util-3.79.0-1.el7_9.x86_64.rpm                                  |  80 kB  00:00:00
(9/11): nss-softokn-3.79.0-4.el7_9.x86_64.rpm                               | 379 kB  00:00:00
(10/11): nss-softokn-freebl-3.79.0-4.el7_9.x86_64.rpm                       | 337 kB  00:00:00
(11/11): nss-tools-3.79.0-4.el7_9.x86_64.rpm                                | 555 kB  00:00:00
---------------------------------------------------------------------------------------------------
Total                                                              3.3 MB/s | 3.0 MB  00:00:00
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
  Updating   : nspr-4.34.0-3.1.el7_9.x86_64                                                   1/22
  Updating   : nss-util-3.79.0-1.el7_9.x86_64                                                 2/22
  Updating   : nss-softokn-freebl-3.79.0-4.el7_9.x86_64                                       3/22
  Updating   : nss-softokn-3.79.0-4.el7_9.x86_64                                              4/22
  Updating   : nss-pem-1.0.3-7.el7.x86_64                                                     5/22
  Updating   : nss-sysinit-3.79.0-4.el7_9.x86_64                                              6/22
  Updating   : nss-3.79.0-4.el7_9.x86_64                                                      7/22
  Updating   : libssh2-1.8.0-4.el7.x86_64                                                     8/22
  Updating   : libcurl-7.29.0-59.el7_9.1.x86_64                                               9/22
  Updating   : curl-7.29.0-59.el7_9.1.x86_64                                                 10/22
  Updating   : nss-tools-3.79.0-4.el7_9.x86_64                                               11/22
  Cleanup    : nss-tools-3.28.4-8.el7.x86_64                                                 12/22
  Cleanup    : curl-7.29.0-42.el7.x86_64                                                     13/22
  Cleanup    : libcurl-7.29.0-42.el7.x86_64                                                  14/22
  Cleanup    : nss-sysinit-3.28.4-8.el7.x86_64                                               15/22
  Cleanup    : nss-3.28.4-8.el7.x86_64                                                       16/22
  Cleanup    : nss-pem-1.0.3-4.el7.x86_64                                                    17/22
  Cleanup    : nss-softokn-3.28.3-6.el7.x86_64                                               18/22
  Cleanup    : nss-util-3.28.4-3.el7.x86_64                                                  19/22
  Cleanup    : nspr-4.13.1-1.0.el7_3.x86_64                                                  20/22
  Cleanup    : nss-softokn-freebl-3.28.3-6.el7.x86_64                                        21/22
  Cleanup    : libssh2-1.4.3-10.el7_2.1.x86_64                                               22/22
  Verifying  : nspr-4.34.0-3.1.el7_9.x86_64                                                   1/22
  Verifying  : nss-softokn-3.79.0-4.el7_9.x86_64                                              2/22
  Verifying  : libssh2-1.8.0-4.el7.x86_64                                                     3/22
  Verifying  : nss-pem-1.0.3-7.el7.x86_64                                                     4/22
  Verifying  : nss-sysinit-3.79.0-4.el7_9.x86_64                                              5/22
  Verifying  : nss-util-3.79.0-1.el7_9.x86_64                                                 6/22
  Verifying  : libcurl-7.29.0-59.el7_9.1.x86_64                                               7/22
  Verifying  : curl-7.29.0-59.el7_9.1.x86_64                                                  8/22
  Verifying  : nss-tools-3.79.0-4.el7_9.x86_64                                                9/22
  Verifying  : nss-softokn-freebl-3.79.0-4.el7_9.x86_64                                      10/22
  Verifying  : nss-3.79.0-4.el7_9.x86_64                                                     11/22
  Verifying  : nspr-4.13.1-1.0.el7_3.x86_64                                                  12/22
  Verifying  : nss-pem-1.0.3-4.el7.x86_64                                                    13/22
  Verifying  : libcurl-7.29.0-42.el7.x86_64                                                  14/22
  Verifying  : nss-softokn-3.28.3-6.el7.x86_64                                               15/22
  Verifying  : nss-util-3.28.4-3.el7.x86_64                                                  16/22
  Verifying  : curl-7.29.0-42.el7.x86_64                                                     17/22
  Verifying  : libssh2-1.4.3-10.el7_2.1.x86_64                                               18/22
  Verifying  : nss-3.28.4-8.el7.x86_64                                                       19/22
  Verifying  : nss-sysinit-3.28.4-8.el7.x86_64                                               20/22
  Verifying  : nss-tools-3.28.4-8.el7.x86_64                                                 21/22
  Verifying  : nss-softokn-freebl-3.28.3-6.el7.x86_64                                        22/22

Updated:
  curl.x86_64 0:7.29.0-59.el7_9.1

Dependency Updated:
  libcurl.x86_64 0:7.29.0-59.el7_9.1                  libssh2.x86_64 0:1.8.0-4.el7
  nspr.x86_64 0:4.34.0-3.1.el7_9                      nss.x86_64 0:3.79.0-4.el7_9
  nss-pem.x86_64 0:1.0.3-7.el7                        nss-softokn.x86_64 0:3.79.0-4.el7_9
  nss-softokn-freebl.x86_64 0:3.79.0-4.el7_9          nss-sysinit.x86_64 0:3.79.0-4.el7_9
  nss-tools.x86_64 0:3.79.0-4.el7_9                   nss-util.x86_64 0:3.79.0-1.el7_9

Complete!
[root@localhost ~]# yum install -y epel-release
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
 * base: mirrors.163.com
 * extras: mirrors.163.com
 * updates: mirrors.163.com
Resolving Dependencies
--> Running transaction check
---> Package epel-release.noarch 0:7-11 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

===================================================================================================
 Package                     Arch                  Version             Repository             Size
===================================================================================================
Installing:
 epel-release                noarch                7-11                extras                 15 k

Transaction Summary
===================================================================================================
Install  1 Package

Total download size: 15 k
Installed size: 24 k
Downloading packages:
epel-release-7-11.noarch.rpm                                                |  15 kB  00:00:00
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
  Installing : epel-release-7-11.noarch                                                        1/1
  Verifying  : epel-release-7-11.noarch                                                        1/1

Installed:
  epel-release.noarch 0:7-11

Complete!
[root@localhost ~]# curl -s https://packagecloud.io/install/repositories/altinity/clickhouse/script            .rpm.sh | sudo bash
Detected operating system as centos/7.
Checking for curl...
Detected curl...
Downloading repository file: https://packagecloud.io/install/repositories/Altinity/clickhouse/confi            g_file.repo?os=centos&dist=7&source=script
done.
Installing pygpgme to verify GPG signatures...
Loaded plugins: fastestmirror
https://packagecloud.io/Altinity/clickhouse/el/7/SRPMS/repodata/repomd.xml: [Errno 14] HTTPS Error             302 - Found
Trying other mirror.


 One of the configured repositories failed (Altinity_clickhouse-source),
 and yum doesn't have enough cached data to continue. At this point the only
 safe thing yum can do is fail. There are a few ways to work "fix" this:

     1. Contact the upstream for the repository and get them to fix the problem.

     2. Reconfigure the baseurl/etc. for the repository, to point to a working
        upstream. This is most often useful if you are using a newer
        distribution release than is supported by the repository (and the
        packages for the previous distribution release still work).

     3. Run the command with the repository temporarily disabled
            yum --disablerepo=Altinity_clickhouse-source ...

     4. Disable the repository permanently, so yum won't use it by default. Yum
        will then just ignore the repository until you permanently enable it
        again or use --enablerepo for temporary usage:

            yum-config-manager --disable Altinity_clickhouse-source
        or
            subscription-manager repos --disable=Altinity_clickhouse-source

     5. Configure the failing repository to be skipped, if it is unavailable.
        Note that yum will try to contact the repo. when it runs most commands,
        so will have to try and fail each time (and thus. yum will be be much
        slower). If it is a very temporary problem though, this is often a nice
        compromise:

            yum-config-manager --save --setopt=Altinity_clickhouse-source.skip_if_unavailable=true

failure: repodata/repomd.xml from Altinity_clickhouse-source: [Errno 256] No more mirrors to try.
https://packagecloud.io/Altinity/clickhouse/el/7/SRPMS/repodata/repomd.xml: [Errno 14] HTTPS Error             302 - Found
Installing yum-utils...
Loaded plugins: fastestmirror
Altinity_clickhouse-source/signature                                        |  833 B  00:00:00
Retrieving key from https://packagecloud.io/Altinity/clickhouse/gpgkey
Importing GPG key 0x0F6E36F6:
 Userid     : "https://packagecloud.io/altinity/clickhouse (https://packagecloud.io/docs#gpg_signin            g) <support@packagecloud.io>"
 Fingerprint: 7001 38a9 6a20 6b22 bf28 3c06 ed26 58f3 0f6e 36f6
 From       : https://packagecloud.io/Altinity/clickhouse/gpgkey
Altinity_clickhouse-source/signature                                        | 1.0 kB  00:00:00 !!!
base                                                                        | 3.6 kB  00:00:00
epel/x86_64/metalink                                                        | 7.3 kB  00:00:00
epel                                                                        | 4.7 kB  00:00:00
extras                                                                      | 2.9 kB  00:00:00
updates                                                                     | 2.9 kB  00:00:00
(1/3): epel/x86_64/updateinfo                                               | 1.0 MB  00:00:00
(2/3): epel/x86_64/group_gz                                                 |  99 kB  00:00:00
(3/3): epel/x86_64/primary_db                                               | 7.0 MB  00:00:19
Altinity_clickhouse-source/primary                                          |  175 B  00:00:01
Loading mirror speeds from cached hostfile
 * base: mirrors.163.com
 * epel: mirrors.bfsu.edu.cn
 * extras: mirrors.163.com
 * updates: mirrors.163.com
Resolving Dependencies
--> Running transaction check
---> Package yum-utils.noarch 0:1.1.31-54.el7_8 will be installed
--> Processing Dependency: python-kitchen for package: yum-utils-1.1.31-54.el7_8.noarch
--> Processing Dependency: libxml2-python for package: yum-utils-1.1.31-54.el7_8.noarch
--> Running transaction check
---> Package libxml2-python.x86_64 0:2.9.1-6.el7_9.6 will be installed
--> Processing Dependency: libxml2 = 2.9.1-6.el7_9.6 for package: libxml2-python-2.9.1-6.el7_9.6.x8            6_64
---> Package python-kitchen.noarch 0:1.1.1-5.el7 will be installed
--> Processing Dependency: python-chardet for package: python-kitchen-1.1.1-5.el7.noarch
--> Running transaction check
---> Package libxml2.x86_64 0:2.9.1-6.el7_2.3 will be updated
---> Package libxml2.x86_64 0:2.9.1-6.el7_9.6 will be an update
---> Package python-chardet.noarch 0:2.2.1-3.el7 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

===================================================================================================
 Package                   Arch              Version                      Repository          Size
===================================================================================================
Installing:
 yum-utils                 noarch            1.1.31-54.el7_8              base               122 k
Installing for dependencies:
 libxml2-python            x86_64            2.9.1-6.el7_9.6              updates            247 k
 python-chardet            noarch            2.2.1-3.el7                  base               227 k
 python-kitchen            noarch            1.1.1-5.el7                  base               267 k
Updating for dependencies:
 libxml2                   x86_64            2.9.1-6.el7_9.6              updates            668 k

Transaction Summary
===================================================================================================
Install  1 Package  (+3 Dependent packages)
Upgrade             ( 1 Dependent package)

Total download size: 1.5 M
Downloading packages:
Delta RPMs disabled because /usr/bin/applydeltarpm not installed.
(1/5): yum-utils-1.1.31-54.el7_8.noarch.rpm                                 | 122 kB  00:00:00
(2/5): python-kitchen-1.1.1-5.el7.noarch.rpm                                | 267 kB  00:00:00
(3/5): libxml2-python-2.9.1-6.el7_9.6.x86_64.rpm                            | 247 kB  00:00:00
(4/5): python-chardet-2.2.1-3.el7.noarch.rpm                                | 227 kB  00:00:00
(5/5): libxml2-2.9.1-6.el7_9.6.x86_64.rpm                                   | 668 kB  00:00:00
---------------------------------------------------------------------------------------------------
Total                                                              1.9 MB/s | 1.5 MB  00:00:00
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
  Updating   : libxml2-2.9.1-6.el7_9.6.x86_64                                                  1/6
  Installing : libxml2-python-2.9.1-6.el7_9.6.x86_64                                           2/6
  Installing : python-chardet-2.2.1-3.el7.noarch                                               3/6
  Installing : python-kitchen-1.1.1-5.el7.noarch                                               4/6
  Installing : yum-utils-1.1.31-54.el7_8.noarch                                                5/6
  Cleanup    : libxml2-2.9.1-6.el7_2.3.x86_64                                                  6/6
  Verifying  : python-chardet-2.2.1-3.el7.noarch                                               1/6
  Verifying  : libxml2-2.9.1-6.el7_9.6.x86_64                                                  2/6
  Verifying  : libxml2-python-2.9.1-6.el7_9.6.x86_64                                           3/6
  Verifying  : python-kitchen-1.1.1-5.el7.noarch                                               4/6
  Verifying  : yum-utils-1.1.31-54.el7_8.noarch                                                5/6
  Verifying  : libxml2-2.9.1-6.el7_2.3.x86_64                                                  6/6

Installed:
  yum-utils.noarch 0:1.1.31-54.el7_8

Dependency Installed:
  libxml2-python.x86_64 0:2.9.1-6.el7_9.6            python-chardet.noarch 0:2.2.1-3.el7
  python-kitchen.noarch 0:1.1.1-5.el7

Dependency Updated:
  libxml2.x86_64 0:2.9.1-6.el7_9.6

Complete!
Generating yum cache for Altinity_clickhouse...
Importing GPG key 0x0F6E36F6:
 Userid     : "https://packagecloud.io/altinity/clickhouse (https://packagecloud.io/docs#gpg_signin            g) <support@packagecloud.io>"
 Fingerprint: 7001 38a9 6a20 6b22 bf28 3c06 ed26 58f3 0f6e 36f6
 From       : https://packagecloud.io/Altinity/clickhouse/gpgkey
Generating yum cache for Altinity_clickhouse-source...

The repository is setup! You can now install packages.
[root@localhost ~]# rpm --import https://repo.mysql.com/RPM-GPG-KEY-mysql-2022
[root@localhost ~]# curl -s https://packagecloud.io/install/repositories/altinity/clickhouse/script            .rpm.sh | sudo bash
Detected operating system as centos/7.
Checking for curl...
Detected curl...
Downloading repository file: https://packagecloud.io/install/repositories/Altinity/clickhouse/confi            g_file.repo?os=centos&dist=7&source=script
done.
Installing pygpgme to verify GPG signatures...
Loaded plugins: fastestmirror
Altinity_clickhouse-source/signature                                        |  833 B  00:00:00
Altinity_clickhouse-source/signature                                        | 1.0 kB  00:00:00 !!!
Loading mirror speeds from cached hostfile
 * base: mirrors.163.com
 * epel: mirror.01link.hk
 * extras: mirrors.163.com
 * updates: mirrors.163.com
Package pygpgme-0.3-9.el7.x86_64 already installed and latest version
Nothing to do
Installing yum-utils...
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
 * base: mirrors.163.com
 * epel: hkg.mirror.rackspace.com
 * extras: mirrors.163.com
 * updates: mirrors.163.com
Package yum-utils-1.1.31-54.el7_8.noarch already installed and latest version
Nothing to do
Generating yum cache for Altinity_clickhouse...
Generating yum cache for Altinity_clickhouse-source...

The repository is setup! You can now install packages.
[root@localhost ~]# yum list 'clickhouse*'
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
 * base: mirrors.163.com
 * epel: mirror.01link.hk
 * extras: mirrors.163.com
 * updates: mirrors.163.com
Available Packages
clickhouse-client.x86_64                       20.8.3.18-1.el7                  Altinity_clickhouse
clickhouse-common-static.x86_64                20.8.3.18-1.el7                  Altinity_clickhouse
clickhouse-debuginfo.x86_64                    20.1.11.73-1.el7                 Altinity_clickhouse
clickhouse-odbc.x86_64                         1.1.10-1.el7                     Altinity_clickhouse
clickhouse-server.x86_64                       20.8.3.18-1.el7                  Altinity_clickhouse
clickhouse-server-common.x86_64                20.8.3.18-1.el7                  Altinity_clickhouse
clickhouse-test.x86_64                         20.8.3.18-1.el7                  Altinity_clickhouse
[root@localhost ~]# yum install -y clickhouse-server clickhouse-client
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
 * base: mirrors.163.com
 * epel: hkg.mirror.rackspace.com
 * extras: mirrors.163.com
 * updates: mirrors.163.com
Resolving Dependencies
--> Running transaction check
---> Package clickhouse-client.x86_64 0:20.8.3.18-1.el7 will be installed
---> Package clickhouse-server.x86_64 0:20.8.3.18-1.el7 will be installed
--> Processing Dependency: clickhouse-server-common = 20.8.3.18-1.el7 for package: clickhouse-serve            r-20.8.3.18-1.el7.x86_64
--> Processing Dependency: clickhouse-common-static = 20.8.3.18-1.el7 for package: clickhouse-serve            r-20.8.3.18-1.el7.x86_64
--> Running transaction check
---> Package clickhouse-common-static.x86_64 0:20.8.3.18-1.el7 will be installed
---> Package clickhouse-server-common.x86_64 0:20.8.3.18-1.el7 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

===================================================================================================
 Package                        Arch         Version               Repository                 Size
===================================================================================================
Installing:
 clickhouse-client              x86_64       20.8.3.18-1.el7       Altinity_clickhouse       6.2 k
 clickhouse-server              x86_64       20.8.3.18-1.el7       Altinity_clickhouse        35 M
Installing for dependencies:
 clickhouse-common-static       x86_64       20.8.3.18-1.el7       Altinity_clickhouse        66 M
 clickhouse-server-common       x86_64       20.8.3.18-1.el7       Altinity_clickhouse        14 k

Transaction Summary
===================================================================================================
Install  2 Packages (+2 Dependent packages)

Total download size: 101 M
Installed size: 547 M
Downloading packages:
(1/4): clickhouse-client-20.8.3.18-1.el7.x86_64.rpm                         | 6.2 kB  00:00:01
(2/4): clickhouse-common-static-20.8.3.18-1.el7.x86_64.rpm                  |  66 MB  00:00:08
(3/4): clickhouse-server-common-20.8.3.18-1.el7.x86_64.rpm                  |  14 kB  00:00:00
(4/4): clickhouse-server-20.8.3.18-1.el7.x86_64.rpm                         |  35 MB  00:00:08
---------------------------------------------------------------------------------------------------
Total                                                               10 MB/s | 101 MB  00:00:10
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
  Installing : clickhouse-common-static-20.8.3.18-1.el7.x86_64                                 1/4
  Installing : clickhouse-server-common-20.8.3.18-1.el7.x86_64                                 2/4
  Installing : clickhouse-server-20.8.3.18-1.el7.x86_64                                        3/4
Create user clickhouse.clickhouse with datadir /var/lib/clickhouse
  Installing : clickhouse-client-20.8.3.18-1.el7.x86_64                                        4/4
Create user clickhouse.clickhouse with datadir /var/lib/clickhouse
  Verifying  : clickhouse-server-common-20.8.3.18-1.el7.x86_64                                 1/4
  Verifying  : clickhouse-common-static-20.8.3.18-1.el7.x86_64                                 2/4
  Verifying  : clickhouse-client-20.8.3.18-1.el7.x86_64                                        3/4
  Verifying  : clickhouse-server-20.8.3.18-1.el7.x86_64                                        4/4

Installed:
  clickhouse-client.x86_64 0:20.8.3.18-1.el7       clickhouse-server.x86_64 0:20.8.3.18-1.el7

Dependency Installed:
  clickhouse-common-static.x86_64 0:20.8.3.18-1.el7
  clickhouse-server-common.x86_64 0:20.8.3.18-1.el7

Complete!
[root@localhost ~]# yum list installed 'clickhouse*'
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
 * base: mirrors.163.com
 * epel: hkg.mirror.rackspace.com
 * extras: mirrors.163.com
 * updates: mirrors.163.com
Installed Packages
clickhouse-client.x86_64                       20.8.3.18-1.el7                 @Altinity_clickhouse
clickhouse-common-static.x86_64                20.8.3.18-1.el7                 @Altinity_clickhouse
clickhouse-server.x86_64                       20.8.3.18-1.el7                 @Altinity_clickhouse
clickhouse-server-common.x86_64                20.8.3.18-1.el7                 @Altinity_clickhouse
[root@localhost ~]# /etc/init.d/clickhouse-server restart
Start clickhouse-server service: Path to data directory in /etc/clickhouse-server/config.xml: /var/            lib/clickhouse/
DONE
[root@localhost ~]# clickhouse-client
ClickHouse client version 20.8.3.18.
Connecting to localhost:9000 as user default.
Connected to ClickHouse server version 20.8.3 revision 54438.

localhost :) exit
Bye.
[root@localhost ~]# netstat -anp |grep 8123
-bash: netstat: command not found
[root@localhost ~]# netstat -anp |grep 8234
-bash: netstat: command not found
[root@localhost ~]# ps aux
USER       PID %CPU %MEM    VSZ   RSS TTY      STAT START   TIME COMMAND
root         1  0.0  0.3 128164  6828 ?        Ss   10:10   0:00 /usr/lib/systemd/systemd --switche
root         2  0.0  0.0      0     0 ?        S    10:10   0:00 [kthreadd]
root         3  0.0  0.0      0     0 ?        S    10:10   0:00 [ksoftirqd/0]
root         5  0.0  0.0      0     0 ?        S<   10:10   0:00 [kworker/0:0H]
root         6  0.0  0.0      0     0 ?        S    10:10   0:00 [kworker/u2:0]
root         7  0.0  0.0      0     0 ?        S    10:10   0:00 [migration/0]
root         8  0.0  0.0      0     0 ?        S    10:10   0:00 [rcu_bh]
root         9  0.0  0.0      0     0 ?        R    10:10   0:00 [rcu_sched]
root        10  0.0  0.0      0     0 ?        S    10:10   0:00 [watchdog/0]
root        12  0.0  0.0      0     0 ?        S    10:10   0:00 [kdevtmpfs]
root        13  0.0  0.0      0     0 ?        S<   10:10   0:00 [netns]
root        14  0.0  0.0      0     0 ?        S    10:10   0:00 [khungtaskd]
root        15  0.0  0.0      0     0 ?        S<   10:10   0:00 [writeback]
root        16  0.0  0.0      0     0 ?        S<   10:10   0:00 [kintegrityd]
root        17  0.0  0.0      0     0 ?        S<   10:10   0:00 [bioset]
root        18  0.0  0.0      0     0 ?        S<   10:10   0:00 [kblockd]
root        19  0.0  0.0      0     0 ?        S<   10:10   0:00 [md]
root        25  0.0  0.0      0     0 ?        S    10:10   0:00 [kswapd0]
root        26  0.0  0.0      0     0 ?        SN   10:10   0:00 [ksmd]
root        27  0.0  0.0      0     0 ?        SN   10:10   0:00 [khugepaged]
root        28  0.0  0.0      0     0 ?        S<   10:10   0:00 [crypto]
root        36  0.0  0.0      0     0 ?        S<   10:10   0:00 [kthrotld]
root        38  0.0  0.0      0     0 ?        S<   10:10   0:00 [kmpath_rdacd]
root        39  0.0  0.0      0     0 ?        S<   10:10   0:00 [kpsmoused]
root        40  0.0  0.0      0     0 ?        S<   10:10   0:00 [ipv6_addrconf]
root        60  0.0  0.0      0     0 ?        S<   10:10   0:00 [deferwq]
root        92  0.0  0.0      0     0 ?        S    10:10   0:00 [kauditd]
root       271  0.0  0.0      0     0 ?        S<   10:10   0:00 [ata_sff]
root       279  0.0  0.0      0     0 ?        S    10:10   0:00 [scsi_eh_0]
root       281  0.0  0.0      0     0 ?        S<   10:10   0:00 [scsi_tmf_0]
root       282  0.0  0.0      0     0 ?        S    10:10   0:00 [scsi_eh_1]
root       283  0.0  0.0      0     0 ?        S<   10:10   0:00 [scsi_tmf_1]
root       284  0.0  0.0      0     0 ?        S    10:10   0:00 [scsi_eh_2]
root       285  0.0  0.0      0     0 ?        S    10:10   0:00 [kworker/u2:3]
root       286  0.0  0.0      0     0 ?        S<   10:10   0:00 [scsi_tmf_2]
root       287  0.0  0.0      0     0 ?        S<   10:10   0:00 [ttm_swap]
root       302  0.0  0.0      0     0 ?        S<   10:10   0:00 [kworker/0:1H]
root       364  0.0  0.0      0     0 ?        S<   10:10   0:00 [kdmflush]
root       365  0.0  0.0      0     0 ?        S<   10:10   0:00 [bioset]
root       374  0.0  0.0      0     0 ?        S<   10:10   0:00 [kdmflush]
root       375  0.0  0.0      0     0 ?        S<   10:10   0:00 [bioset]
root       390  0.0  0.0      0     0 ?        S<   10:10   0:00 [bioset]
root       391  0.0  0.0      0     0 ?        S<   10:10   0:00 [xfsalloc]
root       392  0.0  0.0      0     0 ?        S<   10:10   0:00 [xfs_mru_cache]
root       393  0.0  0.0      0     0 ?        S<   10:10   0:00 [xfs-buf/dm-0]
root       394  0.0  0.0      0     0 ?        S<   10:10   0:00 [xfs-data/dm-0]
root       395  0.0  0.0      0     0 ?        S<   10:10   0:00 [xfs-conv/dm-0]
root       396  0.0  0.0      0     0 ?        S<   10:10   0:00 [xfs-cil/dm-0]
root       397  0.0  0.0      0     0 ?        S<   10:10   0:00 [xfs-reclaim/dm-]
root       398  0.0  0.0      0     0 ?        S<   10:10   0:00 [xfs-log/dm-0]
root       399  0.0  0.0      0     0 ?        S<   10:10   0:00 [xfs-eofblocks/d]
root       400  0.0  0.0      0     0 ?        S    10:10   0:00 [xfsaild/dm-0]
root       468  0.0  0.1  36828  3388 ?        Ss   10:10   0:00 /usr/lib/systemd/systemd-journald
root       480  0.0  0.2  46640  4668 ?        Ss   10:10   0:00 /usr/lib/systemd/systemd-udevd
root       487  0.0  0.2 203284  4164 ?        Ss   10:10   0:00 /usr/sbin/lvmetad -f
root       577  0.0  0.0      0     0 ?        S<   10:10   0:00 [xfs-buf/sda1]
root       578  0.0  0.0      0     0 ?        S<   10:10   0:00 [xfs-data/sda1]
root       579  0.0  0.0      0     0 ?        S<   10:10   0:00 [xfs-conv/sda1]
root       580  0.0  0.0      0     0 ?        S<   10:10   0:00 [xfs-cil/sda1]
root       581  0.0  0.0      0     0 ?        S<   10:10   0:00 [xfs-reclaim/sda]
root       582  0.0  0.0      0     0 ?        S<   10:10   0:00 [xfs-log/sda1]
root       583  0.0  0.0      0     0 ?        S<   10:10   0:00 [xfs-eofblocks/s]
root       584  0.0  0.0      0     0 ?        S    10:10   0:00 [xfsaild/sda1]
root       613  0.0  0.1  55452  2932 ?        S<sl 10:10   0:00 /sbin/auditd
root       639  0.0  0.0  24204  1708 ?        Ss   10:10   0:00 /usr/lib/systemd/systemd-logind
root       640  0.0  0.2 212120  4100 ?        Ssl  10:10   0:01 /usr/sbin/rsyslogd -n
polkitd    641  0.0  0.5 534900 10872 ?        Ssl  10:10   0:00 /usr/lib/polkit-1/polkitd --no-deb
dbus       647  0.0  0.0  32776  1860 ?        Ssl  10:10   0:00 /bin/dbus-daemon --system --addres
chrony     657  0.0  0.0 115640  1768 ?        S    10:10   0:00 /usr/sbin/chronyd
root       677  0.0  0.0 126268  1708 ?        Ss   10:10   0:00 /usr/sbin/crond -n
root       684  0.0  0.1  94380  2436 ?        Ss   10:10   0:00 login -- root
root       687  0.0  1.5 334044 28704 ?        Ssl  10:10   0:00 /usr/bin/python -Es /usr/sbin/fire
root       709  0.0  0.4 695244  9344 ?        Ssl  10:10   0:00 /usr/sbin/NetworkManager --no-daem
root       955  0.0  0.8 562396 16572 ?        Ssl  10:10   0:03 /usr/bin/python -Es /usr/sbin/tune
root       956  0.0  0.2 105996  4068 ?        Ss   10:10   0:00 /usr/sbin/sshd -D
root      1297  0.0  0.1  89544  2160 ?        Ss   10:10   0:00 /usr/libexec/postfix/master -w
postfix   1309  0.0  0.2  89716  4020 ?        S    10:10   0:00 qmgr -l -t unix -u
root     11164  0.0  0.1 115388  2068 tty1     Ss+  10:10   0:00 -bash
root     11992  0.0  0.8 113372 15884 ?        S    10:29   0:00 /sbin/dhclient -d -q -sf /usr/libe
postfix  19367  0.0  0.2  89648  3992 ?        S    21:50   0:00 pickup -l -t unix -u
root     19383  0.0  0.0      0     0 ?        S    22:02   0:00 [kworker/0:2]
root     19385  0.0  0.0      0     0 ?        S    22:12   0:00 [kworker/0:0]
root     19387  0.0  0.2 146020  5520 ?        Rs   22:14   0:00 sshd: root@pts/0
root     19391  0.0  0.2 145704  5140 ?        Ss   22:14   0:00 sshd: root@notty
root     19395  0.0  0.1  51112  2088 ?        Ss   22:14   0:00 /usr/libexec/openssh/sftp-server
root     19400  0.0  0.1 115392  2020 pts/0    Ss   22:14   0:00 -bash
root     19834  0.0  0.0      0     0 ?        R    22:22   0:00 [kworker/0:1]
clickho+ 19963  0.2  4.3 1603128 82308 ?       Ssl  22:26   0:00 clickhouse-server --daemon --pid-f
root     20047  0.0  0.0 151064  1808 pts/0    R+   22:29   0:00 ps aux
[root@localhost ~]# net -anp | grep 19963
-bash: net: command not found
[root@localhost ~]# netstat -anp | grep 19963
#找不到netstat,需要安装一下
[root@localhost ~]# yum install -y net-tools
Loaded plugins: fastestmirror
Altinity_clickhouse/x86_64/signature                                                     |  833 B  00:00:00
Altinity_clickhouse/x86_64/signature                                                     | 1.0 kB  00:00:00 !!!
Altinity_clickhouse-source/signature                                                     |  833 B  00:00:00
Altinity_clickhouse-source/signature                                                     | 1.0 kB  00:00:00 !!!
Loading mirror speeds from cached hostfile
 * base: mirrors.163.com
 * epel: mirror.01link.hk
 * extras: mirrors.163.com
 * updates: mirrors.163.com
Resolving Dependencies
--> Running transaction check
---> Package net-tools.x86_64 0:2.0-0.25.20131004git.el7 will be installed
--> Finished Dependency Resolution

Dependencies Resolved
...
Install  1 Package

Total download size: 306 k
Installed size: 917 k
Downloading packages:
net-tools-2.0-0.25.20131004git.el7.x86_64.rpm                                            | 306 kB  00:00:00
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
  Installing : net-tools-2.0-0.25.20131004git.el7.x86_64                                                    1/1
  Verifying  : net-tools-2.0-0.25.20131004git.el7.x86_64                                                    1/1

Installed:
  net-tools.x86_64 0:2.0-0.25.20131004git.el7

Complete!
#根据进程查到,clickhouse所占用的端口有这些,其中8123是对外访问的端口
[root@localhost ~]# netstat -anp |grep 19963
tcp        0      0 127.0.0.1:9004          0.0.0.0:*               LISTEN      19963/clickhouse-se
tcp        0      0 127.0.0.1:9009          0.0.0.0:*               LISTEN      19963/clickhouse-se
tcp        0      0 127.0.0.1:8123          0.0.0.0:*               LISTEN      19963/clickhouse-se
tcp        0      0 127.0.0.1:9000          0.0.0.0:*               LISTEN      19963/clickhouse-se
tcp6       0      0 ::1:9004                :::*                    LISTEN      19963/clickhouse-se
tcp6       0      0 ::1:9009                :::*                    LISTEN      19963/clickhouse-se
tcp6       0      0 ::1:8123                :::*                    LISTEN      19963/clickhouse-se
tcp6       0      0 ::1:9000                :::*                    LISTEN      19963/clickhouse-se
[root@localhost ~]# netstat -anp |grep 19387
tcp        0     48 192.168.31.77:22        192.168.31.49:55159     ESTABLISHED 19387/sshd: root@pt
unix  2      [ ]         DGRAM                    41217    19387/sshd: root@pt
[root@localhost ~]# firewall-cmd --zone=public --add-port=9000/tcp --permanent
success
[root@localhost ~]# firewall-cmd --reload
success
[root@localhost ~]# vim /etc/clickhouse-server/config.xml
#根据端口查进程
[root@localhost ~]# netstat -tulnp |grep 9000
tcp        0      0 127.0.0.1:9000          0.0.0.0:*               LISTEN      19963/clickhouse-se
tcp6       0      0 ::1:9000                :::*                    LISTEN      19963/clickhouse-se
[root@localhost ~]# vim /etc/clickhouse-server/config.xml
[root@localhost ~]# vim /etc/clickhouse-server/users.xml
[root@localhost ~]# /etc/init.d/clickhouse-server restart
Stop clickhouse-server service: DONE
Start clickhouse-server service: Path to data directory in /etc/clickhouse-server/config.xml: /var/lib/clickhouse/
DONE
[root@localhost ~]# clickhouse-client -u default --password 513026wj
ClickHouse client version 20.8.3.18.
Connecting to localhost:9000 as user default.
Connected to ClickHouse server version 20.8.3 revision 54438.

localhost :) exit
Bye.
[root@localhost ~]# vim /etc/clickhouse-server/users.xml
[root@localhost ~]# firewall-cmd --zone=public --add-port=8123/tcp --permanent
success
[root@localhost ~]# /etc/init.d/clickhouse-server restart
Stop clickhouse-server service: DONE
Start clickhouse-server service: Path to data directory in /etc/clickhouse-server/config.xml: /var/lib/clickhouse/
DONE
[root@localhost ~]# firewall-cmd --reload
success
[root@localhost ~]# firewall-cmd --zone=public --list-ports
9000/tcp 8123/tcp

本文来自互联网用户投稿,该文观点仅代表作者本人,不代表本站立场。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如若转载,请注明出处:http://www.coloradmin.cn/o/371590.html

如若内容造成侵权/违法违规/事实不符,请联系多彩编程网进行投诉反馈,一经查实,立即删除!

相关文章

ThreadLocal原理、结构、源码解析

文章目录一、Thread简介1.什么是ThreadLocal2.为什么要是用ThreadLocal2.1Synchronized、Lock保证线程安全2.2ThreadLocal保证线程安全3.ThreadLocal和Synchronized的区别二、ThreadLocal原理1.Thread抽象内部结构2.ThreadLocal源码2.1Thread、ThreadLocal、ThreadLocalMap、En…

行业观察 | 内存接口芯片和CXL协议

本文对内存接口芯片的概念和CXL协议进行不完全总结。 更新&#xff1a;2022 / 02 / 25 行业观察 | 内存接口芯片背景内存接口芯片概念趋势CXL 协议背景 DRAM 内存基本被国外巨头 三星、美光 等内存模组制造商垄断&#xff0c;合计市场占有率超过 90%。 内存接口芯片 概念 什…

【Android】Android开发笔记(一)

【Android】Android开发笔记&#xff08;一&#xff09; 在Android Studio中import module和delete moduleimport moduledelete moduleAndroid Studio中App&#xff08;Module&#xff09;无法正常运行在实机上测试App一些基本概念App的工程结构结语在Android Studio中import m…

Leetcode Solutions - Part 2

1. Two Sum 给定一个整数数组 nums 和一个整数目标值 target&#xff0c;请你在该数组中找出 和为目标值 target 的那 两个 整数&#xff0c;并返回它们的数组下标。 你可以假设每种输入只会对应一个答案。但是&#xff0c;数组中同一个元素在答案里不能重复出现。 你可以按…

7-vue-1

谈谈你对MVVM的理解 为什么要有这些模式&#xff0c;目的&#xff1a;职责划分、分层&#xff08;将Model层、View层进行分类&#xff09;借鉴后端思想&#xff0c;对于前端而已&#xff0c;就是如何将数据同步到页面上 MVC模式 代表&#xff1a;Backbone underscore jquer…

【DIY Arduino基于RC气垫船】

在本教程中,我们将学习如何构建基于 Arduino 的 RC 气垫船。我将向您展示构建它的整个过程,从设计和3D打印气垫船部件(包括螺旋桨)开始,到连接电子元件和对Arduino进行编程。 您可以观看以下视频或阅读下面的书面教程。 视频地址:https://www.youtube.com/watch?v=2XIG…

二叉平衡树(C++)

背景&#xff1a; 二叉平衡树&#xff0c;就是根据二叉搜索树进行优化&#xff0c;让其速度更加的快&#xff0c;如果读者没有学过二叉搜索树&#xff0c;可以前往以下链接查看资料&#xff1a;http://t.csdn.cn/cCDQDhttp://t.csdn.cn/cCDQD 二叉搜索树的缺陷&#xff1a; 在…

【Spark分布式内存计算框架——Spark Streaming】1. Streaming 概述(上)Streaming 应用场景、Lambda 架构

前言 在很多实时数据处理的场景中&#xff0c;都需要用到流式处理&#xff08;Stream Process&#xff09;框架&#xff0c;Spark也包含了两个完整的流式处理框架Spark Streaming和Structured Streaming&#xff08;Spark 2.0出现&#xff09;&#xff0c;先阐述流式处理框架&…

Linux--TCP编程--0216 17

观前提示&#xff1a;本篇博文的一些接口需要前几篇博文实现的 线程池的实现Liunx--线程池的实现--0208 09_Gosolo&#xff01;的博客-CSDN博客 线程池的单例模式Linux--线程安全的单例模式--自旋锁--0211_Gosolo&#xff01;的博客-CSDN博客 1.TCP编程需要用的接口 创建 sock…

【数据挖掘】EDA——以2022雪浪算力开发者大赛数据为例

作者简介&#xff1a;重庆大学22级研一&#xff0c;研究方向&#xff1a;时空数据挖掘、图神经网络。目前正在学习大数据、数据挖掘等相关知识&#xff0c;希望毕业后能找到数据相关岗位。 前言 之前写了一个比赛复盘&#xff08;【竞赛复盘】2022雪浪算力开发者大赛——阀体异…

Python脚本之准备测试环境的用户数据

本文为博主原创&#xff0c;未经授权&#xff0c;严禁转载及使用。 本文链接&#xff1a;https://blog.csdn.net/zyooooxie/article/details/127645678 这期是讲述下 我准备测试环境用户数据的经历。 【实际这篇博客推迟发布N个月】 个人博客&#xff1a;https://blog.csdn.…

【读书笔记】《深入浅出数据分析》第三章 寻找最大值

目录 一&#xff0c;Excel却是最基础、最高频、最有机会展示的一款数据分析工具二&#xff0c;作为数据工作者&#xff0c;实际工作中&#xff0c;不管用不用的上&#xff0c;至少到达会的水准1&#xff0c;常用函数2&#xff0c;透视表3&#xff0c;可视化4&#xff0c;数据分…

【RabbitMQ笔记04】消息队列RabbitMQ七种模式之发布订阅模式(Publish/Subscribe)

这篇文章&#xff0c;主要介绍消息队列RabbitMQ七种模式之发布订阅模式&#xff08;Publish/Subscribe&#xff09;。 目录 一、发布订阅模式 1.1、Exchange交换机 &#xff08;1&#xff09;什么是Exchange交换机呢&#xff1f;&#xff1f;&#xff1f; &#xff08;2&am…

数据结构与算法----问答2023

1、什么是哈希表&#xff1f;如何解决碰撞&#xff1f; 哈希表&#xff08;Hash Table&#xff09;&#xff0c;也称为散列表&#xff0c;是一种用于实现字典&#xff08;键值对&#xff09;数据结构的数据结构。它将键映射到哈希表中的一个索引&#xff08;桶&#xff09;来保…

从零开始学习iftop流量监控(找出服务器耗费流量最多的ip和端口)

一、iftop是什么iftop是类似于top的实时流量监控工具。作用&#xff1a;监控网卡的实时流量&#xff08;可以指定网段&#xff09;、反向解析IP、显示端口信息等官网&#xff1a;http://www.ex-parrot.com/~pdw/iftop/二、界面说明>代表发送数据&#xff0c;< 代表接收数…

DHCP服务器的使用以及可能出现的问题(图文详细版)

DHCP服务的使用 开始&#xff0d;管理工具&#xff0d;DHCP,打开DHCP服务器选项窗口 新建作用域 在此处输入名称和描述,单击下一步 随机确定一组IP地址的范围,并指定其子网掩码 , 单击下一步 若想要排除某一个/组特定的IP地址,我们可以在此界面输入该IP地址,若没有,则可…

CTFHub | 前端验证

0x00 前言 CTFHub 专注网络安全、信息安全、白帽子技术的在线学习&#xff0c;实训平台。提供优质的赛事及学习服务&#xff0c;拥有完善的题目环境及配套 writeup &#xff0c;降低 CTF 学习入门门槛&#xff0c;快速帮助选手成长&#xff0c;跟随主流比赛潮流。 0x01 题目描述…

django项目部署(腾讯云服务器centos)

基本步骤&#xff1a; 购买腾讯云服务器并配配置好 >> 本地项目依赖收集准备 >> 上传项目等文件到服务器 >> 服务器安装部署软件和python环境 >> 开始部署&#xff08;全局来看就这5个步骤&#xff09; 目录 目录 1. 购买腾讯云服务器并配配置好 …

【算法设计技巧】分治算法

分治算法 用于设计算法的另一种常用技巧为分治算法(divide and conquer)。分治算法由两部分组成&#xff1a; 分(divide)&#xff1a;递归解决较小的问题(当然&#xff0c;基准情况除外)治(conquer)&#xff1a;然后&#xff0c;从子问题的解构建原问题的解。 传统上&#x…

升级日记本-课后程序(JAVA基础案例教程-黑马程序员编著-第七章-课后作业)

【实验7-4】 升级版日记本 【任务介绍】 1.任务描述 本案例要求编写一个模拟日记本的程序&#xff0c;通过在控制台输入指令&#xff0c;实现在本地新建日记本、打开日记本和修改日记本等功能。 用户输入指令1代表“新建日记本”&#xff0c;可以从控制台获取用户输入的日记…