Centos7阿里云yum源

#Step1:下载repository 没有wget命令 就用curl

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

curl -o /etc/yum.repos.d/CentOS-Base.repo http://mirrors.aliyun.com/repo/Centos-7.repo

#Step2:安装epel基础组件源 没有wget命令 就用curl

wget -O /etc/yum.repos.d/epel.repo http://mirrors.aliyun.com/repo/epel-7.repo

curl -o /etc/yum.repos.d/epel.repo http://mirrors.aliyun.com/repo/epel-7.repo

yum clean all

yum makecache

相关推荐
报错小能手5 分钟前
linux学习笔记(49)Redis详解(1)
linux·笔记·学习
QT 小鲜肉7 分钟前
【个人成长笔记】在本地Windows系统中如何正确使用adb pull命令,把Linux系统中的文件或文件夹复制到本地中(亲测有效)
linux·windows·笔记·学习·adb
panplan.top39 分钟前
Tornado + Motor 微服务架构(Docker + 测试 + Kubernetes)
linux·python·docker·微服务·k8s·tornado
FJW0208141 小时前
【Linux】系统中的文件管理
linux·运维·服务器
豆是浪个1 小时前
Linux(Centos 7.6)命令详解:rpm
linux·运维·centos
Z_Xshan2 小时前
docker 容器web站点 中文文件名访问404问题
linux·开发语言·docker
晓梦.2 小时前
Linux
linux·运维·服务器
运维帮手大橙子2 小时前
Linux如何安装使用Rust指南
linux·运维·rust
千百元3 小时前
centos怎么查看磁盘是机械还是固态
linux·运维·centos
LoneEon3 小时前
CentOS 7 系统安装教程
linux·运维·centos