@ferstar
2015-10-30T15:35:43.000000Z
字数 633
阅读 3415
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