重启apache的时候报错:
/etc/init.d/apache2 restart[….] Restarting web server: apache2apache2: apr_sockaddr_info_get() failed for (none)apache2: Could not reliably determine the server’s fully qualified domain name, using 127.0.0.1 for ServerName… waiting apache2: apr_sockaddr_info_get() failed for (none)apache2: Could not reliably determine the server’s fully qualified domain name, using 127.0.0.1 for ServerName. ok看到这个(none),让我想起,我的ssh的登录路径:root@(none):~#OK,在老鬼的提示上,用hostname函数进行了设置。问题解决:root@(none):~# hostname(none)root@(none):~# hostname neatstudio.comroot@(none):~# hostnameneatstudio.com–做个笔记
原文地址:hostname的笔记, 感谢原作者分享。 并且为之实践了关怀和付出的善举。对于我性情中的易感和怨薄,