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.