다음 명령을 사용하여 debian 7.8에서 Apache 서비스를 시작할 때:
root@debian:/home/debian# service apache2 start
[....] Starting web server: apache2apache2: Could not reliably determine the server's fully qualified domain name, using ::1 for ServerName
. 좋아요
In my /etc/hosts
127.0.0.1 localhost
# The following lines are desirable for IPv6 capable hosts
::1 localhost ip6-localhost ip6-loopback
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
내 /etc/hostname에
localhost
문제를 해결하는 방법?
답변1
편집하고 /etc/apache2/conf.d/httpd.conf
줄을 추가하세요:
ServerName localhost