相关推荐: centos本地yum源 centos7修改yum源本地 centosdvdboot CentOS7默认采用的文件系统为 centosdvd版 centos7光盘做yum源 centos配置yum源 centos修改yum源 centos6.8更换yum源 centos修改yum源为本地yum centosdvdminimal centosdvd和everything centos7更换yum源 centos光盘源 centos光盘yum源 centos改源 centos修改镜像源 centos7光盘默认路径 centos如何配置光盘作为yum源 centos8怎么设置本地安装源 centos7光盘作为本地源 centos更换yum源 centosdvd1 centos如何配置光盘做为yum源 centos设置光盘源 centosdvdeverything centos本地yum源配置 centos源为什么许多都删了 centosyum源 centos更换源 centos7默认
我们都知道yum是CentOS系统中的软件包管理器,用于软件的下载与安装,有时因为某些原因,需要将DVD作为默认yum源,以便DVD中软件的下载安装,下面小编就给大家介绍下CentOS如何建DVD设置为默认yum源。
1、为DVD创建一个挂载目录
[root@localhost ~]# mkdir /media/CentOS
2、在Linux下挂载CentOS DVD(虚拟机挂载DVD不说了,应该都会)
[root@localhost ~]# mount -t auto /dev/cdrom /media/CentOS
请关闭浏览器的畅读模式或者取消屏蔽JavaScript的正常运行,避免出现内容显示不全或者段落错乱。
原网页地址:https://www.lincangtq.com/xuexila/8886830708.html