久久精品五月,日韩不卡视频在线观看,国产精品videossex久久发布 ,久久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號
久久精品五月,日韩不卡视频在线观看,国产精品videossex久久发布 ,久久av综合
97欧美在线视频| av一区在线| 国产视频一区三区| 欧美日韩精品一区二区视频| 久久一级电影| 婷婷成人基地| 99在线|亚洲一区二区| 亚洲特色特黄| 美女精品在线观看| 亚洲精品乱码久久久久久蜜桃麻豆 | 日本久久精品| av日韩中文| 久久国产影院| 国产精品试看| 在线看片日韩| 久久国产精品免费精品3p | 免费在线看一区| 欧美一级二级视频| 精品黄色一级片| 久久高清免费| 亚洲专区视频| 欧美成人精品一级| 久久青草久久| 在线精品视频一区| 亚洲精品伊人| 国产精品xxx| 亚洲欧洲av| 国产精品日本欧美一区二区三区| 久久国产人妖系列| 久久久久九九精品影院| 99精品在线免费在线观看| 91看片一区| 丝袜美腿亚洲一区| 毛片在线网站| 国产免费播放一区二区| 一区三区视频| 日韩在线精品| 日韩一区二区三区精品| 国产毛片一区二区三区| 99久久久久国产精品| 日韩在线一二三区| 你懂的亚洲视频| 亚洲国产影院| 欧美一区影院| 99成人超碰| 日韩三区四区| 日本免费一区二区三区四区| 久久久影院免费| 亚洲精品高潮| 亚洲啊v在线| 色婷婷成人网| 亚洲精品一区三区三区在线观看| 老司机久久99久久精品播放免费| 国产精品**亚洲精品| 精品捆绑调教一区二区三区| 蜜桃一区二区三区在线观看| 卡一精品卡二卡三网站乱码| 午夜精品亚洲| 精品91福利视频| 免费久久99精品国产自在现线| 免费看一区二区三区| 国产视频亚洲| 国产高清亚洲| 麻豆亚洲精品| 亚洲天堂免费电影| 国产午夜精品一区在线观看| 婷婷成人综合| 国产精品亲子伦av一区二区三区| 欧美性感美女一区二区| 国产精品传媒麻豆hd| 久久av在线| 日韩中文在线播放| 国产精品任我爽爆在线播放| 亚洲欧美日韩在线观看a三区| 国产精品久久久久久久久妇女| 伊人成人在线视频| 中文字幕高清在线播放| 中文字幕av亚洲精品一部二部 | 国产精品分类| 亚洲综合中文| 日韩av免费| 午夜国产一区二区| 丝袜美腿亚洲色图| 亚洲ab电影| 国产欧美日韩视频在线| 中文久久精品| 美女久久一区| 蜜桃精品在线| 麻豆精品蜜桃视频网站| 亚洲精品自拍| 国产精品久久久久av电视剧| 久久国产麻豆精品| 蜜桃视频在线观看一区二区| 久久久久亚洲| 中文字幕高清在线播放| 免费精品一区| 久久国产精品免费精品3p| 日韩专区欧美专区| 在线观看视频免费一区二区三区| 99成人在线视频| 在线手机中文字幕| 国产+成+人+亚洲欧洲在线| 日韩不卡手机在线v区| 亚洲综合丁香| 久久精品国产大片免费观看| 免费亚洲婷婷| 国产乱码精品一区二区亚洲| 日韩一区二区三免费高清在线观看| 国产视频久久| 亚洲欧洲午夜| 五月天av在线| 欧美日韩激情在线一区二区三区| 国产不卡人人| 国产乱码精品| 日本在线成人| 欧美一区=区三区| 亚洲精品欧美| 亚洲伊人精品酒店| 六月婷婷一区| 亚洲综合精品四区| 日韩一区二区三区在线免费观看| 福利精品一区| 高清久久精品| 92国产精品| 欧美精品高清| 欧美成人基地| 久久精品99久久无色码中文字幕| 国产精品久久久久av电视剧| 麻豆视频在线观看免费网站黄 | 日韩高清一区| 欧美一级一区| 久久99蜜桃| 欧美国产极品| 精品国产亚洲一区二区三区大结局| 美女久久精品| 98精品久久久久久久| 亚洲国产成人二区| 久久精选视频| 99热精品在线| 亚洲欧美在线综合| 国产一精品一av一免费爽爽| 久久不见久久见中文字幕免费| 久久精品国产99国产| 蜜臀国产一区| 亚洲欧美日韩视频二区| 日本亚洲欧美天堂免费| 国产探花在线精品| 九九久久国产| 福利一区视频| 激情久久五月| 石原莉奈在线亚洲三区| 欧美日韩视频免费看| 欧美国产另类| 久久国产毛片| 蜜臀精品久久久久久蜜臀| 欧美日韩亚洲一区三区| 精品一区二区三区中文字幕| 日韩亚洲一区在线| 制服诱惑一区二区| 国产乱人伦精品一区| 黄色aa久久| 欧美高清一区| 日韩av中文字幕一区| 国产精品久久久久久妇女| 成人av三级| 视频一区国产视频| 国产精品1区| 国产一区日韩一区| 日韩精品免费视频人成| 久久99国产精品视频| 亚洲小说欧美另类婷婷| 日韩欧美四区| 日韩精品dvd| 亚洲精品高潮| 红杏一区二区三区| 亚洲自拍另类| 日韩精品社区| 亚洲精品97| 美腿丝袜亚洲三区| 久久天堂影院| 亚洲特色特黄| 蜜臀av亚洲一区中文字幕| 丰满少妇一区| 国产日韩一区二区三区在线| 精品久久电影| 蜜桃久久久久久久| 日本电影久久久| 亚洲综合欧美| 天堂久久av| 水蜜桃久久夜色精品一区的特点| 青青伊人久久| 日韩中文欧美| 欧美日韩免费观看视频| av亚洲免费| 国产精品久久久久久妇女| 欧美日韩第一| 精品色999| 亚洲三区欧美一区国产二区| 日韩在线视频精品| 国产亚洲精aa在线看|