
次のコマンドを使用して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