Centos7 搭建本地yum源方法

2025-05-25 17:43:48

1、系统还是CentOS 7

Centos7 搭建本地yum源方法

3、挂载iso文件到/mnt目录mount -o loop CentOS-7-x86_64-DVD-1908.iso /mnt/

Centos7 搭建本地yum源方法

5、创建新的目录和yum源mkdir /etc/yum.repos.dvi /etc/yum.repos.d/CentOS-local.repo

Centos7 搭建本地yum源方法

7、更新yum源配置yum clean allyum makecache

Centos7 搭建本地yum源方法
声明:本网站引用、摘录或转载内容仅供网站访问者交流或参考,不代表本站立场,如存在版权或非法内容,请联系站长删除,联系邮箱:site.kefu@qq.com。
猜你喜欢