resolvconf: Error: /etc/resolv.conf isn’t a symlink, not doing anything

If we get this error in Ubuntu while restarting network service. Here /etc/resolv.conf is a file move it to /run/resolvconf/resolv.conf.   # sudo mv /etc/resolv.conf /run/resolvconf/resolv.conf Then create the symlink using ln -s. # sudo ln -s ../run/resolvconf/resolv.conf /etc/resolv.conf Then restart the network service # sudo /etc/init.d/networking restart Or there is an Alternative way to … Read more

Enable setup command in minimal installed Redhat or Centos 6 Linux

In minimum install setup, the command will not be enabled because it installed with limited packages. When we try to run “setup” command if we get below command not found an error. It’s time to install some required packages. [root@masterdns ~] setup -bash: setup: command not found If we have a valid yum repo please … Read more