改了机器名和dns服务地址后如何立即生效

由 linuxsky 在 05-13-2003 09:33 发表:

改了机器名和dns服务地址后如何立即生效

Redhat 9.0

我改了/etc/sysconfig/network里的机器名

还有改了/etc/hosts

然后又改了/etc/resolv.conf里面的dns选项

我要如何让它生效?

是/etc/init.d/network restart吗

好像无效?


由 Snoopy 在 05-13-2003 10:09 发表:


9.0????killall network先

再/etc/rc.d/init.d/network start

我觉得9.0这样的重启好像是没有用的~?


And then in the evening light, when the

Published At
Categories with 服务器类
Tagged with
comments powered by Disqus