yum源更换
2024-08-23 14:39:47
折腾了半天,怀疑自己能力 的时候,发现原来不是我的错。树莓派换源国内的aliyun,163都不能用,最好找到这个
# CentOS-Base.repo
#
# The mirror system uses the connecting IP address of the client and the
# update status of each mirror to pick mirrors that are updated to and
# geographically close to the client. You should use this for CentOS updates
# unless you are manually picking other mirrors.
#
# If the mirrorlist= does not work for you, as a fall back you can try the
# remarked out baseurl= line instead.
#
# [base]
name=CentOS-$releasever - Base
#mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=os
baseurl=http://mirrors.ustc.edu.cn/centos-altarch/$releasever/os/$basearch/
gpgcheck=1
enabled=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7
file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-SIG-AltArch-Arm32 #released updates
[updates]
name=CentOS-$releasever - Updates
# mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=updates
baseurl=http://mirrors.ustc.edu.cn/centos-altarch/$releasever/updates/$basearch/
gpgcheck=1
enabled=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7
file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-SIG-AltArch-Arm32 #additional packages that may be useful
[extras]
name=CentOS-$releasever - Extras
# mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=extras
baseurl=http://mirrors.ustc.edu.cn/centos-altarch/$releasever/extras/$basearch/
gpgcheck=1
enabled=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7
file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-SIG-AltArch-Arm32 #additional packages that extend functionality of existing packages
[centosplus]
name=CentOS-$releasever - Plus
# mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=centosplus
baseurl=http://mirrors.ustc.edu.cn/centos-altarch/$releasever/centosplus/$basearch/
gpgcheck=1
enabled=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7
file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-SIG-AltArch-Arm32
最新文章
- ADO.NET存取数据库数据
- Objective-C( Foundation框架 一 NSFileManager)
- mysql多个时间戳字段默认值问题
- 协处理器,王明学learn
- HTTP请求之:PHP函数header常用功能
- 你们以为运营商只是HTTP插点广告而已么?
- 浅谈自我对git的初步认识
- Word排版成树形结构技巧
- 解决Intellij IDEA 通过archetype创建Maven项目缓慢的问题
- hdu 4190
- RMAN备份FORMAT格式中%的含义
- mac 安装maven 和改动java环境变量
- Hive 学习笔记(启动方式,内置服务)
- 使用Pycharm创建一个Django项目
- \usepackage{ulem}带下划线的问题解决
- 37.Spring-事务控制.md
- python中字典内置方法
- 函数----基础,参数传递,返回类型和return语句
- folly无锁队列,尝试添加新的函数(续)
- httpclient妙用一 httpclient作为客户端调用soap webservice(转)
热门文章
- 阶段1 语言基础+高级_1-3-Java语言高级_1-常用API_1_第6节 static静态_11_静态static关键字概述
- 博客图片上传picgo工具安装配置github图传使用
- 测开之路九十七:js的引用方式
- 操作excel--xlwt/xlrd/xlutils模块
- 安全运维 - Windows系统维护
- [19/05/26-星期日] JavaScript_ 基本语法_运算符
- struts框架中常用到的标签
- Java数据结构介绍(线性结构和非线性结构)
- Javascript之谈对象
- 循环结构 :while