Rhel5.8 ISO yum source configuration, rhel5.8isoyum Source

Source: Internet
Author: User
Tags gpg

Rhel5.8 ISO yum source configuration, rhel5.8isoyum Source

[Root @ lei1 mnt] # mkdir/mnt/iso [root @ lei1 mnt] # mkdir/mnt/cdrom [root @ lei1 ~] # Mv rhel-server-5.8-x86_64-dvd.iso/mnt/iso [root @ lei1 ~] # Cd/mnt/iso [root @ lei1 iso] # lltotal 4032884-rw-r -- r -- 1 root 4125638656 May 28 rhel-server-5.8-x86_64-dvd.iso [root @ lei1 iso] # mount-o loop/mnt/ iso/rhel-server-5.8-x86_64-dvd.iso/mnt/cdrom [root @ lei1 iso] # df-hFilesystem Size Used Avail Use % Mounted on/dev/mapper/VolGroup00-LogVol00 872G 12G 815G 2%/dev /sda1 190 M 13 M 168 M 7%/boottmpfs 2.0G 0 2.0G 0%/dev/shm/mnt/iso/rhel-server-5.8-x86_64-dvd.iso 3.9G 3.9G 0 100%/mnt/cdrom [root @ lei1 iso] # [root @ lei1 yum. repos. d] # cat/etc/yum. repos. d/rhel-debuginfo.repo [rhel-debuginfo] name = Red Hat Enterprise Linux $ releasever-$ basearch-Debugbaseurl = file: /// mnt/cdrom/Server ----> modify here to the appropriate path enabled = 1 ----> change here to 1 gpgcheck = 1 gpgkey = file: /// etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release [root @ lei1 yum. repos. d] #


Related Article

E-Commerce Solutions

Leverage the same tools powering the Alibaba Ecosystem

Learn more >

Apsara Conference 2019

The Rise of Data Intelligence, September 25th - 27th, Hangzhou, China

Learn more >

Alibaba Cloud Free Trial

Learn and experience the power of Alibaba Cloud with a free trial worth $300-1200 USD

Learn more >

Contact Us

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.