更新文档

This commit is contained in:
谷成伟 2024-12-09 15:46:58 +08:00
parent 95de1ac2ec
commit d8236068f9

View File

@ -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 ```bash
yum update -y yum update -y
``` ```