CM的私有仓库搭建
CM的私有仓库搭建
作者:尹正杰
版权声明:原创作品,谢绝转载!否则将追究法律责任。
我们有时候会因为网络不稳定的因素,导致安装某些服务直接失败。当安装包比较大的时候,我们就得考虑自建私有仓库了,这样会为我们节省不少时间。而自建私有仓库的确是很简单的一种方式,接下来我们就以CM和CDH的软件包为例,来建设一个局域网的镜像库。
一.安装WEB服务器
要托管内部存储库,必须在Cloudera Manager主机可访问的内部主机上安装或使用现有Web服务器,然后将存储库文件下载到Web服务器主机。
1>.安装Apache HTTP Server
[root@node105 ~]# yum -y install httpd Loaded plugins: fastestmirror Loading mirror speeds from cached hostfile * base: mirrors.aliyun.com * extras: mirrors.huaweicloud.com * updates: mirrors.tuna.tsinghua.edu.cn Resolving Dependencies --> Running transaction check ---> Package httpd.x86_64 0:2.4.6-88.el7.centos will be installed --> Processing Dependency: httpd-tools = 2.4.6-88.el7.centos for package: httpd-2.4.6-88.el7.centos.x86_64 --> Processing Dependency: /etc/mime.types for package: httpd-2.4.6-88.el7.centos.x86_64 --> Processing Dependency: libaprutil-1.so.0()(64bit) for package: httpd-2.4.6-88.el7.centos.x86_64 --> Processing Dependency: libapr-1.so.0()(64bit) for package: httpd-2.4.6-88.el7.centos.x86_64 --> Running transaction check ---> Package apr.x86_64 0:1.4.8-3.el7_4.1 will be installed ---> Package apr-util.x86_64 0:1.5.2-6.el7 will be installed ---> Package httpd-tools.x86_64 0:2.4.6-88.el7.centos will be installed ---> Package mailcap.noarch 0:2.1.41-2.el7 will be installed --> Finished Dependency Resolution Dependencies Resolved ====================================================================================================================================================================================================================================================== Package Arch Version Repository Size ====================================================================================================================================================================================================================================================== Installing: httpd x86_64 2.4.6-88.el7.centos base 2.7 M Installing for dependencies: apr x86_64 1.4.8-3.el7_4.1 base 103 k apr-util x86_64 1.5.2-6.el7 base 92 k httpd-tools x86_64 2.4.6-88.el7.centos base 90 k mailcap noarch 2.1.41-2.el7 base 31 k Transaction Summary ====================================================================================================================================================================================================================================================== Install 1 Package (+4 Dependent packages) Total size: 3.0 M Installed size: 10 M Downloading packages: Running transaction check Running transaction test Transaction test succeeded Running transaction Installing : apr-1.4.8-3.el7_4.1.x86_64 1/5 Installing : apr-util-1.5.2-6.el7.x86_64 2/5 Installing : httpd-tools-2.4.6-88.el7.centos.x86_64 3/5 Installing : mailcap-2.1.41-2.el7.noarch 4/5 Installing : httpd-2.4.6-88.el7.centos.x86_64 5/5 Verifying : httpd-tools-2.4.6-88.el7.centos.x86_64 1/5 Verifying : apr-1.4.8-3.el7_4.1.x86_64 2/5 Verifying : mailcap-2.1.41-2.el7.noarch 3/5 Verifying : httpd-2.4.6-88.el7.centos.x86_64 4/5 Verifying : apr-util-1.5.2-6.el7.x86_64 5/5 Installed: httpd.x86_64 0:2.4.6-88.el7.centos Dependency Installed: apr.x86_64 0:1.4.8-3.el7_4.1 apr-util.x86_64 0:1.5.2-6.el7 httpd-tools.x86_64 0:2.4.6-88.el7.centos mailcap.noarch 0:2.1.41-2.el7 Complete! [root@node105 ~]#
2>.配置Httpd服务
当尝试从本地存储库下载包时,跳过此步骤可能会导致错误消息哈希验证失败,尤其是在Cloudera Manager 6及更高版本中。
[root@node105 ~]# cp /etc/httpd/conf/httpd.conf /etc/httpd/conf/httpd.conf.`date +%F` [root@node105 ~]# [root@node105 ~]# grep ".tgz" /etc/httpd/conf/httpd.conf | grep -v ' #' AddType application/x-gzip .gz .tgz [root@node105 ~]# [root@node105 ~]# sed -i s'#.tgz#.tgz .parcel#' /etc/httpd/conf/httpd.conf [root@node105 ~]# [root@node105 ~]# grep ".tgz" /etc/httpd/conf/httpd.conf | grep -v ' #' AddType application/x-gzip .gz .tgz .parcel #其实我就是在.tgz后面加了一个“.parcel”的后缀,这是CM官方强调要做的一个操作! [root@node105 ~]# [root@node105 ~]#
3>.启动httpd服务
[root@node105 ~]# systemctl start httpd [root@node105 ~]# [root@node105 ~]# systemctl status httpd ● httpd.service - The Apache HTTP Server Loaded: loaded (/usr/lib/systemd/system/httpd.service; disabled; vendor preset: disabled) Active: active (running) since Thu 2019-02-21 16:05:15 CST; 7s ago Docs: man:httpd(8) man:apachectl(8) Main PID: 5853 (httpd) Status: "Processing requests..." CGroup: /system.slice/httpd.service ├─5853 /usr/sbin/httpd -DFOREGROUND ├─5854 /usr/sbin/httpd -DFOREGROUND ├─5855 /usr/sbin/httpd -DFOREGROUND ├─5856 /usr/sbin/httpd -DFOREGROUND ├─5857 /usr/sbin/httpd -DFOREGROUND ├─5858 /usr/sbin/httpd -DFOREGROUND ├─5859 /usr/sbin/httpd -DFOREGROUND ├─5860 /usr/sbin/httpd -DFOREGROUND ├─5861 /usr/sbin/httpd -DFOREGROUND ├─5862 /usr/sbin/httpd -DFOREGROUND ├─5863 /usr/sbin/httpd -DFOREGROUND ├─5864 /usr/sbin/httpd -DFOREGROUND └─5865 /usr/sbin/httpd -DFOREGROUND Feb 21 16:05:15 node105.yinzhengjie.org.cn systemd[1]: Starting The Apache HTTP Server... Feb 21 16:05:15 node105.yinzhengjie.org.cn systemd[1]: Started The Apache HTTP Server. [root@node105 ~]#
二.制作CM的私有仓库
1>.创建存放cm安装包的目录
[root@node101 ~]# mkdir /var/www/html/cm-5.16.1
2>.将cm相关软件从官方地址下载后上传到上面创建的目录中(https://archive.cloudera.com/cm5/redhat/7/x86_64/cm/5.16.1/RPMS/x86_64/)
[root@node101 ~]# ll /var/www/html/cm-5.16.1 total 953116 -rwxr-xr-x 1 root root 9864584 Feb 21 18:22 cloudera-manager-agent-5.16.1-1.cm5161.p0.1.el7.x86_64.rpm -rwxr-xr-x 1 root root 789872988 Feb 21 12:21 cloudera-manager-daemons-5.16.1-1.cm5161.p0.1.el7.x86_64.rpm -rwxr-xr-x 1 root root 8704 Feb 21 12:21 cloudera-manager-server-5.16.1-1.cm5161.p0.1.el7.x86_64.rpm -rwxr-xr-x 1 root root 10612 Feb 21 12:21 cloudera-manager-server-db-2-5.16.1-1.cm5161.p0.1.el7.x86_64.rpm -rwxr-xr-x 1 root root 176209195 Feb 21 18:22 jdk-8u201-linux-x64.rpm #温馨提示:这个软件包我是从Oracle官方网站download下来在上传到服务器上的!因为官方默认仅仅提供了jDK6和JDK7的rpm包!我强烈推荐使用JDK8版本! [root@node101 ~]# [root@node101 ~]#
3>.制作本地源
[root@node101 ~]# yum -y install yum-utils createrepo yum-plugin-priorities Loaded plugins: fastestmirror base | 3.6 kB 00:00:00 extras | 3.4 kB 00:00:00 updates | 3.4 kB 00:00:00 Loading mirror speeds from cached hostfile * base: mirrors.huaweicloud.com * extras: mirrors.huaweicloud.com * updates: mirrors.163.com Resolving Dependencies --> Running transaction check ---> Package createrepo.noarch 0:0.9.9-28.el7 will be installed --> Processing Dependency: python-deltarpm for package: createrepo-0.9.9-28.el7.noarch --> Processing Dependency: libxml2-python for package: createrepo-0.9.9-28.el7.noarch --> Processing Dependency: deltarpm for package: createrepo-0.9.9-28.el7.noarch ---> Package yum-plugin-priorities.noarch 0:1.1.31-50.el7 will be installed ---> Package yum-utils.noarch 0:1.1.31-50.el7 will be installed --> Processing Dependency: yum >= 3.4.3-143 for package: yum-utils-1.1.31-50.el7.noarch --> Processing Dependency: python-kitchen for package: yum-utils-1.1.31-50.el7.noarch --> Running transaction check ---> Package deltarpm.x86_64 0:3.6-3.el7 will be installed ---> Package libxml2-python.x86_64 0:2.9.1-6.el7_2.3 will be installed --> Processing Dependency: libxml2 = 2.9.1-6.el7_2.3 for package: libxml2-python-2.9.1-6.el7_2.3.x86_64 ---> Package python-deltarpm.x86_64 0:3.6-3.el7 will be installed ---> 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 ---> Package yum.noarch 0:3.4.3-132.el7.centos.0.1 will be updated ---> Package yum.noarch 0:3.4.3-161.el7.centos will be an update --> Processing Dependency: rpm >= 4.11.3-22 for package: yum-3.4.3-161.el7.centos.noarch --> Processing Dependency: python-urlgrabber >= 3.10-8 for package: yum-3.4.3-161.el7.centos.noarch --> Running transaction check ---> Package libxml2.x86_64 0:2.9.1-5.el7_1.2 will be updated ---> Package libxml2.x86_64 0:2.9.1-6.el7_2.3 will be an update ---> Package python-chardet.noarch 0:2.2.1-1.el7_1 will be installed ---> Package python-urlgrabber.noarch 0:3.10-7.el7 will be updated ---> Package python-urlgrabber.noarch 0:3.10-9.el7 will be an update ---> Package rpm.x86_64 0:4.11.3-17.el7 will be updated --> Processing Dependency: rpm = 4.11.3-17.el7 for package: rpm-libs-4.11.3-17.el7.x86_64 --> Processing Dependency: rpm = 4.11.3-17.el7 for package: rpm-python-4.11.3-17.el7.x86_64 ---> Package rpm.x86_64 0:4.11.3-35.el7 will be an update --> Running transaction check ---> Package rpm-libs.x86_64 0:4.11.3-17.el7 will be updated --> Processing Dependency: rpm-libs(x86-64) = 4.11.3-17.el7 for package: rpm-build-libs-4.11.3-17.el7.x86_64 ---> Package rpm-libs.x86_64 0:4.11.3-35.el7 will be an update ---> Package rpm-python.x86_64 0:4.11.3-17.el7 will be updated ---> Package rpm-python.x86_64 0:4.11.3-35.el7 will be an update --> Running transaction check ---> Package rpm-build-libs.x86_64 0:4.11.3-17.el7 will be updated ---> Package rpm-build-libs.x86_64 0:4.11.3-35.el7 will be an update --> Finished Dependency Resolution Dependencies Resolved =================================================================================================================================================================================== Package Arch Version Repository Size =================================================================================================================================================================================== Installing: createrepo noarch 0.9.9-28.el7 base 94 k yum-plugin-priorities noarch 1.1.31-50.el7 base 29 k yum-utils noarch 1.1.31-50.el7 base 121 k Installing for dependencies: deltarpm x86_64 3.6-3.el7 base 82 k libxml2-python x86_64 2.9.1-6.el7_2.3 base 247 k python-chardet noarch 2.2.1-1.el7_1 base 227 k python-deltarpm x86_64 3.6-3.el7 base 31 k python-kitchen noarch 1.1.1-5.el7 base 267 k Updating for dependencies: libxml2 x86_64 2.9.1-6.el7_2.3 base 668 k python-urlgrabber noarch 3.10-9.el7 base 108 k rpm x86_64 4.11.3-35.el7 base 1.2 M rpm-build-libs x86_64 4.11.3-35.el7 base 106 k rpm-libs x86_64 4.11.3-35.el7 base 277 k rpm-python x86_64 4.11.3-35.el7 base 83 k yum noarch 3.4.3-161.el7.centos base 1.2 M Transaction Summary =================================================================================================================================================================================== Install 3 Packages (+5 Dependent packages) Upgrade ( 7 Dependent packages) Total download size: 4.7 M Downloading packages: Delta RPMs disabled because /usr/bin/applydeltarpm not installed. (1/15): libxml2-2.9.1-6.el7_2.3.x86_64.rpm | 668 kB 00:00:00 (2/15): python-deltarpm-3.6-3.el7.x86_64.rpm | 31 kB 00:00:00 (3/15): deltarpm-3.6-3.el7.x86_64.rpm | 82 kB 00:00:01 (4/15): python-kitchen-1.1.1-5.el7.noarch.rpm | 267 kB 00:00:00 (5/15): python-chardet-2.2.1-1.el7_1.noarch.rpm | 227 kB 00:00:01 (6/15): python-urlgrabber-3.10-9.el7.noarch.rpm | 108 kB 00:00:00 (7/15): rpm-build-libs-4.11.3-35.el7.x86_64.rpm | 106 kB 00:00:01 (8/15): rpm-4.11.3-35.el7.x86_64.rpm | 1.2 MB 00:00:01 (9/15): yum-3.4.3-161.el7.centos.noarch.rpm | 1.2 MB 00:00:01 (10/15): yum-plugin-priorities-1.1.31-50.el7.noarch.rpm | 29 kB 00:00:00 (11/15): yum-utils-1.1.31-50.el7.noarch.rpm | 121 kB 00:00:00 (12/15): rpm-libs-4.11.3-35.el7.x86_64.rpm | 277 kB 00:00:04 (13/15): libxml2-python-2.9.1-6.el7_2.3.x86_64.rpm | 247 kB 00:00:05 (14/15): rpm-python-4.11.3-35.el7.x86_64.rpm | 83 kB 00:00:05 createrepo-0.9.9-28.el7.noarch FAILED http://centos.ustc.edu.cn/centos/7.6.1810/os/x86_64/Packages/createrepo-0.9.9-28.el7.noarch.rpm: [Errno 12] Timeout on http://centos.ustc.edu.cn/centos/7.6.1810/os/x86_64/Packages/createrepo-0.9.9-28.el7.noarch.rpm: (28, 'Operation too slow. Less than 1000 bytes/sec transferred the last 30 seconds') Trying other mirror. (15/15): createrepo-0.9.9-28.el7.noarch.rpm | 94 kB 00:00:00 ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- Total 157 kB/s | 4.7 MB 00:00:30 Running transaction check Running transaction test Transaction test succeeded Running transaction Updating : rpm-4.11.3-35.el7.x86_64 1/22 Updating : rpm-libs-4.11.3-35.el7.x86_64 2/22 Installing : deltarpm-3.6-3.el7.x86_64 3/22 Installing : python-deltarpm-3.6-3.el7.x86_64 4/22 Updating : rpm-build-libs-4.11.3-35.el7.x86_64 5/22 Updating : rpm-python-4.11.3-35.el7.x86_64 6/22 Installing : python-chardet-2.2.1-1.el7_1.noarch 7/22 Installing : python-kitchen-1.1.1-5.el7.noarch 8/22 Updating : libxml2-2.9.1-6.el7_2.3.x86_64 9/22 Installing : libxml2-python-2.9.1-6.el7_2.3.x86_64 10/22 Updating : python-urlgrabber-3.10-9.el7.noarch 11/22 Updating : yum-3.4.3-161.el7.centos.noarch 12/22 Installing : yum-plugin-priorities-1.1.31-50.el7.noarch 13/22 Installing : createrepo-0.9.9-28.el7.noarch 14/22 Installing : yum-utils-1.1.31-50.el7.noarch 15/22 Cleanup : yum-3.4.3-132.el7.centos.0.1.noarch 16/22 Cleanup : rpm-python-4.11.3-17.el7.x86_64 17/22 Cleanup : python-urlgrabber-3.10-7.el7.noarch 18/22 Cleanup : rpm-build-libs-4.11.3-17.el7.x86_64 19/22 Cleanup : rpm-libs-4.11.3-17.el7.x86_64 20/22 Cleanup : rpm-4.11.3-17.el7.x86_64 21/22 Cleanup : libxml2-2.9.1-5.el7_1.2.x86_64 22/22 Verifying : rpm-python-4.11.3-35.el7.x86_64 1/22 Verifying : rpm-libs-4.11.3-35.el7.x86_64 2/22 Verifying : python-urlgrabber-3.10-9.el7.noarch 3/22 Verifying : libxml2-2.9.1-6.el7_2.3.x86_64 4/22 Verifying : yum-plugin-priorities-1.1.31-50.el7.noarch 5/22 Verifying : rpm-4.11.3-35.el7.x86_64 6/22 Verifying : rpm-build-libs-4.11.3-35.el7.x86_64 7/22 Verifying : libxml2-python-2.9.1-6.el7_2.3.x86_64 8/22 Verifying : deltarpm-3.6-3.el7.x86_64 9/22 Verifying : createrepo-0.9.9-28.el7.noarch 10/22 Verifying : python-deltarpm-3.6-3.el7.x86_64 11/22 Verifying : yum-utils-1.1.31-50.el7.noarch 12/22 Verifying : python-chardet-2.2.1-1.el7_1.noarch 13/22 Verifying : python-kitchen-1.1.1-5.el7.noarch 14/22 Verifying : yum-3.4.3-161.el7.centos.noarch 15/22 Verifying : rpm-4.11.3-17.el7.x86_64 16/22 Verifying : libxml2-2.9.1-5.el7_1.2.x86_64 17/22 Verifying : rpm-libs-4.11.3-17.el7.x86_64 18/22 Verifying : rpm-build-libs-4.11.3-17.el7.x86_64 19/22 Verifying : yum-3.4.3-132.el7.centos.0.1.noarch 20/22 Verifying : rpm-python-4.11.3-17.el7.x86_64 21/22 Verifying : python-urlgrabber-3.10-7.el7.noarch 22/22 Installed: createrepo.noarch 0:0.9.9-28.el7 yum-plugin-priorities.noarch 0:1.1.31-50.el7 yum-utils.noarch 0:1.1.31-50.el7 Dependency Installed: deltarpm.x86_64 0:3.6-3.el7 libxml2-python.x86_64 0:2.9.1-6.el7_2.3 python-chardet.noarch 0:2.2.1-1.el7_1 python-deltarpm.x86_64 0:3.6-3.el7 python-kitchen.noarch 0:1.1.1-5.el7 Dependency Updated: libxml2.x86_64 0:2.9.1-6.el7_2.3 python-urlgrabber.noarch 0:3.10-9.el7 rpm.x86_64 0:4.11.3-35.el7 rpm-build-libs.x86_64 0:4.11.3-35.el7 rpm-libs.x86_64 0:4.11.3-35.el7 rpm-python.x86_64 0:4.11.3-35.el7 yum.noarch 0:3.4.3-161.el7.centos Complete! [root@node101 ~]#
[root@node101 ~]# cd /var/www/html/cm-5.16.1 [root@node101 cm-5.16.1]# ll total 953112 -rwxr-xr-x 1 root root 9864584 Feb 21 18:22 cloudera-manager-agent-5.16.1-1.cm5161.p0.1.el7.x86_64.rpm -rwxr-xr-x 1 root root 789872988 Feb 21 12:21 cloudera-manager-daemons-5.16.1-1.cm5161.p0.1.el7.x86_64.rpm -rwxr-xr-x 1 root root 8704 Feb 21 12:21 cloudera-manager-server-5.16.1-1.cm5161.p0.1.el7.x86_64.rpm -rwxr-xr-x 1 root root 10612 Feb 21 12:21 cloudera-manager-server-db-2-5.16.1-1.cm5161.p0.1.el7.x86_64.rpm -rwxr-xr-x 1 root root 176209195 Feb 21 18:22 jdk-8u201-linux-x64.rpm [root@node101 cm-5.16.1]# [root@node101 cm-5.16.1]# createrepo . Spawning worker 0 with 3 pkgs Spawning worker 1 with 2 pkgs Workers Finished Saving Primary metadata Saving file lists metadata Saving other metadata Generating sqlite DBs Sqlite DBs complete [root@node101 cm-5.16.1]#
三.选定节点测试
1>.备份主机之前的CM
[root@node110 ~]# mkdir /etc/yum.repos.d/repo-bak [root@node110 ~]# [root@node110 ~]# mv /etc/yum.repos.d/*.repo /etc/yum.repos.d/repo-bak/ [root@node110 ~]#
2>.编写yum源文件内容
[root@node110 ~]# cat /etc/yum.repos.d/cloudera-manager.repo [cloudera-manager] # Packages for Cloudera Manager, Version 5, on RedHat or CentOS 7 x86_64 name=Cloudera Manager baseurl=http://node101.yinzhengjie.org.cn/cm-5.16.1/ gpgkey =https://archive.cloudera.com/cm5/redhat/7/x86_64/cm/RPM-GPG-KEY-cloudera enabled = 1 gpgcheck = 0 [root@node110 ~]#
3>.查看yum源的列表
[root@node110 ~]# yum repolist Loaded plugins: fastestmirror Loading mirror speeds from cached hostfile repo id repo name status cloudera-manager Cloudera Manager 5 repolist: 5 [root@node110 ~]#
4>.测试是否可以正常安装软件
[root@node110 ~]# yum -y install cloudera-manager-server Loaded plugins: fastestmirror Loading mirror speeds from cached hostfile Resolving Dependencies --> Running transaction check ---> Package cloudera-manager-server.x86_64 0:5.16.1-1.cm5161.p0.1.el7 will be installed --> Processing Dependency: cloudera-manager-daemons = 5.16.1 for package: cloudera-manager-server-5.16.1-1.cm5161.p0.1.el7.x86_64 --> Running transaction check ---> Package cloudera-manager-daemons.x86_64 0:5.16.1-1.cm5161.p0.1.el7 will be installed --> Finished Dependency Resolution Dependencies Resolved ======================================================================================================================================================================== Package Arch Version Repository Size ======================================================================================================================================================================== Installing: cloudera-manager-server x86_64 5.16.1-1.cm5161.p0.1.el7 cloudera-manager 8.5 k Installing for dependencies: cloudera-manager-daemons x86_64 5.16.1-1.cm5161.p0.1.el7 cloudera-manager 753 M Transaction Summary ======================================================================================================================================================================== Install 1 Package (+1 Dependent package) Total download size: 753 M Installed size: 935 M Downloading packages: (1/2): cloudera-manager-server-5.16.1-1.cm5161.p0.1.el7.x86_64.rpm | 8.5 kB 00:00:00 (2/2): cloudera-manager-daemons-5.16.1-1.cm5161.p0.1.el7.x86_64.rpm | 753 MB 00:00:14 ------------------------------------------------------------------------------------------------------------------------------------------------------------------------ Total 52 MB/s | 753 MB 00:00:14 Running transaction check Running transaction test Transaction test succeeded Running transaction Installing : cloudera-manager-daemons-5.16.1-1.cm5161.p0.1.el7.x86_64 1/2 Installing : cloudera-manager-server-5.16.1-1.cm5161.p0.1.el7.x86_64 2/2 Verifying : cloudera-manager-server-5.16.1-1.cm5161.p0.1.el7.x86_64 1/2 Verifying : cloudera-manager-daemons-5.16.1-1.cm5161.p0.1.el7.x86_64 2/2 Installed: cloudera-manager-server.x86_64 0:5.16.1-1.cm5161.p0.1.el7 Dependency Installed: cloudera-manager-daemons.x86_64 0:5.16.1-1.cm5161.p0.1.el7 Complete! [root@node110 ~]#
[root@node110 ~]# yum -y install java Loaded plugins: fastestmirror Loading mirror speeds from cached hostfile Resolving Dependencies --> Running transaction check ---> Package jdk1.8.x86_64 2000:1.8.0_201-fcs will be installed --> Finished Dependency Resolution Dependencies Resolved ======================================================================================================================================================================== Package Arch Version Repository Size ======================================================================================================================================================================== Installing: jdk1.8 x86_64 2000:1.8.0_201-fcs cloudera-manager 168 M Transaction Summary ======================================================================================================================================================================== Install 1 Package Total download size: 168 M Installed size: 288 M Downloading packages: jdk-8u201-linux-x64.rpm | 168 MB 00:00:02 Running transaction check Running transaction test Transaction test succeeded Running transaction Installing : 2000:jdk1.8-1.8.0_201-fcs.x86_64 1/1 Unpacking JAR files... tools.jar... plugin.jar... javaws.jar... deploy.jar... rt.jar... jsse.jar... charsets.jar... localedata.jar... Verifying : 2000:jdk1.8-1.8.0_201-fcs.x86_64 1/1 Installed: jdk1.8.x86_64 2000:1.8.0_201-fcs Complete! [root@node110 ~]#
[root@node110 ~]# java -version java version "1.8.0_201" Java(TM) SE Runtime Environment (build 1.8.0_201-b09) Java HotSpot(TM) 64-Bit Server VM (build 25.201-b09, mixed mode) [root@node110 ~]#
博主推荐阅读文档:
本文来自博客园,作者:尹正杰,转载请注明原文链接:https://www.cnblogs.com/yinzhengjie/p/10412455.html,个人微信: "JasonYin2020"(添加时请备注来源及意图备注,有偿付费)
当你的才华还撑不起你的野心的时候,你就应该静下心来学习。当你的能力还驾驭不了你的目标的时候,你就应该沉下心来历练。问问自己,想要怎样的人生。