If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > Informix > when set up Environment Variables

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 09-11-08, 11:53
jimmyzhu jimmyzhu is offline
Registered User
 
Join Date: Nov 2004
Posts: 7
Question when set up Environment Variables

Hi friends,
I am new informix DB. I review document both informix dba and install.
I do not know when do I need to Setting Environment Variables. before install or after instll. the system is redhat linus 5.0 and informix 10.
anything do i need to do before install informix server ( entire package) ?

Thanks for any help.

JIm
Reply With Quote
  #2 (permalink)  
Old 09-11-08, 15:24
jimmyzhu jimmyzhu is offline
Registered User
 
Join Date: Nov 2004
Posts: 7
when set up Environment Variables

Hi friendd,
Do I need to create INFORMIXDIR directory before install informix 10?

Thanks,

Jim
Reply With Quote
  #3 (permalink)  
Old 09-24-08, 07:19
steellynx steellynx is offline
Registered User
 
Join Date: Oct 2005
Posts: 12
Set the Environment BEFORE you begin the install.

create a /etc/profile.local

export INFORMIXDIR=/opt/IBM/informix;
export INFORMIXSERVER=tcpxxxxxx;
export PATH=$PATH:$INFORMIXDIR/bin;
export DBDATE=DMY4.; <- your local DATE format
export DBMONEY=.; <- your local MONEY format
export DBDELIMITER=#;
export ONCONFIG=onconfig.xxxxxxxx;

After that, create a user/group informix
Reply With Quote
  #4 (permalink)  
Old 09-24-08, 13:39
mallik2004 mallik2004 is offline
Registered User
 
Join Date: Sep 2008
Posts: 33
Hi Jim

While installing,it will ask for the path where you want to do.You can simply give the path.After installation u need to set env variables like INFORMIXDIR,PATH,INFORMIXSERVER.
Reply With Quote
  #5 (permalink)  
Old 10-15-08, 05:40
redhatlinux08 redhatlinux08 is offline
Registered User
 
Join Date: Sep 2008
Posts: 2
[QUOTE=jimmyzhu]Hi friendd,
Do I need to create INFORMIXDIR directory before install informix 10?

Thanks,

Jim[/QUOTE

You need to set the INFORMIXDIR=where you want to install the informix software.
you need to set the PATH=$PATH:$INFORMIXDIR;export PATH

if you are about to create the DB instance, you need to set ONCONFIG=onconfig.file (where default location is $INFORMIXDIR/etc
also set INFORMIXSERVER=nameofinstance where default location is INFORMIXDIR/etc
INFCOMPILER=c4gl (if you are using informix4gl compiler).
Reply With Quote
  #6 (permalink)  
Old 10-15-08, 05:47
mallik2004 mallik2004 is offline
Registered User
 
Join Date: Sep 2008
Posts: 33
Hi Jim

yeah,create a directory and give the same path while installing and after the installation is successfull, set INFORMIXDIR to directory path.
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On