Linux configuration Yum Source
First, modify the Yum configuration file
/etc/yum.repos.d/xxx.repo
1. Enter the Yum configuration file directory
# CD/ETC/YUM.REPOS.D
2, delete all the original files
# RM-RF *
3. Create a new Yum configuration file
# VI My.repo
[Myrepo] Identity profile name (name optional)
Name=myrepo identify the Yum repository name (name optional)
Enabled=1 defines whether this software warehouse is valid
Baseurl=/mnt defining the location of the software warehouse
Gpgcheck=0 define whether a security check is performed
Second, mount the CD-ROM to the software warehouse
1. Mount the CD to MNT
# mount/dev/cdrom/mnt
2, check the documents under the MNT
# ls/mnt
Third, test Yum success
#yum repolist
(Detect the number of software in the software warehouse)
Yum is well-equipped for Yum to install.
Author: Xiaoxiang Rain Wrong
Installation artifact--yum source installation in Linux