当前位置: 首页 > wzjs >正文

专做茶叶的网站有没有专门做中考卷子的网站

专做茶叶的网站,有没有专门做中考卷子的网站,二手书交易网站开发背景分析,建立一个公司的网站CentOS7执行yum命令报错 引更新yum源备份原有源创建新的源文件清理并重建缓存 引 CentOS 7 系统无法连接到 CentOS 的官方镜像站点。这通常是由于网络问题或 CentOS 7 已停止维护导致的(2024年6月30日后 CentOS 7 已进入 EOL) 报错明细: 已…

CentOS7执行yum命令报错

  • 更新yum源
    • 备份原有源
    • 创建新的源文件
    • 清理并重建缓存

CentOS 7 系统无法连接到 CentOS 的官方镜像站点。这通常是由于网络问题或 CentOS 7 已停止维护导致的(2024年6月30日后 CentOS 7 已进入 EOL)

报错明细:

已加载插件:fastestmirror
Determining fastest mirrors
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; 未知的错误”
One of the configured repositories failed (未知),
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= …
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
or
subscription-manager repos --disable=
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=.skip_if_unavailable=true
Cannot find a valid baseurl for repo: base/7/x86_64

更新yum源

备份原有源

mkdir -p /etc/yum.repos.d/backup
mv /etc/yum.repos.d/CentOS-* /etc/yum.repos.d/backup/

创建新的源文件

cat > /etc/yum.repos.d/CentOS-Base.repo <<'EOF'
[base]
name=CentOS-7 - Base
baseurl=https://vault.centos.org/7.9.2009/os/x86_64/
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7
enabled=1[updates]
name=CentOS-7 - Updates
baseurl=https://vault.centos.org/7.9.2009/updates/x86_64/
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7
enabled=1[extras]
name=CentOS-7 - Extras
baseurl=https://vault.centos.org/7.9.2009/extras/x86_64/
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7
enabled=1
EOF

清理并重建缓存

yum clean all
yum makecache
http://www.dtcms.com/wzjs/833133.html

相关文章:

  • 江宁营销型网站建设安徽省建设监理有限公司网站
  • 上海p2p网站建设cida室内设计师资格证
  • 网站设置在哪里找农产品现货交易平台
  • 推广app的软文案例宁波谷歌seo推广
  • 做微秀的网站自动写论文神器app
  • 网站开发技术可行性为公司建设网络强国
  • 捷讯官网 网站建设中国3大做外贸的网站
  • 数字镭网站开发wordpress新建网站后台无法登陆
  • 网站限定域名辽宁建设工程信息网执业人员
  • 做网站的入门书籍织梦网站首页
  • 深圳设计网站速成班运维是做什么的
  • 做电商网站一般要多少钱深圳网站制作作
  • 学生空间建设网站医疗网站整站优化思路
  • asp.net 音乐网站开发教育类网站设计
  • 什么网站做专利检索报告贵州建网站的公司
  • 网络网站是多少钱做网站的工作流程
  • 网络营销和网站推广的区别京东网站建设流程和结构图
  • 新的网站建设一般多少钱酒店做网站的目的
  • 漳州市网站建设费用wordpress后台管理界面地址
  • 做网站是不是需要服务器360网站名片怎么做
  • dedecms关闭网站网站做好后怎么更新内容
  • 淘宝客做网站怎么赚钱男男互做网站
  • 找工作哪个网站好2022北京平面设计公司排名
  • 专业团队高端网站制作菏泽城乡建设局官网
  • 网站建设征求意见的通知建立网站教程
  • 用手机怎么看自己做的网站郑州网站优化关键词
  • 网站开发的语言有什么软件网站栏目推介怎么做
  • 江镇做包子网站qq邮箱登录手机版网页
  • 网站使用费用佛山网站外包
  • 对网站建设建议哪个网站可以做电子档的邀请函