1. Fedora 14 Yum source Shanghai Jiaotong University
First, enter the terminal to open and enter the Su, password, and administrator permission;
Input VI/etc/yum. Repos. d/fedora-sjtu.repo, press ENTER
Copy the following content to the opened fedora-sjtu.repo again:
Fedora-ftp.sjtu.edu.cn
Name = fedora 14-i386
Base url = http://ftp.sjtu.edu.cn/fedora/linux/releases/14/Fedora/i386/ OS/
Enabled = 1
Gpgcheck = 0
Gpgkey = file: // etc/pki/rpm-GPG-key-Fedora
Everything-ftp.sjtu.edu.cn
Name = everything 14-i386
Base url = http://ftp.sjtu.edu.cn/fedora/linux/releases/14/Everything/i386/ OS/
Enabled = 1
Gpgcheck = 0
Gpgkey = file: // etc/pki/rpm-GPG-key-Fedora
Updates-ftp.sjtu.edu.cn
Name = fedora updates
Base url = http://ftp.sjtu.edu.cn/fedora/linux/updates/14/i386/
Enabled = 1
Gpgcheck = 0
Save the preceding content to/etc/yum. Repos. d/SJTU. repo.
2. Add 163 Yum source to fedora 14
First, enter the terminal to open and enter the Su, password, and administrator permission;
Input VI/etc/yum. Repos. d/fedora-163.repo, press ENTER
Copy the following content to the opened 163. Repo:
Fedora-mirrors.163.com
Name = fedora 14-i386
Base url = http://mirrors.163.com/fedora/updates/14/i386/
Enabled = 1
Gpgcheck = 0
Gpgkey = file: // etc/pki/rpm-GPG-key-fedora file: // etc/pki/rpm-GPG/RPM-GPG-KEY
Everything-mirrors.163.com
Name = everything 14-i386
Base url = http://mirrors.163.com/fedora/updates/14/i386/
Enabled = 1
Gpgcheck = 0
Gpgkey = file: // etc/pki/rpm-GPG-key-fedora file: // etc/pki/rpm-GPG/RPM-GPG-KEY
Updates-mirrors.163.com
Name = fedora updates
Base url = http://mirrors.163.com/fedora/updates/14/i386/
Enabled = 1
Gpgcheck = 0
Gpgkey = file: // etc/pki/rpm-GPG-key-fedora file: // etc/pki/rpm-GPG/RPM-GPG-KEY
3,
Sohu Source: Same as above, input VI/etc/yum. Repos. d/fedora-sohu.repo to add the following: [fedora]
Name = fedora $ releasever-$ basearch-sohu.com
Failovermethod = Priority
Baseurl = http://mirrors.sohu.com/fedora/releases/?releasever/everything/#basearch/ OS/
Using list = https://mirrors.fedoraproject.org/metalink? Repo = fedora-$ releasever & arch = $ basearch
Enabled = 1
Metadata_expire = 7d
Gpgcheck = 1
Gpgkey = file: // etc/pki/rpm-GPG-key-fedora-$ basearch
[Fedora-debuginfo]
Name = fedora $ releasever-$ basearch-debug-sohu.com
Failovermethod = Priority
Baseurl = Signature/
Using list = https://mirrors.fedoraproject.org/metalink? Repo = fedora-debug-$ releasever & arch = $ basearch
Enabled = 0
Metadata_expire = 7d
Gpgcheck = 1
Gpgkey = file: // etc/pki/rpm-GPG-key-fedora-$ basearch
[Fedora-source]
Name = fedora $ releasever-source-sohu.com
Failovermethod = Priority
Baseurl = http://mirrors.sohu.com/fedora/releases/?releasever/everything/source/srpms/
Using list = https://mirrors.fedoraproject.org/metalink? Repo = fedora-source-$ releasever & arch = $ basearch
Enabled = 0
Metadata_expire = 7d
Gpgcheck = 1
Gpgkey = file: // etc/pki/rpm-GPG-key-fedora-$ basearch input VI/etc/Yum again. repos. d/fedora-updates-sohu.repo copy the following: [updates]
Name = fedora $ releasever-$ basearch-Updates-sohu.com
Failovermethod = Priority
Baseurl = http://mirrors.sohu.com/fedora/updates/?releasever/?basearch/
Using list = https://mirrors.fedoraproject.org/metalink? Repo = updates-released-F $ releasever & arch = $ basearch
Enabled = 1
Gpgcheck = 1
Gpgkey = file: // etc/pki/rpm-GPG-key-fedora-$ basearch
[Updates-debuginfo]
Name = fedora $ releasever-$ basearch-Updates-debug-sohu.com
Failovermethod = Priority
Baseurl = http://mirrors.sohu.com/fedora/updates/?releasever/?basearch/debug/
Using list = https://mirrors.fedoraproject.org/metalink? Repo = updates-released-debug-F $ releasever & arch = $ basearch
Enabled = 0
Gpgcheck = 1
Gpgkey = file: // etc/pki/rpm-GPG-key-fedora-$ basearch
[Updates-source]
Name = fedora $ releasever-Updates source-sohu.com
Failovermethod = Priority
Baseurl = http://mirrors.sohu.com/fedora/updates/?releasever/srpms/
Using list = https://mirrors.fedoraproject.org/metalink? Repo = updates-released-source-F $ releasever & arch = $ basearch
Enabled = 0
Gpgcheck = 1
Gpgkey = file: // etc/pki/rpm-GPG-key-fedora-$ basearch save
After adding the software package, run Yum makecache to cache the software package on the server locally to speed up searching and installing the software.
The main operations of Yum are as follows:
Yum makecache
Yum install software_name installation package
Yum remove software_name Delete Software Package
Yum search sofware_name search software package
Yum update system
2. Update the software program:
Su, enter the password, and enter Yum Update to install software. This process is relatively long.
3. After updating the system database file, restart the computer and enter the terminal to obtain the root user permission and run updatedb to update the system database file.
4. update the yum plug-in to accelerate the download speed. Some mirror files in Yum are very slow. If Yum selects this mirror, yum will be very slow at this time, you can download the fastestmirror plug-in and presto plug-in, which automatically selects the fastest mirror. Yum-y install Yum-Presto Yum-y install Yum-fastestmirror
Currently, the sub-host has a source such as the following:
Fedora-163.repo rpmfusion-free-rawhide.repo
Fedora. Repo rpmfusion-free.repo
Fedora-sjtu.repo rpmfusion-free-updates.repo
Fedora-sohu.repo rpmfusion-free-updates-testing.repo
Fedora-updates.repo rpmfusion-nonfree-rawhide.repo
Fedora-updates-sohu.repo rpmfusion-nonfree.repo
Fedora-updates-testing.repo rpmfusion-nonfree-updates.repo
Google-chrome.repo rpmfusion-nonfree-updates-testing.repo