RHEL6.3 create a local YUM source 1. mounting ISOmkdir-p/mnt/rhel # requires an ISO image mount-tiso9660-oloop/software/rhel-server-6.3-x86_64-dvd.iso/mnt/rhel2. create your own repo file vi/etc/yum. repos. d/loca... RHEL6.3 create a local YUM source 1. mounting ISO mkdir-p/mnt/rhel # an ISO image mount-t iso9660-o loop/software/rhel-server-6.3-x86_64-dvd.iso/mnt/rhel 2 is required. create your own repo file vi/etc/yum. repos. d/local. repo [local] name = localbaseurl = file: // mnt/rhelenabled = 1 gpgcheck = 0 3. modify yumRepo. py file vi/usr/lib/python2.6/site-packages/yum/yumRepo. change py to remote = url + '/' + relative to remote = url + '/local_yum_source' + relative 4. now you can use the local YUM to install the software yum-y install xxx
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