1.修改yum源为aliyun
https://blog.csdn.net/hnmpf/article/details/81240177
https://blog.csdn.net/ltx06/article/details/78030056
注意wget 阿里云的源时要根据centos的版本下载
Installed:
kernel.x86_64 0:3.10.0-1062.9.1.el7
Updated:
NetworkManager.x86_64 1:1.18.0-5.el7_7.1 NetworkManager-libnm.x86_64 1:1.18.0-5.el7_7.1 NetworkManager-team.x86_64 1:1.18.0-5.el7_7.1
NetworkManager-tui.x86_64 1:1.18.0-5.el7_7.1 NetworkManager-wifi.x86_64 1:1.18.0-5.el7_7.1 binutils.x86_64 0:2.27-41.base.el7_7.1
ca-certificates.noarch 0:2019.2.32-76.el7_7 curl.x86_64 0:7.29.0-54.el7_7.1 device-mapper.x86_64 7:1.02.158-2.el7_7.2
device-mapper-libs.x86_64 7:1.02.158-2.el7_7.2 firewalld.noarch 0:0.6.3-2.el7_7.2 firewalld-filesystem.noarch 0:0.6.3-2.el7_7.2
hostname.x86_64 0:3.13-3.el7_7.1 iproute.x86_64 0:4.11.0-25.el7_7.2 kernel-tools.x86_64 0:3.10.0-1062.9.1.el7
kernel-tools-libs.x86_64 0:3.10.0-1062.9.1.el7 krb5-libs.x86_64 0:1.15.1-37.el7_7.2 libblkid.x86_64 0:2.23.2-61.el7_7.1
libcurl.x86_64 0:7.29.0-54.el7_7.1 libmount.x86_64 0:2.23.2-61.el7_7.1 libsmartcols.x86_64 0:2.23.2-61.el7_7.1
libuuid.x86_64 0:2.23.2-61.el7_7.1 microcode_ctl.x86_64 2:2.1-53.7.el7_7 nss.x86_64 0:3.44.0-7.el7_7
nss-softokn.x86_64 0:3.44.0-8.el7_7 nss-softokn-freebl.x86_64 0:3.44.0-8.el7_7 nss-sysinit.x86_64 0:3.44.0-7.el7_7
nss-tools.x86_64 0:3.44.0-7.el7_7 nss-util.x86_64 0:3.44.0-4.el7_7 numactl-libs.x86_64 0:2.0.12-3.el7_7.1
polkit.x86_64 0:0.112-22.el7_7.1 procps-ng.x86_64 0:3.3.10-26.el7_7.1 python-firewall.noarch 0:0.6.3-2.el7_7.2
python-perf.x86_64 0:3.10.0-1062.9.1.el7 rsyslog.x86_64 0:8.24.0-41.el7_7.2 selinux-policy.noarch 0:3.13.1-252.el7_7.6
selinux-policy-targeted.noarch 0:3.13.1-252.el7_7.6 sqlite.x86_64 0:3.7.17-8.el7_7.1 sudo.x86_64 0:1.8.23-4.el7_7.1
systemd.x86_64 0:219-67.el7_7.2 systemd-libs.x86_64 0:219-67.el7_7.2 systemd-sysv.x86_64 0:219-67.el7_7.2
tuned.noarch 0:2.11.0-5.el7_7.1 tzdata.noarch 0:2019c-1.el7 util-linux.x86_64 0:2.23.2-61.el7_7.1
Complete!
来源:CSDN
作者:zdkdchao
链接:https://blog.csdn.net/qq_34224565/article/details/104122356