Configure the YUM source and operate with YUM

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)
Configure yum source and use yum to operate

Create directory /repo/cos7dvd
Configure yum source and use yum to operate
Copy the mounted CD file to the directory /repo/cos7dvd
Configure yum source and Use yum to operate
Check it out
Configure yum source and use yum to operate
Clean up old configurations, unavailable configurations, and configurations created by others
Configure yum source and use yum Operate
Manually write a new software source
Configure yum source and use yum to operate
Configure yum source and use yum to operate
Application of yum
1. Install the software package
Configure yum source and use yum to operate

Configure yum source and use yum to operate
Configure yum Source and use yum to operate
2, query whether the software package is installed
Configure yum source And use yum to operate
Configure yum source and use yum to operate
3. Query software details
Configure yum source and use yum to operate
4. Uninstall the software package

Configure yum source and use yum to operate
Configure yum source and use yum to operate
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
Configure yum source and use Operate with yum

WordPress database error: [Table 'yf99682.wp_s6mz6tyggq_comments' doesn't exist]
SELECT SQL_CALC_FOUND_ROWS wp_s6mz6tyggq_comments.comment_ID FROM wp_s6mz6tyggq_comments WHERE ( comment_approved = '1' ) AND comment_post_ID = 5567 ORDER BY wp_s6mz6tyggq_comments.comment_date_gmt ASC, wp_s6mz6tyggq_comments.comment_ID ASC

Leave a Comment

Your email address will not be published.