相关推荐: centos光盘源 centosdvdminimal centos修改yum源为本地yum centos设置光盘源 centos7光盘作为本地源 centos7修改yum源本地 centos如何配置光盘做为yum源 centosdvd1 centos7光盘做yum源 centos改源 centos如何配置光盘作为yum源 centos7光盘默认路径 centos6.8更换yum源 centosdvdeverything centosdvdboot centosdvd版 centosdvd和everything centos光盘yum源
我们都知道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.huaxiaegou.com/xuexila/57990165.html