Get the App
SLTechnology News&Howtos  ›  Network Security  › 

Build a local source for yum

Shulou Source: shulou.com Published: 2022-06-01 06:41:28 10月03日 Update

Build a local source for yum

# mount/dev/cdrom / mnt mount CD

# df-h to check the mount status

# cd/etc/yum.repos.d to / etc/yum.repos.d directory

# rm * Delete all files

# vim/etc/ma.repo create a new file and write it

[dvd]

Edited by Name=ma dvd

Baseurl= file:///mnt writes

Within Enabled=1

Gpgcheck=0 capacity

# yummakecache generation cache

This installs an yum local source!

Tags: File CD situation directory cache install generate Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Huawei Shulou Tech Info Shulou Information OPPO Reno Shulou Technology