国内镜像源地址
-
阿里云开源镜像
http://mirrors.aliyun.com/repo -
网易开源镜像
http://mirrors.163.com/.help/ -
腾讯云镜像源
https://mirrors.cloud.tencent.com/epel/ -
华为云镜像源
https://repo.huaweicloud.com/repository/
CentOS https://repo.huaweicloud.com/repository/conf/
收集的镜像,yum源等网站地址
sohu开源镜像站
http://mirrors.sohu.com/help/
中科大开源镜像站(中国官方镜像站)
http://centos.ustc.edu.cn/
上海交通大学开源软件镜像站
http://ftp.sjtu.edu.cn/
北京理工大学 开源软件镜像站
http://mirror.bit.edu.cn/web/
北京交通大学自由与开源软件镜像站
https://mirror.bjtu.edu.cn/
清华大学开源软件镜像站
https://mirrors.tuna.tsinghua.edu.cn/
大连理工大学开源镜像站
http://mirror.dlut.edu.cn/
Nginx-yum源
http://nginx.org/packages/
mysql-yum源
https://repo.mysql.com/yum
红帽镜像:
https://developers.redhat.com/products/
Centos 镜像
https://www.centos.org/download/
Centos社区镜像站
http://mirror.centos.org/centos/
Ubuntu镜像
https://www.ubuntu.com/download/desktop
Deepin镜像
https://www.deepin.org/mirrors/packages/
fedora镜像
https://getfedora.org/en/server/download/
Windows镜像
https://msdn.itellyou.cn/
以下命令生成缓存
yum clean all
yum makecache
配置目录
Centos下:
/etc/yum.repos.d
Ubuntu下:
/etc/apt/