Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

REEL7 local source configuration CentOS is also compatible

2025-02-25 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/02 Report--

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.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report