Created
June 8, 2017 14:31
-
-
Save yoshiya54/0c277d8b6442c76e7404e6160b1af01f to your computer and use it in GitHub Desktop.
Vagrantのyumでハマった。 ref: http://qiita.com/yoshiya64/items/99efd0e95c395ae729bf
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[base] | |
name=CentOS-$releasever - Base | |
#mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=os&infra=$infra | |
baseurl=http://mirror.centos.org/centos/$releasever/os/$basearch/ | |
gpgcheck=1 | |
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[base] | |
name=CentOS-$releasever - Base | |
mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=os&infra=$infra | |
#baseurl=http://mirror.centos.org/centos/$releasever/os/$basearch/ | |
gpgcheck=1 | |
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[root@localhost ~]# yum -y install httpd | |
Geladene Plugins: fastestmirror | |
base | 3.6 kB 00:00:00 | |
Could not retrieve mirrorlist http://mirrorlist.centos.org/?release=7&arch=x86_64&repo=extras&infra=stock error was | |
14: curl#52 - "Empty reply from server" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment