cd /etc/yum.repos.d
cp rhel-debuginfo.repo local_rhel5_8.repo
vi local_rhel5_8.repo
[rhel-Server]
name=Red Hat Enterprise Linux 5
baseurl=file:///mnt/cdrom/Server
enabled=1
gpgcheck=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release
保存退出
确保RHEL DVD光盘mount在/mnt/cdrom上
yum install unixODBC
yum install unixODBC-devel
yum install libaio-devel
阅读(1395) | 评论(0) | 转发(0) |