Справочник Пользователя для IBM 000-8697
Installation and Initial Configuration
1-57
Modify UNIX Startup and Shutdown Scripts
Startup
Add
UNIX
and OnLine utility commands to the
UNIX
startup script that
perform the following steps:
1.
Set the
INFORMIXDIR
environment variable to the full pathname of
the directory in which OnLine is installed. (If multiple versions of
OnLine are running on your
OnLine are running on your
UNIX
system, you must reset
INFOR-
MIXDIR
for each OnLine system that you initialize.)
2.
Set the
PATH
environment variable to include the
$INFOR-
MIXDIR
/bin
directory.
3.
Set the
TBCONFIG
environment variable to the desired configuration
file.
4.
Execute tbinit, which starts OnLine and leaves it in online mode.
Examples of these commands for the C shell and Bourne shell follow:
C shell:
setenv INFORMIXDIR
/
directory_name
setenv PATH $PATH:$INFORMIXDIR/bin
setenv TBCONFIG config_filename
tbinit
Bourne shell:
INFORMIXDIR=
/
directory_name
export INFORMIXDIR
PATH=$PATH:$INFORMIXDIR/bin
export PATH
TBCONFIG=config_filename
export TBCONFIG
tbinit