0
点赞
收藏
分享

微信扫一扫

CentOS 7安装网络yum源

J简文 2023-03-15 阅读 99

wget -O /etc/yum.repos.d/CentOS-Base.repo https://mirrors.aliyun.com/repo/Centos-7.repo
yum install -y epel-release
wget -O /etc/yum.repos.d/epel-7.repo http://mirrors.aliyun.com/repo/epel-7.repo
yum clean all
yum makecache

举报

相关推荐

0 条评论