2.10.2014

How to install resolvconf on Linux

How to install resolvconf on Linux

Ubuntu or Debian

Just do the following will install openresolv to your system.
sudo apt-get install resolvconf

CentOS or Redhat

You need both openresolv (http://roy.marples.name/projects/openresolv) and a patch. The patch is generated by us, to make openresolv work with dhclient.
Note: to avoid direct overwriting to resolv.conf, please make sure that only "dhclient" program is actually called when changing DNS configuration (modifying resolv.conf file).
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"

No comments:

Post a Comment

Note: Only a member of this blog may post a comment.