This is just a friendly warning and not really a problem (as in that something does not work).
If you insert a
ServerName localhost
in either httpd.conf
or apache2.conf
in /etc/apache2
and restart apache the notice will disappear.
If you have a name inside /etc/hostname
you can also use that name instead of localhost
.
And it uses 127.0.1.1
if it is inside your /etc/hosts
:
127.0.0.1 localhost
127.0.1.1 myhostname
결론
httpd.conf
나apache2.conf
파일에 ServerName localhost 써주면 된다.
'프로그래밍 > 우분투' 카테고리의 다른 글
터미널에서 삭제가 안될때. (0) | 2013.10.14 |
---|---|
리눅스 apm 설치 (0) | 2013.06.08 |
dev에서 root 유저로 바꾸기 및 ssh 외부접속. (0) | 2013.06.06 |