请教如何更改主机的机器名
好像要改好几个文件,都有哪几个?举个例子我现在的机器名是aaaa,
如何改成bbbb。
多谢!! /etc/conf.d/hostname 这个问题搞清了,
楼上的是一个,
还有一个
/etc/hosts 在/etc/下有个hostname文件,直接nano hostname就可以了吧? /etc/hostname 是开机时,内核读取的
/etc/hosts 部分程序依赖这个东西,比如sudo /etc/hosts
这个东西怎么搞啊
我的debian
sarge和unstable
都没有
不过sarge的gdm需要她
我不知道这个文件的格式
有人肯告诉吗???
先谢了!!
页:
[1]