change hostname
1. change hostname - good till nex reboot
#hostname [your_new_hostname]
这个我这样改的:
#hostname linuxforest.Redhat
2. change hostname - good after next reboot
edit /etc/sysconfig/network (RedHat)
这里是不是编辑/etc/sysconfig/network 这个文件?后面那个RedHat什么意义啊?
我设置HOSTNAME=linuxforest.Redhat,可以么?
NETWORKING=yes
HOSTNAME=linuxforest.Redhat
3. change ip associated hostname - good till nex reboot
edit /etc/hosts
编辑hosts这个文件,改为
# Do not remove the following line, or various programs
# that require network functionality will fail.
127.0.0.1 linuxforest.Redhat linuxforest
但是启动csh还是提示错误呢。。。