1、yum源配置:
[c5-media]
name=CentOS-$releasever - Media
baseurl=file:///media/CentOS_5.4_Final/
file:///media/cdrom/
file:///media/cdrecorder/
gpgcheck=1
enabled=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-5
2、yum clean all
yum list
3、安装DNS:
[root@localhost yum.repos.d]# yum -y install bind* caching-nameserver