{"id":8651,"date":"2022-01-21T14:10:30","date_gmt":"2022-01-21T06:10:30","guid":{"rendered":"https:\/\/www.gbase8.cn\/?p=8651"},"modified":"2022-01-21T14:12:30","modified_gmt":"2022-01-21T06:12:30","slug":"redhat-8%e9%bb%98%e8%ae%a4%e8%87%aa%e5%b8%a6yum%e6%ba%90%e5%af%bc%e8%87%b4ssh%e8%bf%9c%e7%a8%8b%e8%bf%90%e8%a1%8c%e4%b8%8d%e5%ad%98%e5%9c%a8%e7%9a%84%e5%91%bd%e4%bb%a4%e6%97%b6%e5%8d%a1%e4%bd%8f","status":"publish","type":"post","link":"https:\/\/www.gbase8.cn\/en\/8651","title":{"rendered":"redhat 8\u9ed8\u8ba4\u81ea\u5e26yum\u6e90\u5bfc\u81f4GBase 8a \u8fdc\u7a0bssh\u8fd0\u884c\u4e0d\u5b58\u5728\u7684\u547d\u4ee4\u65f6\u5361\u4f4f"},"content":{"rendered":"\n<p>\u5728GBase 8a\u7684centos 8\u7248\u672c\u5b89\u88c5\u65f6\uff0c\u5076\u53d1\u5361\u4f4f\uff0c\u67e5\u770b\u540e\u53d1\u73b0\u662f\u4e00\u4e2a\u7b80\u5355\u7684ssh\u547d\u4ee4\u6ca1\u6709\u8fd4\u56de\uff0c\u7ecf\u6392\u67e5\u53d1\u73b0\uff0c\u5728centos 8\u91cc\uff0c\u5176\u81ea\u5e26\u4e86\u51e0\u4e2ayum\u6e90\uff0c\u5bfc\u81f4\u8fd0\u884c\u67d0\u4e9b\u4e0d\u5b58\u5728\u7684\u547d\u4ee4\u65f6\uff0c\u4f1a\u3010\u63a8\u8350\u3011\u5b89\u88c5rpm\u5305\uff0c\u5bfc\u81f4\u5361\u4f4f\u3002<\/p>\n\n\n\n<div id=\"ez-toc-container\" class=\"ez-toc-v2_0_84 counter-hierarchy ez-toc-counter ez-toc-grey ez-toc-container-direction\">\n<p class=\"ez-toc-title\" style=\"cursor:inherit\">\u76ee\u5f55\u5bfc\u822a<\/p>\n<label for=\"ez-toc-cssicon-toggle-item-6a2aea4349aab\" class=\"ez-toc-cssicon-toggle-label\"><span class=\"\"><span class=\"eztoc-hide\" style=\"display:none;\">Toggle<\/span><span class=\"ez-toc-icon-toggle-span\"><svg style=\"fill: #999;color:#999\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" class=\"list-377408\" width=\"20px\" height=\"20px\" viewBox=\"0 0 24 24\" fill=\"none\"><path d=\"M6 6H4v2h2V6zm14 0H8v2h12V6zM4 11h2v2H4v-2zm16 0H8v2h12v-2zM4 16h2v2H4v-2zm16 0H8v2h12v-2z\" fill=\"currentColor\"><\/path><\/svg><svg style=\"fill: #999;color:#999\" class=\"arrow-unsorted-368013\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"10px\" height=\"10px\" viewBox=\"0 0 24 24\" version=\"1.2\" baseProfile=\"tiny\"><path d=\"M18.2 9.3l-6.2-6.3-6.2 6.3c-.2.2-.3.4-.3.7s.1.5.3.7c.2.2.4.3.7.3h11c.3 0 .5-.1.7-.3.2-.2.3-.5.3-.7s-.1-.5-.3-.7zM5.8 14.7l6.2 6.3 6.2-6.3c.2-.2.3-.5.3-.7s-.1-.5-.3-.7c-.2-.2-.4-.3-.7-.3h-11c-.3 0-.5.1-.7.3-.2.2-.3.5-.3.7s.1.5.3.7z\"\/><\/svg><\/span><\/span><\/label><input type=\"checkbox\"  id=\"ez-toc-cssicon-toggle-item-6a2aea4349aab\"  aria-label=\"Toggle\" \/><nav><ul class='ez-toc-list ez-toc-list-level-1 ' ><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-1\" href=\"https:\/\/www.gbase8.cn\/en\/8651\/#%E8%A1%A8%E7%8E%B0\" >\u8868\u73b0<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-2\" href=\"https:\/\/www.gbase8.cn\/en\/8651\/#%E5%88%86%E6%9E%90\" >\u5206\u6790<\/a><ul class='ez-toc-list-level-3' ><li class='ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-3\" href=\"https:\/\/www.gbase8.cn\/en\/8651\/#%E6%89%8B%E5%B7%A5%E6%89%A7%E8%A1%8C%E4%B8%8D%E5%AD%98%E5%9C%A8%E7%9A%84%E5%91%BD%E4%BB%A4%E5%87%BA%E7%8E%B0%E6%8E%A8%E8%8D%90%E5%AE%89%E8%A3%85rpm\" >\u624b\u5de5\u6267\u884c\u4e0d\u5b58\u5728\u7684\u547d\u4ee4\u51fa\u73b0\u63a8\u8350\u5b89\u88c5rpm<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-4\" href=\"https:\/\/www.gbase8.cn\/en\/8651\/#%E6%8E%92%E6%9F%A5%E6%8E%A8%E8%8D%90%E7%9A%84%E5%8E%9F%E5%9B%A0\" >\u6392\u67e5\u63a8\u8350\u7684\u539f\u56e0<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-5\" href=\"https:\/\/www.gbase8.cn\/en\/8651\/#%E6%8E%92%E6%9F%A5%E6%8E%A8%E8%8D%90%E7%9A%84%E5%AE%89%E8%A3%85%E5%8C%85%E6%9D%A5%E8%87%AA%E5%93%AA%E9%87%8C\" >\u6392\u67e5\u63a8\u8350\u7684\u5b89\u88c5\u5305\u6765\u81ea\u54ea\u91cc<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-6\" href=\"https:\/\/www.gbase8.cn\/en\/8651\/#%E5%85%B3%E9%97%ADyum%E6%95%B0%E6%8D%AE%E6%BA%90\" >\u5173\u95edyum\u6570\u636e\u6e90<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-7\" href=\"https:\/\/www.gbase8.cn\/en\/8651\/#%E9%AA%8C%E8%AF%81%E5%91%BD%E4%BB%A4%E6%98%AF%E5%90%A6%E4%B8%8D%E5%86%8D%E5%87%BA%E7%8E%B0%E6%8E%A8%E8%8D%90%E5%AE%89%E8%A3%85\" >\u9a8c\u8bc1\u547d\u4ee4\u662f\u5426\u4e0d\u518d\u51fa\u73b0\u63a8\u8350\u5b89\u88c5<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-8\" href=\"https:\/\/www.gbase8.cn\/en\/8651\/#%E5%B0%9D%E8%AF%95%E5%AE%89%E8%A3%85%E9%9B%86%E7%BE%A4\" >\u5c1d\u8bd5\u5b89\u88c5\u96c6\u7fa4<\/a><\/li><\/ul><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-9\" href=\"https:\/\/www.gbase8.cn\/en\/8651\/#%E6%80%BB%E7%BB%93\" >\u603b\u7ed3<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-10\" href=\"https:\/\/www.gbase8.cn\/en\/8651\/#%E8%A7%A3%E5%86%B3%E6%96%B9%E6%A1%88\" >\u89e3\u51b3\u65b9\u6848<\/a><\/li><\/ul><\/nav><\/div>\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"%E8%A1%A8%E7%8E%B0\"><\/span>\u8868\u73b0<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>GBase 8a\u5b89\u88c5\u65f6\u5361\u4f4f<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>*********************************************************************************\nDo you accept the above licence agreement (&#91;Y,y]\/&#91;N,n])? y\n*********************************************************************************\n                     Welcome to install GBase products\n*********************************************************************************\nEnvironmental Checking on gcluster nodes.<\/code><\/pre>\n\n\n\n<p>\u67e5\u770b\u4ee3\u7801\uff0c\u5728ssh\u8fdc\u7a0b\u6267\u884c\u5982\u4e0b\u4ee3\u7801\u65f6<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>\"export LANG=C; ret=`lssubsys -a`; echo $?<\/code><\/pre>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"%E5%88%86%E6%9E%90\"><\/span>\u5206\u6790<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"%E6%89%8B%E5%B7%A5%E6%89%A7%E8%A1%8C%E4%B8%8D%E5%AD%98%E5%9C%A8%E7%9A%84%E5%91%BD%E4%BB%A4%E5%87%BA%E7%8E%B0%E6%8E%A8%E8%8D%90%E5%AE%89%E8%A3%85rpm\"><\/span>\u624b\u5de5\u6267\u884c\u4e0d\u5b58\u5728\u7684\u547d\u4ee4\u51fa\u73b0\u63a8\u8350\u5b89\u88c5rpm<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p>\u53d1\u73b0\u5982\u4e0b\u7684\u8f93\u51fa<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>&#91;root@redhat8_3 ~]# lssubsys -a\nbash: lssubsys: command not found...\nInstall package 'libcgroup-tools' to provide command 'lssubsys'? &#91;N\/y]<\/code><\/pre>\n\n\n\n<p>\u9664\u4e86\u6253\u5370\u51facommand not found\u4e4b\u5916\uff0c\u8fd8\u989d\u5916\u51fa\u73b0\u4e86\u63a8\u8350\u5b89\u88c5rpm\u5305\u7684\u9009\u62e9[Y\/N]\uff0c\u6b63\u662f\u8fd9\u4e2a\u4ea4\u4e92\u5f0f\u8f93\u5165\uff0c\u5bfc\u81f4\u8fdc\u7a0b\u547d\u4ee4\u65e0\u6cd5\u7ee7\u7eed\uff0c\u4ece\u800c\u5361\u4f4f\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"%E6%8E%92%E6%9F%A5%E6%8E%A8%E8%8D%90%E7%9A%84%E5%8E%9F%E5%9B%A0\"><\/span>\u6392\u67e5\u63a8\u8350\u7684\u539f\u56e0<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p>\u7ecf\u5206\u6790\uff0c\u5728linux\u91cc\u5bf9command not found\u7684\u5904\u7406\uff0c\u6709\u4e00\u4e2a\u5de5\u5177PackageKit.sh\uff0c \u5904\u7406\u4e86command_not_found_handle<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>&#91;root@redhat8_3 profile.d]# cat \/etc\/profile.d\/PackageKit.sh\n# Copyright (C) 2008 Richard Hughes &lt;richard@hughsie.com&gt;\n#\n# Licensed under the GNU General Public License Version 2\n# This program is free software; you can redistribute it and\/or modify\n# it under the terms of the GNU General Public License as published by\n# the Free Software Foundation; either version 2 of the License, or\n# (at your option) any later version.\n\ncommand_not_found_handle () {\n        local runcnf=1\n        local retval=127\n\n        # only search for the command if we're interactive\n        &#91;&#91; $- == *\"i\"* ]] || runcnf=0\n\n        # don't run if DBus isn't running\n        &#91;&#91; ! -S \/run\/dbus\/system_bus_socket ]] &amp;&amp; runcnf=0\n\n        # don't run if packagekitd doesn't exist in the _system_ root\n        &#91;&#91; ! -x '\/usr\/libexec\/packagekitd' ]] &amp;&amp; runcnf=0\n\n        # don't run if bash command completion is being run\n        &#91;&#91; -n ${COMP_CWORD-} ]] &amp;&amp; runcnf=0\n\n        # don't run if we've been uninstalled since the shell was launched\n        &#91;&#91; ! -x '\/usr\/libexec\/pk-command-not-found' ]] &amp;&amp; runcnf=0\n\n        # run the command, or just print a warning\n        if &#91; $runcnf -eq 1 ]; then\n                '\/usr\/libexec\/pk-command-not-found' \"$@\"\n                retval=$?\n        elif &#91;&#91; -n \"${BASH_VERSION-}\" ]]; then\n                printf &gt;&amp;2 'bash: %scommand not found\\n' \"${1:+$1: }\"\n        fi\n\n        # return success or failure\n        return $retval\n}\n\nif &#91;&#91; -n \"${ZSH_VERSION-}\" ]]; then\n        command_not_found_handler () {\n                command_not_found_handle \"$@\" &amp;&amp; return 127\n        }\nfi\n<\/code><\/pre>\n\n\n\n<p>\u5185\u90e8\u4f1a\u8c03\u7528command_not_found_handle\u547d\u4ee4\uff0c\u8be5\u547d\u4ee4\u5bf9\u5e94\u7684\u7a0b\u5e8f\u662f \/usr\/libexec\/pk-command-not-found\uff0c\u67e5\u770b\u8fdb\u7a0b\uff0c\u53d1\u73b0\u4e86lssubsys\u7684\u547d\u4ee4<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>&#91;root@redhat8_3 ~]# ps -ef | grep lssub\nroot       56417   56416  0 Jan20 pts\/7    00:00:00 \/usr\/libexec\/pk-command-not-found lssubsys -a\nroot       60747   21328  0 00:00 pts\/6    00:00:00 grep --color=auto lssub<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"%E6%8E%92%E6%9F%A5%E6%8E%A8%E8%8D%90%E7%9A%84%E5%AE%89%E8%A3%85%E5%8C%85%E6%9D%A5%E8%87%AA%E5%93%AA%E9%87%8C\"><\/span>\u6392\u67e5\u63a8\u8350\u7684\u5b89\u88c5\u5305\u6765\u81ea\u54ea\u91cc<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p>\u67e5\u770byum\u6570\u636e\u6e90\uff0c\u53d1\u73b0\u6709enable\u7684<\/p>\n\n\n\n<pre class=\"wp-block-code has-small-font-size\"><code>&#91;root@redhat8_3 profile.d]# yum repolist all\nrepo id                                  repo name                                                                        status\n<span class=\"has-inline-color has-luminous-vivid-orange-color\">appstream                                CentOS Linux 8 - AppStream                                                       enabled<\/span>\nappstream-source                         CentOS Linux 8 - AppStream - Source                                              disabled\n<span class=\"has-inline-color has-luminous-vivid-orange-color\">baseos                                   CentOS Linux 8 - BaseOS                                                          enabled<\/span>\nbaseos-source                            CentOS Linux 8 - BaseOS - Source                                                 disabled\ncr                                       CentOS Linux 8 - ContinuousRelease                                               disabled\ndebuginfo                                CentOS Linux 8 - Debuginfo                                                       disabled\ndevel                                    CentOS Linux 8 - Devel WARNING! FOR BUILDROOT USE ONLY!                          disabled\n<span class=\"has-inline-color has-luminous-vivid-orange-color\">extras                                   CentOS Linux 8 - Extras                                                          enabled<\/span>\nextras-source                            CentOS Linux 8 - Extras - Source                                                 disabled\nfasttrack                                CentOS Linux 8 - FastTrack                                                       disabled\nha                                       CentOS Linux 8 - HighAvailability                                                disabled\nmedia-appstream                          CentOS Linux 8 - Media - AppStream                                               disabled\nmedia-baseos                             CentOS Linux 8 - Media - BaseOS                                                  disabled\nplus                                     CentOS Linux 8 - Plus                                                            disabled\nplus-source                              CentOS Linux 8 - Plus - Source                                                   disabled\npowertools                               CentOS Linux 8 - PowerTools                                                      disabled\n&#91;root@redhat8_3 profile.d]#<\/code><\/pre>\n\n\n\n<p>\u8fd9\u4e9b\u6570\u636e\u6e90\u914d\u7f6e\u5728\/etc\/yum.repos.d\/\u4e0b\u9762<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>&#91;root@redhat8_3 profile.d]# cd \/etc\/yum.repos.d\/\n&#91;root@redhat8_3 yum.repos.d]# ll\ntotal 48\n-rw-r--r--. 1 root root  719 Nov  9  2020 CentOS-Linux-AppStream.repo\n-rw-r--r--. 1 root root  704 Nov  9  2020 CentOS-Linux-BaseOS.repo\n-rw-r--r--. 1 root root 1130 Nov  9  2020 CentOS-Linux-ContinuousRelease.repo\n-rw-r--r--. 1 root root  318 Nov  9  2020 CentOS-Linux-Debuginfo.repo\n-rw-r--r--. 1 root root  732 Nov  9  2020 CentOS-Linux-Devel.repo\n-rw-r--r--. 1 root root  704 Nov  9  2020 CentOS-Linux-Extras.repo\n-rw-r--r--. 1 root root  719 Nov  9  2020 CentOS-Linux-FastTrack.repo\n-rw-r--r--. 1 root root  740 Nov  9  2020 CentOS-Linux-HighAvailability.repo\n-rw-r--r--. 1 root root  693 Nov  9  2020 CentOS-Linux-Media.repo\n-rw-r--r--. 1 root root  706 Nov  9  2020 CentOS-Linux-Plus.repo\n-rw-r--r--. 1 root root  724 Nov  9  2020 CentOS-Linux-PowerTools.repo\n-rw-r--r--. 1 root root  898 Nov  9  2020 CentOS-Linux-Sources.repo<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"%E5%85%B3%E9%97%ADyum%E6%95%B0%E6%8D%AE%E6%BA%90\"><\/span>\u5173\u95edyum\u6570\u636e\u6e90<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p>\u4fee\u6539\u5bf9\u5e94\u7684\u914d\u7f6e\u6587\u4ef6\uff0c\u5c06\u5176\u4e2d\u7684enable=1\u6539\u6210enable=0<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>&#91;root@redhat8_3 yum.repos.d]# cat CentOS-Linux-AppStream.repo\n# CentOS-Linux-AppStream.repo\n#\n# The mirrorlist system uses the connecting IP address of the client and the\n# update status of each mirror to pick current mirrors that are geographically\n# close to the client.  You should use this for CentOS updates unless you are\n# manually picking other mirrors.\n#\n# If the mirrorlist does not work for you, you can try the commented out\n# baseurl line instead.\n\n&#91;appstream]\nname=CentOS Linux $releasever - AppStream\nmirrorlist=http:\/\/mirrorlist.centos.org\/?release=$releasever&amp;arch=$basearch&amp;repo=AppStream&amp;infra=$infra\n#baseurl=http:\/\/mirror.centos.org\/$contentdir\/$releasever\/AppStream\/$basearch\/os\/\ngpgcheck=1\n<span class=\"has-inline-color has-luminous-vivid-orange-color\">enabled=1<\/span>\ngpgkey=file:\/\/\/etc\/pki\/rpm-gpg\/RPM-GPG-KEY-centosofficial\n&#91;root@redhat8_3 yum.repos.d]# vi CentOS-Linux-AppStream.repo\n&#91;root@redhat8_3 yum.repos.d]# cat CentOS-Linux-AppStream.repo\n# CentOS-Linux-AppStream.repo\n#\n# The mirrorlist system uses the connecting IP address of the client and the\n# update status of each mirror to pick current mirrors that are geographically\n# close to the client.  You should use this for CentOS updates unless you are\n# manually picking other mirrors.\n#\n# If the mirrorlist does not work for you, you can try the commented out\n# baseurl line instead.\n\n&#91;appstream]\nname=CentOS Linux $releasever - AppStream\nmirrorlist=http:\/\/mirrorlist.centos.org\/?release=$releasever&amp;arch=$basearch&amp;repo=AppStream&amp;infra=$infra\n#baseurl=http:\/\/mirror.centos.org\/$contentdir\/$releasever\/AppStream\/$basearch\/os\/\ngpgcheck=1\n<span class=\"has-inline-color has-luminous-vivid-orange-color\">enabled=0<\/span>\ngpgkey=file:\/\/\/etc\/pki\/rpm-gpg\/RPM-GPG-KEY-centosofficial\n&#91;root@redhat8_3 yum.repos.d]#<\/code><\/pre>\n\n\n\n<p>\u5176\u5b83\u51e0\u4e2a\u90fd\u5173\u6389\uff0c\u6211\u672c\u5730\u6d4b\u8bd5\u53ea\u5173\u6389\u4e86\u524d2\u4e2a\uff0c\u90a3\u4e2aextra\u6211\u6ca1\u5173\u3002<\/p>\n\n\n\n<pre class=\"wp-block-code has-small-font-size\"><code>&#91;root@redhat8_3 yum.repos.d]# yum repolist all\nrepo id                                  repo name                                                                        status\n<span class=\"has-inline-color has-luminous-vivid-orange-color\">appstream                                CentOS Linux 8 - AppStream                                                       disabled<\/span>\nappstream-source                         CentOS Linux 8 - AppStream - Source                                              disabled\n<span class=\"has-inline-color has-luminous-vivid-orange-color\">baseos                                   CentOS Linux 8 - BaseOS                                                          disabled<\/span>\nbaseos-source                            CentOS Linux 8 - BaseOS - Source                                                 disabled\ncr                                       CentOS Linux 8 - ContinuousRelease                                               disabled\ndebuginfo                                CentOS Linux 8 - Debuginfo                                                       disabled\ndevel                                    CentOS Linux 8 - Devel WARNING! FOR BUILDROOT USE ONLY!                          disabled\nextras                                   CentOS Linux 8 - Extras                                                          enabled\nextras-source                            CentOS Linux 8 - Extras - Source                                                 disabled\nfasttrack                                CentOS Linux 8 - FastTrack                                                       disabled\nha                                       CentOS Linux 8 - HighAvailability                                                disabled\nmedia-appstream                          CentOS Linux 8 - Media - AppStream                                               disabled\nmedia-baseos                             CentOS Linux 8 - Media - BaseOS                                                  disabled\nplus                                     CentOS Linux 8 - Plus                                                            disabled\nplus-source                              CentOS Linux 8 - Plus - Source                                                   disabled\npowertools                               CentOS Linux 8 - PowerTools                                                      disabled\n&#91;root@redhat8_3 yum.repos.d]#\n<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"%E9%AA%8C%E8%AF%81%E5%91%BD%E4%BB%A4%E6%98%AF%E5%90%A6%E4%B8%8D%E5%86%8D%E5%87%BA%E7%8E%B0%E6%8E%A8%E8%8D%90%E5%AE%89%E8%A3%85\"><\/span>\u9a8c\u8bc1\u547d\u4ee4\u662f\u5426\u4e0d\u518d\u51fa\u73b0\u63a8\u8350\u5b89\u88c5<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p>\u518d\u6b21\u8fd0\u884c\uff0c\u53d1\u73b0\u53ea\u62a5\u9519command no found\uff0c\u4e0d\u518d\u51fa\u73b0\u63a8\u8350\u5b89\u88c5\u7684\u9009\u9879\u4e86\u3002<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>&#91;root@redhat8_3 ~]# lssubsys -a\nbash: lssubsys: command not found...\n&#91;root@redhat8_3 ~]#\n<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"%E5%B0%9D%E8%AF%95%E5%AE%89%E8%A3%85%E9%9B%86%E7%BE%A4\"><\/span>\u5c1d\u8bd5\u5b89\u88c5\u96c6\u7fa4<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p>\u6b63\u5e38\u5b89\u88c5\uff0c\u6ca1\u6709\u5361\u4f4f\u3002<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>*********************************************************************************\nDo you accept the above licence agreement (&#91;Y,y]\/&#91;N,n])? y\n*********************************************************************************\n                     Welcome to install GBase products\n*********************************************************************************\nEnvironmental Checking on gcluster nodes.\nCgconfig service is not exist on host &#91;'10.0.2.181'], resource manangement can not be used, continue (&#91;Y,y]\/&#91;N,n])? n\n<\/code><\/pre>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"%E6%80%BB%E7%BB%93\"><\/span>\u603b\u7ed3<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>linux\u7684PackageKit\u5de5\u5177\uff0c\u5bf9\u4e0d\u5b58\u5728\u7684\u547d\u4ee4\u8fdb\u884c\u4e86\u4eba\u6027\u5316\u63a8\u8350\uff0c\u5bfc\u81f4\u8fdc\u7a0b\u8fd0\u884c\u4e0d\u5b58\u5728\u7684\u547d\u4ee4\u65f6\u51fa\u73b0\u4e86\u63a8\u8350\u5b89\u88c5\u7684\u9009\u9879\uff0c\u800c\u8c03\u7528\u65b9\u5e76\u6ca1\u6709\u5904\u7406\u8fd9\u79cd\u60c5\u51b5\uff0c\u5bfc\u81f4\u4e00\u76f4\u5e26\u7b49\u5f85\u5ba2\u6237\u8f93\u5165\uff0c\u4ece\u800c\u5361\u4f4f\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"%E8%A7%A3%E5%86%B3%E6%96%B9%E6%A1%88\"><\/span>\u89e3\u51b3\u65b9\u6848<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<ul class=\"wp-block-list\"><li>\u7b49\u5f85\u65b0\u7248\u672c<\/li><li>\u6682\u65f6\u5173\u95edyum\u6570\u636e\u6e90(\u4e34\u65f6\u63aa\u65bd)<\/li><li>\u624b\u5de5\u5b89\u88c5\u4e0a\u4f9d\u8d56\u7684\u547d\u4ee4\u5305(\u4e34\u65f6\u63aa\u65bd)<\/li><\/ul>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u5728GBase 8a\u7684centos 8\u7248\u672c\u5b89\u88c5\u65f6\uff0c\u5076\u53d1\u5361\u4f4f\uff0c\u67e5\u770b\u540e\u53d1\u73b0\u662f\u4e00\u4e2a\u7b80\u5355\u7684ssh\u547d\u4ee4\u6ca1\u6709\u8fd4\u56de\uff0c\u7ecf\u6392\u67e5\u53d1\u73b0\uff0c\u5728centos 8\u91cc\uff0c\u5176\u81ea\u5e26\u4e86\u51e0\u4e2ayum\u6e90\uff0c\u5bfc\u81f4\u8fd0\u884c\u67d0\u4e9b\u4e0d\u5b58\u5728\u7684\u547d\u4ee4\u65f6\uff0c\u4f1a\u3010\u63a8\u8350\u3011\u5b89\u88c5rpm\u5305\uff0c\u5bfc\u81f4\u5361\u4f4f\u3002<\/p>","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[54],"tags":[],"class_list":["post-8651","post","type-post","status-publish","format-standard","hentry","category-gbase8a"],"_links":{"self":[{"href":"https:\/\/www.gbase8.cn\/en\/wp-json\/wp\/v2\/posts\/8651","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.gbase8.cn\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.gbase8.cn\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.gbase8.cn\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.gbase8.cn\/en\/wp-json\/wp\/v2\/comments?post=8651"}],"version-history":[{"count":2,"href":"https:\/\/www.gbase8.cn\/en\/wp-json\/wp\/v2\/posts\/8651\/revisions"}],"predecessor-version":[{"id":8653,"href":"https:\/\/www.gbase8.cn\/en\/wp-json\/wp\/v2\/posts\/8651\/revisions\/8653"}],"wp:attachment":[{"href":"https:\/\/www.gbase8.cn\/en\/wp-json\/wp\/v2\/media?parent=8651"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.gbase8.cn\/en\/wp-json\/wp\/v2\/categories?post=8651"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.gbase8.cn\/en\/wp-json\/wp\/v2\/tags?post=8651"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}