Can't get host name,这是启动服务时遇到的一个问题
问题原因:
因为/etc/hosts下设置的hostname与系统的hostname不一致
检查和修改方法
1. 用hostname命令,查看系统的hostname
2. 修改/etc/hosts文件,加上
127.0.0.1 hostname
3. 重启服务
其他与hostname相关的知识
http://www.cnblogs.com/kerrycode/p/3595724.html
Can't get host name,这是启动服务时遇到的一个问题
问题原因:
因为/etc/hosts下设置的hostname与系统的hostname不一致
检查和修改方法
1. 用hostname命令,查看系统的hostname
2. 修改/etc/hosts文件,加上
127.0.0.1 hostname
3. 重启服务
其他与hostname相关的知识