注意点
EIPがSPAMのブラックリストに登録されてないことを確認したほうがいい
確認するのは、以下のURLが便利
http://www.blacklistalert.org/
そして、逆引きの設定もしっかりやっておかないと拒否されるかもしれない
逆引きの設定依頼は
https://portal.aws.amazon.com/gp/aws/html-forms-controller/contactus/ec2-email-limit-rdns-request
2013年8月25日日曜日
2013年8月22日木曜日
mailmanのnewlist
mailmanでnewlistコマンドを使うと、ML管理者宛にメールが飛ぶ
飛ばしたくなければ、-qを付けると飛ばない
けど、pleskを使うと、内部で勝手にnewlistコマンドを使ってしまい、そして-qオプションが付いていないのでメールが飛ぶ
飛ばしたくなければ・・・
vi newlist
quiet = 0 を quiet = 1に書き換えちゃう!
飛ばしたくなければ、-qを付けると飛ばない
けど、pleskを使うと、内部で勝手にnewlistコマンドを使ってしまい、そして-qオプションが付いていないのでメールが飛ぶ
飛ばしたくなければ・・・
vi newlist
quiet = 0 を quiet = 1に書き換えちゃう!
2013年8月21日水曜日
2013年8月19日月曜日
2013年8月16日金曜日
BINDのデフォルト設定
allow-query-cache
デフォルト { localnets; localhost; };
設定されていなければ、allow-query-cacheの設定が適用され、
allow-query-cacheが設定されていなければ、allow-queryの設定が適用され、
allow-queryも設定されていなければ、デフォルト値が適用される。
デフォルト { localnets; localhost; };
設定されていなければ、allow-query-cacheの設定が適用され、
allow-query-cacheが設定されていなければ、allow-queryの設定が適用され、
allow-queryも設定されていなければ、デフォルト値が適用される。
2013年8月15日木曜日
rsyncの罠
いまさら書くほどのことじゃないけど・・・ミスらないようにいつも調べてしまうこと
①rsync -av ~/dir1 /dir2
②rsync -av ~/dir1/ /dri2
この2つは動作が異なる
①は、dir1をdri2の下に作られる
②は、dir1以下のファイルをdir2の下に作る
dir1以下にfile1があるとすると
①は、/dir2/dir1/file1
②は、/dir2/file1
--deleteがついてると、大変なことになっちゃう
①rsync -av ~/dir1 /dir2
②rsync -av ~/dir1/ /dri2
この2つは動作が異なる
①は、dir1をdri2の下に作られる
②は、dir1以下のファイルをdir2の下に作る
dir1以下にfile1があるとすると
①は、/dir2/dir1/file1
②は、/dir2/file1
--deleteがついてると、大変なことになっちゃう
2013年8月9日金曜日
CentOS6.2でPHP5.1.6
configureに失敗しまくる!
オプションは以下のとおり
'./configure' \
'--prefix=/usr/local' \
'--sysconfdir=/usr/local/etc' \
'--with-config-file-path=/usr/local/etc' \
'--with-config-file-scan-dir=/usr/local/etc/php.d' \
'--disable-debug' \
'--with-pic' \
'--disable-rpath' \
'--without-pear' \
'--with-bz2' \
'--with-curl' \
'--with-freetype-dir=/usr' \
'--with-png-dir=/usr' \
'--enable-gd-native-ttf' \
'--without-gdbm' \
'--with-gettext' \
'--with-gmp' \
'--with-iconv' \
'--with-jpeg-dir=/usr' \
'--with-openssl' \
'--with-png' \
'--with-pspell' \
'--with-expat-dir=/usr' \
'--with-pcre-regex=/usr' \
'--with-zlib' \
'--with-layout=GNU' \
'--enable-exif' \
'--enable-ftp' \
'--enable-magic-quotes' \
'--enable-sockets' \
'--enable-sysvsem' \
'--enable-sysvshm' \
'--enable-sysvmsg' \
'--enable-track-vars' \
'--enable-trans-sid' \
'--enable-yp' \
'--enable-wddx' \
'--with-kerberos' \
'--enable-ucd-snmp-hack' \
'--with-unixODBC=shared,/usr' \
'--enable-memory-limit' \
'--enable-shmop' \
'--enable-calendar' \
'--enable-dbx' \
'--enable-dio' \
'--with-mime-magic=/usr/share/misc/magic.mgc' \
'--without-sqlite' \
'--with-libxml-dir=/usr' \
'--with-xml' \
'--with-system-tzdata' \
'--with-mysql' \
'--with-pgsql' \
'--with-sqlite' \
'--with-gd' \
'--without-odbc' \
'--enable-dom' \
'--disable-dba' \
'--without-unixODBC' \
'--enable-pdo' \
'--enable-xmlreader' \
'--enable-xmlwriter' \
'--with-pdo-sqlite' \
'--enable-mbstring' \
'--with-xsl' \
'--with-pdo-pgsql' \
'--with-pdo-mysql' \
'--with-mysqli' \
'--with-kerberos' \
'--enable-dbase'
オプションは以下のとおり
'./configure' \
'--prefix=/usr/local' \
'--sysconfdir=/usr/local/etc' \
'--with-config-file-path=/usr/local/etc' \
'--with-config-file-scan-dir=/usr/local/etc/php.d' \
'--disable-debug' \
'--with-pic' \
'--disable-rpath' \
'--without-pear' \
'--with-bz2' \
'--with-curl' \
'--with-freetype-dir=/usr' \
'--with-png-dir=/usr' \
'--enable-gd-native-ttf' \
'--without-gdbm' \
'--with-gettext' \
'--with-gmp' \
'--with-iconv' \
'--with-jpeg-dir=/usr' \
'--with-openssl' \
'--with-png' \
'--with-pspell' \
'--with-expat-dir=/usr' \
'--with-pcre-regex=/usr' \
'--with-zlib' \
'--with-layout=GNU' \
'--enable-exif' \
'--enable-ftp' \
'--enable-magic-quotes' \
'--enable-sockets' \
'--enable-sysvsem' \
'--enable-sysvshm' \
'--enable-sysvmsg' \
'--enable-track-vars' \
'--enable-trans-sid' \
'--enable-yp' \
'--enable-wddx' \
'--with-kerberos' \
'--enable-ucd-snmp-hack' \
'--with-unixODBC=shared,/usr' \
'--enable-memory-limit' \
'--enable-shmop' \
'--enable-calendar' \
'--enable-dbx' \
'--enable-dio' \
'--with-mime-magic=/usr/share/misc/magic.mgc' \
'--without-sqlite' \
'--with-libxml-dir=/usr' \
'--with-xml' \
'--with-system-tzdata' \
'--with-mysql' \
'--with-pgsql' \
'--with-sqlite' \
'--with-gd' \
'--without-odbc' \
'--enable-dom' \
'--disable-dba' \
'--without-unixODBC' \
'--enable-pdo' \
'--enable-xmlreader' \
'--enable-xmlwriter' \
'--with-pdo-sqlite' \
'--enable-mbstring' \
'--with-xsl' \
'--with-pdo-pgsql' \
'--with-pdo-mysql' \
'--with-mysqli' \
'--with-kerberos' \
'--enable-dbase'
登録:
投稿 (Atom)