1.RPM is an open package management system that provides a way to quickly install packages
2.RPM is not a good solution to package dependencies, so there are yum.
RPM command
3. Install RPM Package general use RPM-IVH upgrade package general use RPM-UVH
RPM-V Verification Package,
The 4.yum installation package provides a good solution to the problem of dependencies between packages. (2) Yum easy to manage a large number of system update problems (3) can configure multiple warehouses (4) Concise configuration file (4) easy to use
5. Configure Yum Client update source
(1) There are centos-base.repo files in the/ETC/YUM.REPOS.D directory for setting up the remote warehouse Centos-media.repo setting up the local warehouse
(2) in the. repos file, Repositoryid: Specify a warehouse name to specify the warehouse names BaseURL: Specify the url,mirrorlist of the warehouse to specify the mirror site of the warehouse, enable whether the warehouse is enabled, Gpgcheck whether to check the GPG signature of the package, Gpgkey, specify the URL of the GPG signature file
The Yum Package command
6. Accelerated Yum Download
(1) vim/etc/yum.conf
(2) proxy= proxy IP: port
User name of the Proxy_username= proxy server
proxy_password= Proxy Server password
7. Configure Yum to allow Yum to automatically select the fastest mirror server
Yum Install Yum-fastestmirror