目录

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

本文是转载文章,点击查看原文
如有侵权,请联系 xyy@jishuzhan.net 删除
相关推荐
New_Teen1 小时前
正则表达式小结
linux·笔记·学习·正则表达式
可问 可问春风5 小时前
Linux 找回 Root 密码(多发行版本)
linux·运维·chrome
木子欢儿7 小时前
Debian系统清理垃圾
linux·运维·服务器·debian
谷晓光8 小时前
python中print函数的flush如何使用
linux·服务器·数据库
Hacker_Albert8 小时前
Linux 内核模块签名
linux
AdrichPro8 小时前
4、linux c 进程
linux·运维·服务器·c语言
2301_7795037610 小时前
K8s的部署
linux·容器·kubernetes
why—空空11 小时前
linux系统CentOS 7版本搭建NFS共享存储
linux·运维·centos
不甘平凡--liang11 小时前
Linux Nginx安装部署、注册服务
linux·运维·服务器
小妖66612 小时前
linux (centos) 的 nodejs 安装全局包后使用命令无效
linux·运维·centos