Zimbra on EC2 tips: Difference between revisions

Line 102: Line 102:
</syntaxhighlight>
</syntaxhighlight>


/etc/hosts に、このインスタンスのプライベート IP address, host名, fqdn を設定します。
/etc/hosts に、このインスタンスのプライベート IP address, fqdn, host名を設定します。
<syntaxhighlight>
<syntaxhighlight>
127.0.0.1 localhost
127.0.0.1 localhost
Line 118: Line 118:
正しく host名と fqdn 設定されているかを確認します。
正しく host名と fqdn 設定されているかを確認します。
<syntaxhighlight>
<syntaxhighlight>
/bin/hostname
/bin/hostname -s
(host名が返る)
(host名が返る)
/bin/hostname -f
/bin/hostname -f
Line 257: Line 257:
f.close()
f.close()
</syntaxhighlight>
</syntaxhighlight>


<syntaxhighlight>
<syntaxhighlight>
Line 327: Line 326:
  prepend domain-name-servers 127.0.0.1;
  prepend domain-name-servers 127.0.0.1;
  supersede domain-name "example.com";
  supersede domain-name "example.com";


ここで一度この script を起動して動作確認します。
ここで一度この script を起動して動作確認します。
Line 334: Line 332:
cat /etc/hosts
cat /etc/hosts
</syntaxhighlight>
</syntaxhighlight>


<syntaxhighlight>
<syntaxhighlight>