I use HFS here as a Web server under the download chain to interview the end of the text
Extract the Repodata, package, and rpm-gpg-key-centos-7 three files from the Centos7 CD and place them in the Yum folder under the Web root directory
Do not extract with WinRAR, because the files extracted by winrar have no suffix name
can be ultraiso extracted.
Using WinRAR extraction comparison under Linux and under Windows
Configuring the Centos7 Yum Source
[Email protected] repodata]# cd/etc/yum.repos.d/
[Email protected] yum.repos.d]# MV Centos-base.repo Centos-base.repo.bak
[Base]
name=centos-$releasever-base
Baseurl=http://192.168.200.1/www/yum
Gpgcheck=1
Gpgkey=http://192.168.200.1/www/yum/rpm-gpg-key-centos-7
[email protected] ~]# Yum Clean all
[email protected] ~]# Yum list all
Link: http://pan.baidu.com/s/1jItAoC2 Password: BIRC
Windows builds HTTP local Yum source