Warning: file_get_contents(/data/phpspider/zhask/data//catemap/1/visual-studio-2012/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
yum安装命中HTTP 403错误? 发行说明:_Http_Yum_Centos7 - Fatal编程技术网

yum安装命中HTTP 403错误? 发行说明:

yum安装命中HTTP 403错误? 发行说明:,http,yum,centos7,Http,Yum,Centos7,使用以下命令在CentOS7上安装软件包: yum install <package_name> 其他信息 有些事可能有关联 我在/etc/yum.conf中的config中添加了以下两个 timeout=9999 minrate=0 我添加它们是因为有时我会点击太慢或超时错误。如果我从配置中删除这两个,错误将被替换为 # yum install httpd Loaded plugins: fastestmirror http://centos-distro.1gservers

使用以下命令在CentOS7上安装软件包:

yum install <package_name>
其他信息 有些事可能有关联 我在/etc/yum.conf中的config中添加了以下两个

timeout=9999
minrate=0
我添加它们是因为有时我会点击太慢超时错误。如果我从配置中删除这两个,错误将被替换为

# yum install  httpd
Loaded plugins: fastestmirror
http://centos-distro.1gservers.com/7.2.1511/os/x86_64/repodata/repomd.xml: [Errno 12] Timeout on http://centos-distro.1gservers.com/7.2.1511/os/x86_64/repodata/repomd.xml: (28, 'Operation too slow. Less than 1000 bytes/sec transferred the last 30 seconds')
Trying other mirror.
错误消息确实提供了一个链接。但该链接只能由RedHat支持帐户读取。我试着用谷歌搜索这个,但结果要么与此无关,要么无法解决我的问题。Stack overflow也有一篇关于此的帖子。但这也无济于事


有人能给我一些建议吗?

我解决了这个问题。这是因为我实验室的某个外部第三方防火墙阻止了我

虽然根本原因不是很有意义,但故障排除的方法值得一提参考

故障排除 上面写着403的网址。因此,我将使用下面的命令从我的计算机访问该url

curl -i <url>

所以。。。这是我实验室的一个网络问题

这个问题不是关于编程的,实际上是关于堆栈溢出的,不是堆栈溢出的。谢谢这篇文章。
# yum install  httpd
Loaded plugins: fastestmirror
http://centos-distro.1gservers.com/7.2.1511/os/x86_64/repodata/repomd.xml: [Errno 12] Timeout on http://centos-distro.1gservers.com/7.2.1511/os/x86_64/repodata/repomd.xml: (28, 'Operation too slow. Less than 1000 bytes/sec transferred the last 30 seconds')
Trying other mirror.
curl -i <url>
your orgainization firewall block you