星期四, 5月 05, 2005

install informix 9.4 at Gentoo 1.4(未完)

emerge --pretend lib-compat
emerge --udate lib-compat


ftp /tmp/Linux-IDS.9.40.tc1e1.cpio

chown informix:informix /opt/informix

groupadd informix
useradd -g informix -m informix
mkdir /opt/informix



su - informix

vi .bash_profile

INFORMIXDIR=/opt/informix;export INFORMIXDIR
INFORMIXSERVER=inftest;export INFORMIXSERVER

DB_LOCALE=zh_tw.big5;export DB_LOCALE
CLIENT_LOCALE=zh_tw.big5;export CLIENT_LOCALE
SERVER_LOCALE=zh_tw.big5;export SERVER_LOCALE
PATH=$PATH:$INFORMIXDIR/bin;export PATH

exit

su - informix

cd /opt/informix

cpio -idumv < /tmp/Linux-IDS.9.40.tc1e1.cpio ./installserver exit cd /opt/informix ./RUN_AS_ROOT.server su - informix cd /opt/informix mkdir dev > dev/rootdbs1
chown informix:informix dev/rootdbs1
chmod 660 dev/rootdbs1

cp onconfig.std onconfig
cp sqlhosts.std sqlhosts

vi etc/sqlhosts
vi etc/onconfig

TERM=vt100
export TERM

oninit -ivy

0 Comments:

張貼留言

<< Home