Get the App
SLTechnology News&Howtos  ›  Servers  › 

REEL7 local source configuration CentOS is also compatible

Shulou Source: shulou.com Published: 2022-06-02 12:19:55 10月04日 Update

First, needless to say, this is very simple, prepare the image of the current system version

1. The first step is to mount the image, right-click the CD, and click the link

Then mount the image. The VMware image is stored under / devcdrom.

Mount / dev/cdrom / mnt

Mount system files to / mnt

The 2.yum source is placed under / etc/yum.repsd, and then we go to this directory

Cd / etc/yum.repos.d/

After entering, we will find that there is already a file, never mind.

3. Create a profile

Let's just create a file that ends in .repo, not a folder, so just edit it with vim

Just follow the revision.

4. The final step is to clear the yum cache

Yum clean all

Create a new yum cache

Yum makecache

All right, the local yum source configuration is over. Students of centos, please delete the files in the / etc/yum.reposd directory before creating a new repo.

Tags: Files mirrors configurations directories systems caches clear next no CD actions students that is nonsense folders photos versions links preparation Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Docker OPPO Reno Linux Redmi Apple