1.安装依赖[root@DNS ~]# yum -y install gcc openssl-devel expat-devel libevent-devel2.编译安装root@DNS unbound-1.9.1]# ./configure --prefix=/usr/local/unbound --with-libevent root@DNS unbound-1.9.1]# make ...
备份旧的 yum 源mv /etc/yum.repos.d/CentOS-Base.repo /etc/yum.repos.d/CentOS-Base.repo.backup 下载阿里云 repowget -O /etc/yum.repos.d/CentOS-Base.repo http://mirrors.aliyun.com/repo/Centos-7.repo清除缓存yum clean...