In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-02-25 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/01 Report--
Fedora yum CD installation and how to run the command, I believe that many inexperienced people do not know what to do, so this paper summarizes the causes of the problem and solutions, through this article I hope you can solve this problem.
To recommend a very good Fedora yum system is of great learning value, here I mainly explain the application of the Fedora yum system, including the introduction of Fedora yum CD installation knowledge and so on. The basics of Linux, including the installation of Fedora, disk partitioning, and the basic operation of Linux, are designed to give readers a preliminary understanding of Linux.
Install from Fedora yum CD
1. First of all, mount the Fedora yum CD file.
# mount-o loop / media/dvd / mnt/iso / / the directory chosen by iso later
2. Then go to the folder / etc/yum.repos.d/, and fedora-updates.repo under the folder. Wait for all the files to be renamed.
# mv fedora-updates.repo fedora-updates.repo.bak
#.
Create an iso.repo file and put it under / etc/yum.repos.d/
# vi iso.repo is as follows:
[iso]
Name=iso
Baseurl= file:///mnt/iso/
Gpgkey= file:///mnt/iso/RPM-GPG-KEY-beta
4. In this way, you can start the Fedora yum file, and add a parameter appropriately.
Fedora yum-enablerepo=iso install file.
5. Create a new file with the suffix repo under / etc/yum.repos.d/
[Fedora]
Name=Fedora-cn updates
Baseurl= ftp://openware.byr.edu.cn/pub/mirror/Fedora/linux/updates/$releasever/$basearch/
Enabled=1
Gpgcheck=0
[Fedora]
Name=Fedora-cn $releasever-$basearch
Baseurl= http://Fedora.candishosting.com.cn/pub/fedora/linux/releases/$releasever/Everything/$basearch/os/
Enabled=1
Gpgcheck=1
Gpgkey= file:///etc/pki/rpm-gpg/RPM-GPG-KEY-Fedora file:///etc/pki/rpm-gpg/RPM-GPG-KEY
Then run the command: Fedora yum makecache
Remove the following code from the original fedora-updates.repo file:
CODE:
[updates]
Name=Fedora $releasever-$basearch-Updates
Failovermethod=priority
# baseurl= http://download.fedora.redhat.com/pub/fedora/linux/updates/$releasever/$basearch/
Mirrorlist= http://mirrors.fedoraproject.org/mirrorlist?repo=updates-released-f$releasever&arch=$basearch
Enabled=1
Gpgcheck=1
Gpgkey= file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora
After deleting the above code, Fedora yum adds:
CODE:
[updates-cn]
Name=Fedora candishosting.com.cn-Updates
Failovermethod=priority
Baseurl= http://fedora.candishosting.com.cn/pub/fedora/linux/releases/8/Fedora/i386/os/
Enabled=1
Gpgcheck=1
Gpgkey= http://fedora.candishosting.com.cn/pub/fedora/linux/releases/8/Fedora/i386/os/RPM-GPG-KEY-fedora
This is a release source, not an update source! So you can't update
After reading the above, have you mastered the method of installing Fedora yum CD and how to run the command? If you want to learn more skills or want to know more about it, you are welcome to follow the industry information channel, thank you for reading!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.