Google
 

« 2009年04月 | メイン | 2009年06月 »

2009年05月20日

●courier-imap

wget http://optusnet.dl.sourceforge.net/sourceforge/courier/courier-authlib-0.59.tar.bz2
tar -xjf courier-authlib-0.59.tar.bz2
chown -R root.root courier-authlib-0.59
cd courier-authlib-0.59

./configure --prefix=/usr/local/courier-authlib --without-authpam --without-authldap --without-authpwd --without-authmysql --without-authpgsql --without-authshadow --without-authuserdb --without-authcustom --without-authcram --without-authpipe --with-authdaemon --with-authvchkpw --with-redhat

make
make install
make install-configure


vi /usr/local/courier-authlib/etc/authlib/authdaemonrc
authmodulelist="authvchkpw"


cp courier-authlib.sysvinit /etc/rc.d/init.d/courier-authlib
chmod 744 /etc/rc.d/init.d/courier-authlib
chkconfig --add courier-authlib

/etc/rc.d/init.d/courier-authlib start

wget http://optusnet.dl.sourceforge.net/sourceforge/courier/courier-imap-4.1.2.tar.bz2
tar -xjf courier-imap-4.1.2.tar.bz2
chown -R root.root courier-imap-4.1.2
cd courier-imap-4.1.2

COURIERAUTHCONFIG=/usr/local/courier-authlib/bin/courierauthconfig CPPFLAGS=-I/usr/local/courier-authlib/include ./configure --prefix=/usr/local/courier-imap --disable-root-check --with-ssl --enable-unicode=iso-2022-jp,iso-8859-1,utf-8,iso-8859-10 --with-redhat

make
make install
make install-configure

2009年05月18日

●OIDs

PostgreSQL8.x デフォルトの設定でOIDsの設定は無効。
プリマリキーが存在しない時、プリマリキーとしてOIDsは認識しない。

postgresql.conf

default_with_oids = on

2009年05月11日

●XdebugとWinCacheGrind

XdebugとWinCacheGrind

2009年05月01日

●log

/var/log/httpd/*log /home/*/logs/*log {
monthly
rotate 12
missingok
dateext
notifempty
sharedscripts
postrotate
/sbin/service httpd reload > /dev/null 2>/dev/null || true
endscript
}