相关推荐: linux用光盘修复系统  rhel7yum  rhel版本  rhel-server-6.2-i386-dvd.iso  rhel8如何配置本地yum源  rhel6中如何加载卸载光驱  linux光盘修复  redhat光盘修复系统  rhel6如何加载  rhel8iso  rhel8配置yum源  rhel6.0中如何加载卸载光驱  rhel8配置本地yum源  rhel6.5安装  rhel7配置本地yum源  rhel6.9安装  rhel8.3iso  rhel6.5安装教程  rhel6.7安装  rhel7.6安装  rhel7yum源  rhelu盘安装  rhelyum  rhel配置yum源  rhelyum源  rhel8yum源  redhat7光盘修复系统  rhel7安装yum  rhel6.9安装教程  卸载光驱  rhel7配置yum源  rhel7.6安装教程  redhat更换yum源 

平时在安装或更新CentOS软件时,yum方式是最简单方便的,那么大家知道RHEL系统怎么恢复安装光盘中的yum更新源吗?接下来大家跟着小编一起来了解一下RHEL系统恢复安装光盘中的yum更新源的解决方法吧。

RHEL系统恢复安装光盘中的yum更新源方法

挂载安装光盘:

代码如下:

mount /dev/cdrom /mnt

vi /etc/yum.repos.d/local.repo

修改本地更新源文件,添加内容:

请关闭浏览器的畅读模式或者取消屏蔽JavaScript的正常运行,避免出现内容显示不全或者段落错乱。

原网页地址:https://www.zhifashicai.com/alxz/918327.html