标签:
1.mount iso镜像文件:mount -o loop -t iso9660 /mnt/hgfs/E/rhel-server-6.2-x86_64-dvd.iso /mnt/local_yum/
2.创建配置文件:vi /etc/yum.repos.d/rhel-media.repo,并输入以下内容:
[rhel-media]
name=Red Hat Enterprise Linux 6.2
baseurl=file:///mnt/local_yum
enabled=1
gpgcheck=1
gpgkey=file:///mnt/local_yum/RPM-GPG-KEY-redhat-release
3.输入命令:yum clean all
4.ok了:yum groupinstall "development tools"
标签:
原文地址:http://www.cnblogs.com/run220/p/4297072.html