CentOS5.5 modify yum source to local disc install: two files under www.2cto.com/etc/yum.repos.dcentos-base.repo (networked installation) CentOS-Media.repo (local Source) modify CentOS-Media.repo [c5-media] nameCent...
CentOS 5.5 modify the yum source to the local disc and change the yum source to the local disc for installation: www.2cto.com/etc/yum. repos. d two file CentOS-Base.repo (networked installation) CentOS-Media.repo (local Source) modify CentOS-Media.repo [c5-media] name = CentOS-$ releasever-Media baseurl = file: /// media/Here is the Mount Directory (Mount point). do not make a mistake !!! Gpgcheck = 1 # enabled = 0. I have commented it out. I don't know if there is any comment. Can I use it? Gpgkey = file: // etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-5 do not comment out, otherwise the following yum prompt no KEY !!! Www.2cto.com execute yum -- disablerepo = \ * -- enablerepo = c5-media install perl * to install the relevant components on the CD !!! Here I understand: directly yum, will execute the configuration in the CentOS-Base.repo, using the yum method above, will be installed from the local CD.
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service