linux - CentOS 6.9 yum 和 yum 更新都不起作用

标签 linux ping centos6

我对 Linux 和 VDS 完全陌生。 VDS的操作系统是CentOS 6.9。我正在尝试安装apache、邮件服务器、php、mysql等。但我认为,要能够安装这些 'yum update''ping google' 需要工作。我想知道问题是什么。我有以下配置和错误: enter image description here

enter image description here enter image description here

enter image description here

最佳答案

您检查过网络连接吗?导致此错误的原因可能有很多。

尝试“ping 8.8.8.8”以确保这不是网络连接问题。 尝试“ping www.google.com”以确保这不是与 DNS 相关的问题。

如果它们都有效,则您的镜像列表可能有问题。尝试“yum clean all”和“yum update”。

关于linux - CentOS 6.9 yum 和 yum 更新都不起作用,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/49208945/

相关文章:

Java InetAddress.isReachable() 超时

linux - 在 CentOs 上使用 mv 移动文件时出错

linux centos 6.7 pip3安装

linux - 递归查找所有不以注释开头的php文件

amazon-web-services - AWS : Can't ping from VPN to instance in other region

python - 使用 Python 解析 ping 输出

javascript - Coturn/turnserver : error 437: Mismatched allocation: wrong transaction ID (WebRTC)

linux - 如何为我找到的每个文件执行多个命令

c++ - CAN 套接字读取帧延迟

python - 在 CentOS 7 上构建 Tensorflow 时出错