CentOSはインターネットに接続されていますが、更新されません。

CentOSはインターネットに接続されていますが、更新されません。

VMware Workstation 9にCentOS 6.3、OpenSUSE 12.1、Ubuntu 12.04をインストールしました。これらのいずれかを使用してネットワーク接続を確認するとping正解が表示されましたが、およびを使用して更新しようとすると、yumすべて「ストアに接続できません」などのエラーメッセージが返されます。yastapt-get

私はOSとVMwareのネットワーク設定を変更し続けましたが、何も起こりませんでした。

また、CentOS(およびおそらく他のOS)ではFirefoxを使用してインターネットにアクセスできず、wgetを使用してyahoo.comなどのページをインポートすることもできません。 "Connecting to yahoo.com (yahoo.com)|98.138.253.109 :80...失敗: 接続が拒否されました。"

Ubuntuで私はこれを見ました/見ました:

root@ubuntu:~# apt-get update
Err http://packages.mate-desktop.org precise InRelease
Err http://packages.mate-desktop.org precise Release.gpg
  Unable to connect to packages.mate-desktop.org:http:
Err http://extras.ubuntu.com precise InRelease
Err http://extras.ubuntu.com precise Release.gpg
  Unable to connect to extras.ubuntu.com:http:
Err http://ppa.launchpad.net precise InRelease
Err http://ppa.launchpad.net precise Release.gpg
  Unable to connect to ppa.launchpad.net:http:
Err http://security.ubuntu.com precise-security InRelease      
Err http://security.ubuntu.com precise-security Release.gpg
  Unable to connect to security.ubuntu.com:http:
Err http://us.archive.ubuntu.com precise InRelease
Err http://us.archive.ubuntu.com precise-backports InRelease
Err http://us.archive.ubuntu.com precise-updates InRelease
Err http://us.archive.ubuntu.com precise Release.gpg
  Unable to connect to us.archive.ubuntu.com:http: [IP: 91.189.91.14 80]
Err http://us.archive.ubuntu.com precise-backports Release.gpg
  Unable to connect to us.archive.ubuntu.com:http: [IP: 91.189.91.14 80]
Err http://us.archive.ubuntu.com precise-updates Release.gpg
  Unable to connect to us.archive.ubuntu.com:http: [IP: 91.189.91.14 80]
Reading package lists... Done
W: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/precise/InRelease
W: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/precise-backports/InRelease
W: Failed to fetch http://extras.ubuntu.com/ubuntu/dists/precise/InRelease
W: Failed to fetch http://packages.mate-desktop.org/repo/ubuntu/dists/precise/InRelease
W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/precise-security/InRelease    
W: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/precise-updates/InRelease    
W: Failed to fetch http://ppa.launchpad.net/xubuntu-dev/xfce-4.10/ubuntu/dists/precise/InRelease    
W: Failed to fetch http://packages.mate-desktop.org/repo/ubuntu/dists/precise/Release.gpg  Unable to connect to packages.mate-desktop.org:http:    
W: Failed to fetch http://extras.ubuntu.com/ubuntu/dists/precise/Release.gpg  Unable to connect to extras.ubuntu.com:http:    
W: Failed to fetch http://ppa.launchpad.net/xubuntu-dev/xfce-4.10/ubuntu/dists/precise/Release.gpg  Unable to connect to ppa.launchpad.net:http:    
W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/precise-security/Release.gpg  Unable to connect to security.ubuntu.com:http:    
W: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/precise/Release.gpg  Unable to connect to us.archive.ubuntu.com:http: [IP: 91.189.91.14 80]
W: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/precise-backports/Release.gpg  Unable to connect to us.archive.ubuntu.com:http: [IP: 91.189.91.14 80]    
W: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/precise-updates/Release.gpg  Unable to connect to us.archive.ubuntu.com:http: [IP: 91.189.91.14 80]
W: Some index files failed to download. They have been ignored, or old ones used instead.

ベストアンサー1

一部のプロキシ/ネットワークポリシーがこれをブロックしている可能性があります。

Ubuntu / Debianの場合は試してみることができますapt-getでhttpプロキシを使用するための命令セットhttpプロキシがあることを知っていれば。

Fedora /セントOSの場合yumをプロキシとして使用するための命令セット

またはこれはアスターのためです。

実際にこれが代理人の問題なら。

おすすめ記事