返回正文
Are you an LLM? You can read better optimized documentation at /zh-CN/blog/2024-05/redhat_custom_repo.md for this page in Markdown format
Redhat配置yum源
Redhat配置yum源(使用阿里云yum Repo)
本教程使用于redhat7.6
1.查看版本号和系统类别:##
bash
cat /etc/redhat-release
1
配置yum源
bash
cd /etc/yum.repos.d/
wget http://mirrors.aliyun.com/repo/Centos-7.repo
sed -i 's/$releasever/7/g' /etc/yum.repos.d/Centos-7.repo
yum makecache
1
2
3
4
2
3
4
完成
VN/A |
本站访客数
--次 本站总访问量
--人次