hoge# mkdir /usr/local/pgsql hoge# chown postgres.postgres /usr/local/pgsql |
hoge# cd /usr/src
hoge# tar zxvf postgres-7.2.1.tar.gz
hoge# su postgres
% cd /usr/src/postgres-7.2.1
% ./configure --enable-multibyte=EUC_JP
:
:
% gmake all
:
:
% gmake install
|
% cd /doc % gmake install |
setenv PATH "$PATH":/usr/local/pgsql/bin
setenv POSTGRES_HOME /usr/local/pgsql
setenv PGLIB $POSTGRES_HOME/lib
setenv PGDATA $POSTGRES_HOME/data
setenv LD_LIBRARY_PATH "$PGLIB"
setenv MANPATH "/usr/share/man:/usr/X11R6/man:/usr/local/man:${POSTGRES_HOME}/man"
|
% cd % source .cshrc % rehash |
% initdb |
% postmaster -S -i |
#!/bin/sh -
PGSQLDIR=/usr/local/pgsql
PORTNO=5432
case $1 in
start)
if [ -x $PGSQLDIR/bin/postmaster -a -d $PGSQLDIR/data ];then
rm -f /tmp/.s.PGSQL.$PORTNO
su -l - postgres -c "$PGSQLDIR/bin/postmaster -S -i"
echo -n ' postmaster'
fi
;;
stop)
if [ -x $PGSQLDIR/bin/pg_ctl ]; then
su -l - postgres -c "$PGSQLDIR/bin/pg_ctl stop"
fi
;;
restart|update)
if [ -x $PGSQLDIR/bin/pg_ctl ]; then
su -l - postgres -c "$PGSQLDIR/bin/pg_ctl restart"
fi
;;
esac
|
% createuser nobody |
hoge# tar xzvf imap.tar.Z hoge# cd imap-2002.RC2 hoge# make bsf hoge# cd c-client hoge# cp c-client.a /usr/local/lib hoge# cp rfc822.h /usr/local/include hoge# cp mail.h /usr/local/include hoge# cp linkage.h /usr/local/include hoge# cd ../ hoge# cp imapd/imapd /usr/local/libexec/ |
imap4 stream tcp nowait root /usr/local/libexec/imapd imapd |
hoge# cd /usr/src hoge# tar zxvf zlib-1.1.4.tar.gz hoge# cd zlib-1.1.4 hoge# ./configure hoge# make hoge# make install |
hoge# cd /usr/src hoge# tar zxvf libpng-1.0.14.tar.gz hoge# cd libpng-1.0.14 hoge# make -f scripts/makefile.std hoge# ./pngtest hoge# make -f scripts/makefile.std install |
hoge# cd /usr/src hoge# tar -zxvf jpegsrc.v6b.tar.gz hoge# cd jpeg-6b hoge# ./configure --enable-shared hoge# make hoge# make install |
hoge# cd /usr/src hoge# tar zxvf gd-1.8.4.tar.gz hoge# cd gd-1.8.4 hoge# make hoge# make install |
hoge# cd /usr/src hoge# tar xvzf apache_1.3.26.tar.gz hoge# cd apache_1.3.26 hoge# ./configure --enable-module=so --enable-module=proxy hoge# make hoge# make install |
#!/bin/sh
APACHEBINDIR=/usr/local/apache/bin
case $1 in
start)
[ -x $APACHEBINDIR/apachectl ] && $APACHEBINDIR/apachectl start > /dev/null && echo -n 'apache'
;;
stop)
[ -x $APACHEBINDIR/apachectl ] && $APACHEBINDIR/apachectl stop
;;
restart|update)
[ -x $APACHEBINDIR/apachectl ] && $APACHEBINDIR/apachectl restart
;;
stop)
[ -x $APACHEBINDIR/apachectl ] && $APACHEBINDIR/apachectl status
;;
esac
|
hoge# cd /usr/src hoge# tar xvfz php-3.0.18-i18n-ja-3.tar.gz hoge# cd php-3.0.18-i18n-ja-3 hoge# ./configure --enable-i18n --enable-mbregex --enable-track-vars --with-pgsql=/usr/local/pgsql --with-apache=/usr/local/apache --with-apxs=/usr/local/apache/bin/apxs --with-gd=/usr/local --with-imap=/usr/local hoge# cp /usr/src/imap-2002.RC2/src/c-client/utf8.c /usr/local/src/php-3.0.18-i18n-ja-3/functions/utf8.c hoge# cp /usr/src/imap-2002.RC2/src/c-client/utf8.h /usr/local/src/php-3.0.18-i18n-ja-3/functions/utf8.h hoge# make hoge# make install hoge# cp php3.ini-dist /usr/local/lib/php3.ini |
<IfModule mod_dir.c> DirectoryIndex index.html </IfModule> |
<IfModule mod_dir.c> DirectoryIndex index.html index.php3 </IfModule> |
i18n.http_output = PASS
↓↓↓
i18n.http_output = SJIS
|
hoge# cd /usr/src/ hoge# tar xvfz chasen-2.2.9.tar.gz hoge# cd chasen-2.2.9 hoge# ./configure hoge# make hoge# make install |
#!/bin/sh /usr/local/bin/chasen -s |
hoge# cd /usr/src hoge# tar xvfz ipadic-2.4.4.tar.gz hoge# cd ipadic-2.4.4 hoge# ./configure hoge# make hoge# make install |
hoge# cd /usr/src
hoge# cd /usr/src
hoge# tar zxvf skyboard-2.0.tar
hoge# su postgres
%
% cd skyboard
% ./postgres.sh
|
Name your database.(default:masters)-> |
% exit
hoge# ./root.sh
|
Name your database.(default:masters)-> |