4,461
edits
mNo edit summary |
mNo edit summary |
||
Line 11: | Line 11: | ||
$ vim /etc/hostname | $ vim /etc/hostname | ||
// update hosts file | |||
$ vim /etc/hosts | $ vim /etc/hosts | ||
// update hostname | |||
$ /etc/init.d/hostname.sh start | $ /etc/init.d/hostname.sh start | ||
// check hostname | |||
$ hostname | $ hostname | ||
</source> | </source> |