Linux configuration local yum source method

Example:

The file name ends with a .repo extension

[local_yum]

name=local_yum
baseurl=file:///mnt/cdrom
enabled=1
gpgckeck=1
gpgkey=file:///mnt/cdrom/RPM-GPG-KEY-CentOS-7

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=324845523&siteId=291194637
Recommended