cd /etc/yum.repos.d/
vi CentOS-Base.repo
http://10.201.7.20:10080/os/CentOS-7-1810/
配置yum源后执行
yum clean all
yum makecache
yum version
yum list
验证是否配置成功
yum install tree
posted on 2022-04-12 16:58 seamy 阅读(1) 评论(0) 编辑 收藏 举报