7.11, 5.0
. informix,
/usr/informix
INFORMIXDIR=/usr/informix #
ONCONFIG=onconfig #
INFORMIXTERM=termcap # ( terminfo,
# )
TERMCAP=$INFORMIXDIR/etc/termcap
PATH=$PATH:$INFORMIXDIR/bin
INFORMIXSERVER=online # your_online_system
# 7. 4GL 4.12
SQLEXEC=sqlrm
# 5 to
SQLEXEC=$INFORMIXDIR/bin/sqlturbo
export INFORMIXDIR ONCONFIG INFORMIXTERM TERMCAP PATH
export INFORMIXSERVER SQLEXEC
. 1521 informix.
/etc/services
informix 1521/tcp # Informix-OnLine connect port
3. $INFORMIXDIR/etc/sqlhosts
t01
$INFORMIXDIR/etc/sqlhosts
# onipcshm . .
# onsoctcp /etc/hosts /etc/services
# sesoctcp
#
# dbname NET-type host port-service-name
online_shm onipcshm t01 informix
online onsoctcp t01 informix
> /usr/informix/chunk1
chown informix /usr/informix/chunk1
chgrp informix /usr/informix/chunk1
chmod 660 /usr/informix/chunk1
,
- .
/dev/null,
-
.
$INFORMIXDIR/etc/onconfig.std . onconfig
.
cp etc/onconfig.std etc/onconfig
vi etc/onconfig
onmonitor
"Parameters" --> "Initialize"
.
ESC, ESC..., "Y" -
"... check for space...",
"...root dbspace" , ,
"...recovering..."
"...question mode..."
"Mode" --> "OnLine"
. .
RC ( /etc/rc3.d
/sbin/rc3.d /etc/rc.local )
S99informix.sh :
# Informix-OnLine
#
INFORMIXDIR=/usr/informix
ONCONFIG=onconfig
export INFORMIXDIR ONCONFIG
$INFORMIXDIR/bin/oninit
######## ##############
K99informix.sh :
# Informix-OnLine shutdown'
#
INFORMIXDIR=/usr/informix
ONCONFIG=onconfig
export INFORMIXDIR ONCONFIG
$INFORMIXDIR/bin/onmode -k -y
######## ##############
, ,
7.0 on* tb*
ONCONFIG - TBCONFIG
SQLEXEC=$INFORMIXDIR/bin/sqlturbo
( )
Informix-STAR'
sqlexecd - S99informix.sh
:
# Informix-OnLine 5.0
#
INFORMIXDIR=/usr/informix
TBCONFIG=tbconfig
export INFORMIXDIR TBCONFIG
$INFORMIXDIR/bin/tbinit
$INFORMIXDIR/bin/sqlexecd sqlturbo
######## ##############
Last-modified: Tue, 15 Jun 1999 14:34:26 GMT