更新文档
This commit is contained in:
parent
95de1ac2ec
commit
d8236068f9
@ -49,7 +49,15 @@ OpenEuler的安装和Centos差不多,这里不详细说明了,就把几个
|
||||
## 系统配置
|
||||
|
||||
### 更新系统(不能访问外网请忽略)
|
||||
|
||||
首先切换系统yum源为国内地址,加快更新速度。
|
||||
```bash
|
||||
sed -e 's|http://repo.openeuler.org/|https://mirrors.ustc.edu.cn/openeuler/|g' \ -e 's|https://mirrors.openeuler.org/|https://mirrors.ustc.edu.cn/openeuler/|g' \ -i.bak \ /etc/yum.repos.d/openEuler.repo
|
||||
```
|
||||
创建索引缓存
|
||||
```bash
|
||||
yum makecache
|
||||
```
|
||||
执行更新操作
|
||||
```bash
|
||||
yum update -y
|
||||
```
|
||||
|
Loading…
Reference in New Issue
Block a user