安裝Apache2 會出現apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.0.1 for ServerName
因為我是在NAT底下 , 所以ip是內網的
在/etc/hosts底下新增
127.0.0.1 Archer61.noip.me
192.168.2.106 Archer61.noip.me
然後在指令列打
hostname Archer61.noip.me
沒有留言:
張貼留言