Centos

如何在centos中安裝resolvconf

  • January 11, 2022

我正在嘗試在centos 中安裝resolvconf。

在 Ubuntu 中,我可以安裝 resolvconf sudo apt-get install resolvconf

對於centos,我嘗試做同樣的事情,sudo yum install resolvconf但我收到了消息No package found. Nothing to do

如何在 centos 中安裝 resolvconf 。

您將需要openresolv一個更新檔。遵循以下命令:

wget http://roy.marples.name/downloads/openresolv/openresolv-3.3.2.tar.bz2
tar fxjv openresolv-3.3.2.tar.bz2
cd openresolv-3.3.2
wget http://www.grid-appliance.org/files/packages/openresolv_patch.zip
unzip openresolv_patch.zip
make
./patch.sh
su -c "make install"

來源

引用自:https://unix.stackexchange.com/questions/481599