gmnon.cn-疯狂蹂躏欧美一区二区精品,欧美精品久久久久a,高清在线视频日韩欧美,日韩免费av一区二区

站長資訊網(wǎng)
最全最豐富的資訊網(wǎng)站

centos7 yum fastestmirror不能使用怎么辦

下面由centos基礎(chǔ)教程欄目給大家介紹centos7 yum fastestmirror不能使用的解決辦法,希望對需要的朋友有所幫助!

centos7 yum fastestmirror不能使用怎么辦

centos7 yum fastestmirror不能使用

[root@localhost ~]# yum install lrzsz Loaded plugins: fastestmirror Could not retrieve mirrorlist http://mirrorlist.centos.org/?release=7&arch=x86_64&repo=os&infra=stock error was 14: curl#6 - "Could not resolve host: mirrorlist.centos.org; Unknown error"

==================================================

第一步:

[root@localhost ~]# vi  /etc/yum/pluginconf.d/fastestmirror.conf  [main] enabled=1//把1改為0   verbose=0 always_print_best_host = true socket_timeout=3 #  Relative paths are relative to the cachedir (and so works for users as well # as root). hostfilepath=timedhosts.txt maxhostfileage=10 maxthreads=15 #exclude=.gov, facebook #include_only=.nl,.de,.uk,.ie

============================================

第二步:

[root@localhost ~]# vi /etc/yum.conf [main] cachedir=/var/cache/yum/$basearch/$releasever keepcache=0 debuglevel=2 logfile=/var/log/yum.log exactarch=1 obsoletes=1 gpgcheck=1 plugins=1//將plugins的值修改為0 installonly_limit=5 bugtracker_url=http://bugs.centos.org/set_project.php?project_id=23&ref=http://bugs.centos.org/bug_report_page.php?category=yum distroverpkg=centos-release #  This is the default, if you make this bigger yum won't see if the metadata # is newer on the remote and so you'll "gain" the bandwidth of not having to # download the new metadata and "pay" for it by yum not having correct # information. #  It is esp. important, to have correct metadata, for distributions like # Fedora which don't keep old packages around. If you don't like this checking # interupting your command line usage, it's much better to have something # manually check the metadata once an hour (yum-updatesd will do this). # metadata_expire=90m # PUT YOUR REPOS HERE OR IN separate files named file.repo # in /etc/yum.repos.d

=============================================

繼續(xù)運行,出現(xiàn)如下錯誤

[root@localhost ~]# yum install lrzsz Could not retrieve mirrorlist http://mirrorlist.centos.org/?release=7&arch=x86_64&repo=os&infra=stock error was 14: curl#6 - "Could not resolve host: mirrorlist.centos.org; Unknown error"  One of the configured repositories failed (Unknown),  and yum doesn't have enough cached data to continue. At this point the only  safe thing yum can do is fail. There are a few ways to work "fix" this:

1. Contact the upstream for the repository and get them to fix the problem.

2. Reconfigure the baseurl/etc. for the repository, to point to a working

upstream. This is most often useful if you are using a newer

distribution release than is supported by the repository (and the

packages for the previous distribution release still work).

3. Run the command with the repository temporarily disabled

yum –disablerepo=<repoid> …

4. Disable the repository permanently, so yum won't use it by default. Yum

will then just ignore the repository until you permanently enable it

again or use –enablerepo for temporary usage:

yum-config-manager –disable <repoid>

or

subscription-manager repos –disable=<repoid>

5. Configure the failing repository to be skipped, if it is unavailable.

Note that yum will try to contact the repo. when it runs most commands,

so will have to try and fail each time (and thus. yum will be be much

slower). If it is a very temporary problem though, this is often a nice

compromise:

yum-config-manager –save –setopt=<repoid>.skip_if_unavailable=true

Cannot find a valid baseurl for repo: base/7/x86_64

==============================================

原因:沒有配置resolv.conf

解決方法:

到/etc目錄下配置resolv.conf加入nameserver IP,如:

[root@localhost ~]# vi /etc/resolv.conf nameserver 8.8.8.8 nameserver 8.8.4.4 search localdomain

保存再次運行命令就可以。

贊(0)
分享到: 更多 (0)
?
網(wǎng)站地圖   滬ICP備18035694號-2    滬公網(wǎng)安備31011702889846號
gmnon.cn-疯狂蹂躏欧美一区二区精品,欧美精品久久久久a,高清在线视频日韩欧美,日韩免费av一区二区
国产精品亚洲αv天堂无码| 欧美亚洲日本一区二区三区| 99热在线这里只有精品| 欧美性受黑人性爽| 中文字幕线观看| 天天干天天干天天干天天干天天干| 国产91视频一区| 国产一二三四区在线观看| 在线观看免费视频污| 国产永久免费网站| 色偷偷中文字幕| www.亚洲一区二区| 潘金莲一级淫片aaaaa免费看| www.亚洲高清| av噜噜在线观看| 黄色免费高清视频| 91香蕉视频导航| 8x8x成人免费视频| 午夜探花在线观看| 免费看毛片的网址| 国产在线青青草| 久久撸在线视频| 丰满女人性猛交| 久久亚洲国产成人精品无码区| 欧美美女黄色网| 久操手机在线视频| av在线观看地址| 无码人妻精品一区二区三区在线| 毛片av在线播放| 北条麻妃在线观看| 国产精品自在自线| 国产精品久久久久久久久电影网| 国产欧美精品aaaaaa片| 国产亚洲欧美在线视频| 最新中文字幕2018| 无颜之月在线看| 欧美性猛交久久久乱大交小说 | 日本不卡一区二区三区四区| 热久久最新地址| 免费日韩中文字幕| 无码毛片aaa在线| 中文字幕无码不卡免费视频| 久久久国产精华液999999 | 久久香蕉视频网站| 日韩无套无码精品| 欧美性猛交内射兽交老熟妇| 日韩手机在线观看视频| 潘金莲一级淫片aaaaa免费看| 日韩黄色片视频| 欧美一级免费在线观看| 国产精品99久久免费黑人人妻| 亚洲图色中文字幕| 久久久一本二本三本| 少妇网站在线观看| 成人综合视频在线| 久久久一二三四| 成人午夜激情av| 老太脱裤子让老头玩xxxxx| 亚洲另类第一页| 欧美日韩在线观看不卡| 香港三级韩国三级日本三级| 国产精品夜夜夜爽张柏芝| www.色偷偷.com| 亚洲国产精品久久久久婷蜜芽| 欧美日韩中文字幕在线播放| 婷婷免费在线观看| www.色就是色| 免费黄色一级网站| 五月婷婷激情久久| 美女一区二区三区视频| av网站手机在线观看| 日韩成人午夜影院| 久久婷婷中文字幕| 久久久一二三四| 粉嫩av一区二区三区天美传媒 | 国产成人美女视频| 亚洲天堂网2018| 欧美一级xxxx| www.久久com| 精品视频在线观看一区二区| 久久最新免费视频| 97久久国产亚洲精品超碰热 | 黄色一级视频播放| 国产精品国三级国产av| 99er在线视频| 国产成人久久婷婷精品流白浆| 青青草精品视频在线| 国产天堂视频在线观看| 免费高清在线观看免费| 国产免费999| 伊人国产精品视频| 日韩 欧美 视频| 青青视频在线播放| 九九九九九伊人| 国产高清免费在线| 日本一本中文字幕| 黄www在线观看| 日本高清久久久| 成人免费性视频| 九色91popny| 亚洲激情免费视频| 亚洲天堂av线| 国产综合中文字幕| 91pony九色| www国产黄色| 超碰免费在线公开| 欧美韩国日本在线| a在线观看免费视频| 亚洲网中文字幕| www.爱色av.com| 精品国产乱码久久久久久1区二区| 超级碰在线观看| 99色精品视频| 午夜福利123| 色片在线免费观看| 免费一级特黄毛片| 天天做天天干天天操| koreanbj精品视频一区| www.超碰97.com| 国产视频一区二区三区在线播放| 日韩国产精品毛片| www.污污视频| 国产1区2区在线| 久久无码高潮喷水| 蜜臀av色欲a片无码精品一区| 小早川怜子一区二区三区| 国产三级日本三级在线播放 | 中国黄色片免费看| 精品国产成人av在线免| 日韩黄色短视频| www成人免费| 777久久精品一区二区三区无码 | 色哺乳xxxxhd奶水米仓惠香| 亚洲免费av一区二区三区| 国产欧美在线一区| 男人日女人bb视频| 无码播放一区二区三区| 老太脱裤子让老头玩xxxxx| 欧美一级片免费播放| 九一免费在线观看| 精品久久久久久无码中文野结衣| 国产911在线观看| 国产内射老熟女aaaa| 国产制服91一区二区三区制服| 国产盗摄视频在线观看| 伊人色在线视频| 九九九九九国产| 一级黄色录像免费看| 一级黄色片播放| 久久亚洲精品无码va白人极品| 国产一级片91| 久久人人爽人人爽人人av| 妞干网在线播放| aa在线免费观看| 中文字幕中文在线| 伊人网在线免费| 干日本少妇首页| 99爱视频在线| 国产成人美女视频| 拔插拔插海外华人免费| 美女福利视频在线| 极品粉嫩美女露脸啪啪| 国产美女主播在线| 一区二区三区免费播放| 毛片毛片毛片毛片毛| 久久久久久久久久久99| 最近免费中文字幕中文高清百度| 日本女优爱爱视频| 天美一区二区三区| 欧美日韩亚洲一| 久久这里只精品| 18岁网站在线观看| 亚洲高清视频免费| 国产麻花豆剧传媒精品mv在线| 欧美大片久久久| 日本不卡在线观看视频| 欧美日韩一区二区三区电影| 免费成人在线视频网站| 肉色超薄丝袜脚交| 精品欧美一区免费观看α√| 国产区二区三区| 蜜臀久久99精品久久久酒店新书| 国内外成人激情免费视频| 妺妺窝人体色777777| 国产四区在线观看| 亚洲欧美天堂在线| 不卡av免费在线| 国产麻花豆剧传媒精品mv在线| 欧美少妇一区二区三区| mm131国产精品| 亚洲熟妇av一区二区三区| 妺妺窝人体色www看人体| 超碰在线超碰在线| 97视频在线免费播放| 欧美无砖专区免费| 男的插女的下面视频| 国产黄色激情视频| 香蕉视频免费版| 欧美日韩亚洲国产成人| 国产在线视频三区|