标签:repo enable 删掉 lin ble rhel red acs 添加内容
OS
RHEL
mkdir /root/iso mkdir /mnt/cdrom
mount -o loop /root/iso/rhel-workstation-7.0-x86_64-dvd.iso /mnt/cdrom
[rhel-media] name=Red Hat Enterprise Linux 7.0 baseurl=file:///mnt/cdrom enabled=1 gpgcheck=1 gpgkey=file:///mnt/cdrom/RPM-GPG-KEY-redhat-release
yum clean all
yum makecache
yum install emacs
/root/iso/rhel-workstation-7.0-x86_64-dvd.iso /mnt/cdrom iso9660 defaults,ro,loop 0 0
保存退出即可标签:repo enable 删掉 lin ble rhel red acs 添加内容
原文地址:https://www.cnblogs.com/chjief/p/8978143.html