CentOS7系统升级

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
<!--more-->
vim /etc/yum.repos.d/CentOS-local.repo
[base]
name=CentOS-$releasever - Base
baseurl=https://mirrors.aliyun.com/centos/7.6.18.10/os/$basearch/
gpgcheck=0
enabled=1

[updates]
name=CentOS-$releasever - Updates
baseurl=https://mirrors.aliyun.com/centos/7.6.18.10/updates/$basearch/
gpgcheck=0
enabled=1

yum clean all
yum repolist
yum -y update
reboot
作者

John Doe

发布于

2019-05-16

更新于

2023-03-17

许可协议