VMware Workstation 9에 CentOS 6.3, OpenSUSE 12.1 및 Ubuntu 12.04를 설치했습니다. 이들 중 하나를 사용하여 네트워크 연결을 확인하면 ping
정답을 받았지만 , 및 을 사용하여 업데이트하려고 하면 yum
모두 "저장소에 연결할 수 없습니다."와 같은 오류 메시지가 반환됩니다.yast
apt-get
OS와 VMware의 네트워크 설정을 계속해서 변경했는데 아무 일도 일어나지 않았습니다.
또한 CentOS(및 아마도 다른 OS)에서는 Firefox를 사용하여 인터넷에 액세스할 수 없으며 wget을 사용하여 yahoo.com과 같은 페이지를 가져올 수도 없습니다. "Connecting to yahoo.com (yahoo.com)|98.138.253.109 :80...실패: 연결이 거부되었습니다."
우분투에서 나는 이것을 보았습니다/보았습니다:
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
일부 프록시/네트워크 정책이 이를 차단하고 있을 수 있습니다.
우분투/데비안의 경우 시도해 볼 수 있습니다apt-get과 함께 http 프록시를 사용하기 위한 지침 세트http 프록시가 있다는 것을 알고 있다면.
페도라/센트OS의 경우yum을 프록시로 사용하기 위한 지침 세트.
실제로 이것이 대리인 문제라면.