Yum (full name Yellow dog Updater, Modified) is based on RPM package management. It can automatically download and install RPM packages from a specified server, automatically handle dependencies, and install all dependent software packages at one time, without having to do it once. Downloads and installations.
Local Yum warehouse: I am a server to provide services for this machine
Server: Owns all the contents of the CD
Client: Specify the machine and as the server, write a configuration File
/etc/yum.repos.d/.repo
Note: Wrong configuration file will affect the correct file
Experiment: Configure local yum source; Operating system: CentOS 7
Mount the CD (mount the CD file /dev/cdrom to the mount point /mnt)
Create directory /repo/cos7dvd
Copy the mounted CD file to the directory /repo/cos7dvd
Check it out
Clean up old configurations, unavailable configurations, and configurations created by others
Manually write a new software source
Application of yum strong>
1. Install the software package
p>
2, query whether the software package is installed
3. Query software details
4. Uninstall the software package
5. Clear the cache. In order to improve the retrieval speed, yum will cache data on the machine. When the software park address changes or the warehouse needs to be checked, it is recommended to clear all caches first