新サーバ:パッケージインストール
apt-get install apache2-mpm-prefork apt-get install libc6/testing libc6-i686/testing grub/testing libncurses5/testing \ locales/testing initrd-tools/testing apt-get install libapache2-mod-php5 libdb4.3/testing libkrb53/testing libxml2/testing
ipcheck でダイナミックDNSアップデート
apt-get install ipcheck adduser ipcheck mkdir /var/lib/ipcheck chown ipcheck.ipcheck /var/lib/ipcheck su ipcheck vi /var/lib/ipcheck.conf ユーザ名 パスワード ドメイン名 /usr/sbin/ipcheck.py -l -r checkip.dyndns.org:8245 \ --acctfile /var/lib/ipcheck/ipcheck.conf -d /var/lib/ipcheck --makedat crontab -e 0,30 * * * * /usr/sbin/ipcheck.py -l -r checkip.dyndns.org:8245 \ --acctfile /var/lib/ipcheck/ipcheck.conf -d /var/lib/ipcheck
NTPサーバ
apt-get install ntpdate ntp-simple
ntp.confでのサーバ設定
server ntp1.jst.mfeed.ad.jp server ntp2.jst.mfeed.ad.jp server ntp3.jst.mfeed.ad.jp server pool.ntp.org
apt-get install post fix
internet + smarthost を選択。
/etc/postfix/mail.cfを編集。
追加 home_mailbox = Maildir/ コメントにする #mailbox_command = procmail -a "$EXTENSION"