Use the local iso cd as the Fedora software source for software management

Source: Internet
Author: User
Article Title: The local ISO disc is used as the Fedora software source for software management. Linux is a technology channel of the IT lab in China. Includes basic categories such as desktop applications, Linux system management, kernel research, embedded systems, and open source.

1) create a file directory (that is, a folder ). [You can also choose not to create. We can use the existing file directory, such as the mnt file directory] But I still created a file directory.

Command: mkdir/localiso

2) create one or more directories under this directory, for example, I use mkdir/localiso/dvd

3) mount the disc to this directory and run the following command: mount/dev/dvd/localiso/dvd.

4) Go To The/etc file directory, find the yum. conf file, open it, and add the following content at the end:

[ISO]

Name = local

Baseurl = file: // localiso/dvd

Gpgcheck = 0

Save and exit

{Note: Do not do this. You can add a file named local. repo in the/etc/yum. repos. d directory and enter the following content to open the file:

[Iso]

Name = local

Baseurl = file: // localiso/dvd

Enabled = 1

Gpgcheck = 0

Save and exit. In fact, I think this method may be better.

}

5) Open the software library management and turn off some default software libraries.

{You can also open several files under/etc/yum. repos. d, and change enabled = to 1 next to 0}

Click "Add/delete software" to manage the software administrator.

Note:

In fact, by default, fedora 8 has a software library that is a local installation CD. It is generally the first option in the software library management, as long as it is selected, when you turn off other services [when you cannot connect to the Internet], you can perform corresponding operations. However, if you do not have a CD, you can use a local iso image to perform operations.

Just change the name, the key is to change the "mount/dev/dvd/localiso/dvd"/dev/dvd to the corresponding iso path. {for example, if my iso is in/software, the file name is Fedora-8-source-DVD.iso, so I can do this: mount/software/Fedora-8-source-DVD.iso/localiso/dvd

You can change the dvd to an empty directory name you have created.

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.