在Ubuntu下安装了Apache2,启动时竟然报错,提示:Permission denied: make_sock: could not bind to address
报错提示权限不够,用su命令切换到root,输入密码就OK了,至于有以下提示
注:若用su命令切换到root时提示su认证失败,请参考《Ubuntu输入su提示认证失败的解决方法 》
httpd: Could not reliably determine the server’s fully qualified domain name, using localhost.localdomain for ServerName
倒关系不大,因为我是在本机运行的,没有绑定域名。
转载于:https://blog.51cto.com/studiogang/385239