新源fedora15

fedora15  时间:2021-04-01  阅读:()
给Fedora修改默认的软件下载源Fedora安装完毕之后最头疼的问题就是软件更新,因为Fedora默认的更新源服务器是在国外,所以每次更新的速度奇慢!
那么,我们是否可以修改Fedora的默认下载源呢答案是可以的.
目前国内有很多大学都提供了Fedora的更新包下载服务器,下载速度相对国外的快.
下面以华中科技大学的源(http://mirrors.
ustc.
edu.
cn/)为例(只能用在Fedora15、16、17,强烈建议在修改默认的下载源时候,先备份/etc/yum.
repos.
d/fedora.
repo和/etc/yum.
repos.
d/fedora-updates.
repo.
比如:cp/etc/yum.
repos.
d/fedora.
repo、/home/wyp/fedora.
repo.
bak).
第一步:删除/etc/yum.
repos.
d下的所以文件,上面谈到了自己最好去备份,万一自己弄错了,可以恢复嘛.
rm-rf/etc/yum.
repos.
d/*第二步:将以下保存为fedora-ustc.
repo[fedora]name=Fedora$releasever-$basearch-ustcfailovermethod=prioritybaseurl=http://mirrors.
ustc.
edu.
cn/fedora/linux/releases/$releasever/Everything/$basearch/os/mirrorlist=https://mirrors.
fedoraproject.
org/metalinkrepo=fedora-$releasever&arch=$basearchenabled=1metadata_expire=7dgpgcheck=1gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-$basearch[fedora-debuginfo]name=Fedora$releasever-$basearch-Debug-ustcfailovermethod=prioritybaseurl=http://mirrors.
ustc.
edu.
cn/fedora/linux/releases/$releasever/Everything/$basearch/debug/mirrorlist=https://mirrors.
fedoraproject.
org/metalinkrepo=fedora-debug-$releasever&arch=$basearchenabled=0metadata_expire=7dgpgcheck=1gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-$basearch1/3[fedora-source]name=Fedora$releasever-Source-ustcfailovermethod=prioritybaseurl=http://mirrors.
ustc.
edu.
cn/fedora/linux/releases/$releasever/Everything/source/SRPMS/mirrorlist=https://mirrors.
fedoraproject.
org/metalinkrepo=fedora-source-$releasever&arch=$basearchenabled=0metadata_expire=7dgpgcheck=1gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-$basearch第三步:将以下保存为fedora-updates-ustc.
repo[updates]name=Fedora$releasever-$basearch-Updates-ustcfailovermethod=prioritybaseurl=http://mirrors.
ustc.
edu.
cn/fedora/linux/updates/$releasever/$basearch/mirrorlist=https://mirrors.
fedoraproject.
org/metalinkrepo=updates-released-f$releasever&arch=$basearchenabled=1gpgcheck=1gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-$basearch[updates-debuginfo]name=Fedora$releasever-$basearch-Updates-Debug-ustcfailovermethod=prioritybaseurl=http://mirrors.
ustc.
edu.
cn/fedora/linux/updates/$releasever/$basearch/debug/mirrorlist=https://mirrors.
fedoraproject.
org/metalinkrepo=updates-released-debug-f$releasever&arch=$basearchenabled=0gpgcheck=1gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-$basearch[updates-source]name=Fedora$releasever-UpdatesSource-ustcfailovermethod=prioritybaseurl=http://mirrors.
ustc.
edu.
cn/fedora/linux/updates/$releasever/SRPMS/mirrorlist=https://mirrors.
fedoraproject.
org/metalinkrepo=updates-released-source-f$releasever&arch=$basearchenabled=0gpgcheck=1gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-$basearch2/3第四步:将fedora-ustc.
repo和fedora-updates-ustc.
repo放入/etc/yum.
repos.
d/中第五步:运行sudoyumcleanall和sudoyummakecache(当然,你是root用户就不要价sudo了)符:其他国内的更新源1.
搜狐的源进入网站http://mirrors.
sohu.
com/,在左边找到fedora目录,点击该行右边的help,然后下载fedora-sohu.
repo和fedora-updates-sohu.
repo,放入/etc/yum.
repos.
d/运行yummakecache生成缓存2.
163的源进入网站http://mirrors.
163.
com/,在左边找到fedora目录,点击改行右边的使用帮助,然后下载fedora-163.
repo和fedora-updates-163.
repo,放入/etc/yum.
repos.
d/运行yummakecache生成缓存运行命令ls/etc/yum.
repos.
d查看3.
上海交通大学的源http://ftp.
sjtu.
edu.
cn/fedora/linux/releases/(转载请注明:/archives/124,请不要用于商业目的.
)本博客文章除特别声明,全部都是原创!
原创文章版权归过往记忆大数据(过往记忆)所有,未经许可不得转载.
本文链接:【】()PoweredbyTCPDF(www.
tcpdf.
org)3/3

创梦网络-江苏宿迁BGP云服务器100G高防资源,全程ceph集群存储,安全可靠,数据有保证,防护真实,现在购买7折促销,续费同价!

官方网站:点击访问创梦网络宿迁BGP高防活动方案:机房CPU内存硬盘带宽IP防护流量原价活动价开通方式宿迁BGP4vCPU4G40G+50G20Mbps1个100G不限流量299元/月 209.3元/月点击自助购买成都电信优化线路8vCPU8G40G+50G20Mbps1个100G不限流量399元/月 279.3元/月点击自助购买成都电信优化线路8vCPU16G40G+50G2...

Megalayer(48元)新增 美国CN2优化线路特价服务器和VPS方案

Megalayer 商家算是新晋的服务商,商家才开始的时候主要是以香港、美国独立服务器。后来有新增菲律宾机房,包括有VPS云服务器、独立服务器、站群服务器等产品。线路上有CN2优化带宽、全向带宽和国际带宽,这里有看到商家的特价方案有增加至9个,之前是四个的。在这篇文章中,我来整理看看。第一、香港服务器系列这里香港服务器会根据带宽的不同区别。我这里将香港机房的都整理到一个系列里。核心内存硬盘IP带宽...

零途云月付31.9元起,香港cn2 gia线路

零途云是一家香港公司,主要产品香港cn2 gia线路、美国Cera线路云主机,美国CERA高防服务器,日本CN2直连服务器;同时提供香港多ip站群云服务器。即日起,购买香港/美国/日本云服务器享受9折优惠,新用户有优惠码:LINGTUYUN,使用即可打折。目前,零途云还推出性价比非常高香港多ip站群云服务器,有需要的,可以关注一下。零途云优惠码:优惠码:LINGTUYUN (新用户优惠,享受9折优...

fedora15为你推荐
站酷zcool有那位知道从哪个网站能下到广告素材sss17.comwww.com17com.com是什么啊?mole.61.com摩尔庄园的米米号和密码我都忘了 只记得注册的邮箱 怎么办-_-百度指数词什么是百度指数4400av.com在www.dadady.com 达达电影看片子很快的啊杨丽晓博客杨丽晓哪一年出生的?www.henhenlu.com有一个两位数,十位数字是个位数字的二分之一,将十位数字与个位数字对调,新的两位数比原来大36,这个两位数woshiheida这个左下角水印woshiheida的gif出处在哪呢?急!!!!!175qq.com查询QQ登录地址蜘蛛机器人在《红色警戒2共和国之辉》中,对付“蜘蛛机器人”的最好武器是什么?
免费域名空间 com域名注册1元 哈尔滨服务器租用 ipage 香港bgp机房 512m ssh帐号 租空间 台湾谷歌网址 华为网络硬盘 dd444 可外链网盘 ca187 重庆电信服务器托管 我的世界服务器ip 东莞服务器托管 秒杀品 华为k3 电信宽带测速软件 rewritecond 更多