如何进行CentOS yum镜像速度测试记录文件
发表于:2025-12-03 作者:千家信息网编辑
千家信息网最后更新 2025年12月03日,这期内容当中小编将会给大家带来有关如何进行CentOS yum镜像速度测试记录文件,文章内容丰富且以专业的角度为大家分析和叙述,阅读完这篇文章希望大家可以有所收获。CentOS yum安装方式在有网络
千家信息网最后更新 2025年12月03日如何进行CentOS yum镜像速度测试记录文件
这期内容当中小编将会给大家带来有关如何进行CentOS yum镜像速度测试记录文件,文章内容丰富且以专业的角度为大家分析和叙述,阅读完这篇文章希望大家可以有所收获。
CentOS yum安装方式在有网络环境的时候非常方便,选择一个比较快的CentOS yum源是非常有意义的。
(1)自动选择最快的源
由于CentOS yum中有的mirror速度是非常慢的,如果yum选择了这个mirror,这个时候CentOS yum就会非常慢,对此,可以下载fastestmirror插件,它会自动选择最快的
mirror: yum install yum-fastestmirror -y fastestmirror配置文件:(一般不用动) /etc/yum/pluginconf.d/fastestmirror.conf
你的CentOS yum镜像的速度测试记录文件:/var/cache/yum/timedhosts.txt
(2)一直受不了centos的更新源的速度,现在弄好了。更新200多MB的东东,5分钟搞定。1 mv /etc/yum.repos.d/CentOS-Base.repo /etc/yum.repos.d/CentOS-Base.repo.old
2 创建新的repo文件vi /etc/yum.repos.d/CentOS-Base.repo
引用
# CentOS-Base.repo # # This file uses a new mirrorlist system developed by Lance Davis for CentOS. # 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-5.0 - Base baseurl=http://mirror.be10.com/centos/5/os/$basearch/ gpgcheck=1 gpgkey=http://mirror.centos.org/centos/RPM-GPG-KEY-CentOS-5
#released updates [update] name=CentOS-5.0 - Updates baseurl=http://mirror.be10.com/centos/5/updates/$basearch/ gpgcheck=1 gpgkey=http://mirror.centos.org/centos/RPM-GPG-KEY-CentOS-5
#packages used/produced in the build but not released [addons] name=CentOS-5.0 - Addons baseurl=http://mirror.be10.com/centos/5/addons/$basearch/ gpgcheck=1 gpgkey=http://mirror.centos.org/centos/RPM-GPG-KEY-CentOS-5 #additional packages that may be useful [extras] name=CentOS-5.0 - Extras baseurl=http://mirror.be10.com/centos/5/extras/$basearch/ gpgcheck=1 gpgkey=http://mirror.centos.org/centos/RPM-GPG-KEY-CentOS-5
#additional packages that extend functionality of existing packages [centosplus] name=CentOS-5.0 - Plus baseurl=http://mirror.be10.com/centos/5/centosplus/$basearch/ gpgcheck=1 enabled=0 gpgkey=http://mirror.centos.org/centos/RPM-GPG-KEY-CentOS-5
#contrib - packages by Centos Users [contrib] name=CentOS-5.0 - Contrib baseurl=http://mirror.be10.com/centos/5/contrib/$basearch/ gpgcheck=1 enabled=0 gpgkey=http://mirror.centos.org/centos/RPM-GPG-KEY-CentOS-5
#packages in testing [testing] name=CentOS-5.0 - Testing baseurl=http://mirror.be10.com/centos/5.0/testing/$basearch/ gpgcheck=1 enabled=0 gpgkey=http://mirror.centos.org/centos/RPM-GPG-KEY-CentOS-5
rpm --import http://mirror.centos.org/centos/RPM-GPG-KEY-CentOS-5 [root@localhost yum.repos.d]# yum upgrade
上述就是小编为大家分享的如何进行CentOS yum镜像速度测试记录文件了,如果刚好有类似的疑惑,不妨参照上述分析进行理解。如果想知道更多相关知识,欢迎关注行业资讯频道。
文件
速度
选择
镜像
测试
最快
内容
时候
分析
更新
不用
专业
中小
内容丰富
受不了
对此
就是
意义
插件
文章
数据库的安全要保护哪些东西
数据库安全各自的含义是什么
生产安全数据库录入
数据库的安全性及管理
数据库安全策略包含哪些
海淀数据库安全审计系统
建立农村房屋安全信息数据库
易用的数据库客户端支持安全管理
连接数据库失败ssl安全错误
数据库的锁怎样保障安全
智能家居需要装服务器吗
网络安全ccie教材
数据库有ole技术吗
代码托管到本地服务器
信息技术和网络技术差别
sql 获取数据库时间
软件开发中单元方向化
服务器里面的其他用户怎么清除
蛋糕服务器是什么意思
长阳网络安全
华为三层交换机怎么连接服务器
网络安全智慧风暴
数据库查询显示数量
南阳金蝶中国软件开发
深圳龙岗软件开发培训学校
互联网大会14黑科技
服务器安全需求
我的世界英文服务器名字
比较有名的软件开发公司
靠谱网络安全运维哪里有
软件开发中单元方向化
计算机网络技术基础升本
天津企航网络技术
免备案和云服务器的区别
主流人工智能软件开发工具
国内数据中心服务器供应商
品牌网络技术服务介绍
医院的网络安全测试多久测试一次
数据库原理的书籍
在数据库中更改了表