How to Use Yum to update via ISO Image

Source: Internet
Author: User
Article Title: How to Use Yum to update using an ISO image. Linux is a technology channel of the IT lab in China. Including desktop applications, Linux system management, kernel research, embedded systems, open source, and other basic categories in the/etc/yum. repos. d directory. Repo repository files are all downloaded from the Internet. Therefore, we define our own ISO repository.

[ISO]

Baseurl = file: // media/ISO

Gpgkey = file: // media/ISO/RPM-GPG-KEY-fedora-test

File: /// media/ISO/RPM-GPG-KEY

Failovermethod = priority

Enabled = 1

Gpgcheck = 0

Add the preceding content to/etc/yum. repos. d/iso. repo.

Then yum update will include all our fc5_i1__dvd software. You can use yum install to automatically resolve dependencies between packages, which is very powerful.

However, we cannot use the optical drive cd every time. The long-term insertion of the CD will affect our "love drive". Solution: Make the dvd into an ISO image.

In Linux, run cp/dev/cdrom/root/system. iso.

UltraIso is recommended for Windows.

In the virtual machine, set this system. iso as the source of the optical drive.

If you think it is difficult to load system. iso every time, you can add the same content to/etc/fstab.

/Root/system. iso/mnt/cdrom iso9660 noauto, ro, user 0 0
Related Article

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.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.