Although the latest version of Fedora is now 20, the company requires Fedora 12.
Foreign Yum source site speed is too slow, the domestic mirror (163,sohu) only Fedora17 after the image.
The solution is to create a local Yum source using the Fedora installation CD.
1) Copy files from CD to hard disk mkdir-p/back/soft/cp/media/fedora\ 12\ i386\ dvd/back/soft mv/back/soft/ Fedora\ 12\ i386\ Dvd/back/soft/fedora12
2) Configure local yum repository cd/etc/yum.repos.d mkdir ~/repos mv * ~/repos VI Fedora-iso.repo-------------- --------------------------------------------------------
[DVD]
Name=fedora-iso
baseurl=file:///back/soft/fedora12/
Enabled=1
Gpgcheck=0
Gpgkey=file:///back/soft/fedora12/rpm-gpg-key-fedora File:///etc/pki/rpm-gpg/RPM-GPG-KEY
--------------------------------------------------------------------------------
2) Configure finished
Can test install Samba server yum install Samba