Redhat 添加yum源

前端之家收集整理的这篇文章主要介绍了Redhat 添加yum源前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。

yum自动补全

yum install bash-completion -y

阿里云官方镜像站

https://developer.aliyun.com/mirror/

添加yum软件仓库

wget -O /etc/yum.repos.d/CentOS-Base.repo https://mirrors.aliyun.com/repo/Centos-7.repo

或者

sudo yum-config-manager --add-repo=http://classroom.example.com/

猜你在找的Linux相关文章