I. Introduction of YUM
Yum, the abbreviation for Yellow Dog Updater, Modified, is a package manager developed by Duke University to improve the installation of RPM packages. Originally developed by Yellow Dog, the developer of the release, Terra Soft, was written in Python, then called yup (Yellow Dog updater), and was later improved by the e-mail protected]e development team at Duke University. Yum's mission is to automate upgrades, install/remove RPM packages, collect information about RPM packages, check dependencies and automatically prompt users to resolve them. Yum's key is to have a reliable repository, as the name implies, this is the repository of software, it can be an HTTP or FTP site, it can also be a local software pool, but must contain RPM Header,header includes various information of RPM package, including description, function, Provide documents, dependencies, etc. It is the collection of these headers that can be analyzed to automate the completion of the remaining tasks.
Yum's philosophy is to use a central repository (repository) to manage a subset of even a distribution of application interactions, and to perform related upgrades, installations, deletions, etc. based on the calculated software dependencies, reducing the Linux The user has always had a headache dependencies problem. At this point, yum and apt are the same. Apt was originally used by Debian's deb-type software management, but it can now use the RPM of Redhat.
Yum main function is more convenient to add/remove/update RPM package, automatically solve the dependency problem of the package, easy to manage a large number of system update problems.
Yum can simultaneously configure multiple repositories (Repository), Concise configuration files (/etc/yum.conf), and automatically resolve dependency issues encountered when adding or removing RPM packages, maintaining consistency with the RPM database.
ii. Modification of domestic sources
The system default Yum source speed is often unsatisfactory, in order to achieve the purpose of rapid installation, here to modify the Yum source for domestic 163 source. 163 sources are described below:
Ingest schema
I386
x86_64
SRPMS
Included versions
All versions
Update Time
Updated every 4 hours
Modification Instructions
1. Backup/etc/yum.repos.d/centos-base.repo
mv /etc/yumrepos.d/centos-base.repo/etc/yumrepos.d/centos-base.repo.backup
2, download the corresponding version repo file, put in/etc/yum.repos.d/
centos7 Http://pan.baidu.com/s/1mgqZUOC
centos6 http://pan.baidu.com/s/1gd8fePP
centos5 http://pan.baidu.com/s/1qW3cZNI
3. run the following command to generate the cache
Yum Clean All Yum Makecache
Third, RELATED LINKS
Official homepage : http://www.centos.org/
Mailing list : http://www.centos.org/modules/tinycontent/index.php?id=16
Forum : http://www.centos.org/modules/newbb/
Document : http://www.centos.org/docs/%20Wiki:%20http://wiki.centos.org/
image list : http://www.centos.org/modules/tinycontent/index.php?id=32
CentOS modified image for 163 sources in China