1.查看hostname
[root@localhost logs]# uname -a Linux localhot.domain1 2.6.32-220.el6.x86_64 #1 SMP Tue Dec 6 19:48:22 GMT 2011 x86_64 x86_64 x86_64 GNU/Linux
[root@localhost logs]# uname -n localhot.domain1 [root@localhost logs]# hostname localhot.domain1 2.如何修改hostname
参考资料:http://www.cnblogs.com/kerrycode/p/3595724.html (责任编辑:IT) |