Sunday, July 31, 2005

Installation Notes

Postgres installation  
./configure
gmake
su
gmake
install
adduser postgres
mkdir /usr/local/pgsql/data
chown postgres /usr/local/pgsql/data
su - postgres
/usr/local/pgsql/bin/initdb -D /usr/local/pgsql/data
/usr/local/pgsql/bin/postmaster -D /usr/local/pgsql/data >logfile 2>&1 & /usr/local/pgsql/bin/createdb test
/usr/local/pgsql/bin/psql test


Apache Installation
./configure --prefix=/usr/local/apache --enable-module=rewrite --enable-shared=rewrite --enable-module=so

make

make install

Php Installation
./configure --with-apxs=/usr/local/apache/bin/apxs --enable-mbstring --enable-track-vars --enable-trans-sid --disable-unified-odbc --disable-magic-quotes --with-zlib --with-gd --with-mysql --enable-gd-native-ttf --with-ttf --enable-inline-optimization --enable-ftp --with-iodbc=/usr/local --with-ibm-db2=/home/db2inst1/sqllib

or

./configure --with-apxs=/usr/local/apache/bin/apxs --enable-mbstring --with-pgsql=/usr/local/pgsql --enable-track-vars --enable-trans-sid --disable-magic-quotes --with-zlib --with-gd --with-mysql --enable-gd-native-ttf --with-ttf --enable-inline-optimization --enable-ftp

make

make install