Skip to Main Content

Oracle Database Discussions

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

.bash_profile (linux)

redologgerJul 17 2012 — edited Jul 18 2012
hi,

practicing installation oracle database 11g on oracle linux.

I am setting the oracle user environment

ORACLE_BASE=/u01/app/oracle
ORACLE_HOME=$ORACLE_BASE/product/11.2.0/dbhome_1
ORACLE_SID=ORCL
LD_LIBRARY_PATH=$ORACLE_lib
PATH=$PATH:$ORACLE_HOME/bin

on the .bash_profile.

I manage to find the hidden file via $ ls -la | grep .bash_profile

I have edit it and run the startup script with . .bash_profile

I did echo $ORACLE_BASE and saw the relevant path of my oracle base.

SO i exit out as oracle and then log in back again to env but fail to see all the setting above.

SO i did a . .bash_profile and again it echo the setting.

Question is , something is wrong, cos the correct way is, every time i log into oracle, or su to oracle, and then env , i should see my env setting.

please further advice on how to make it permanent .
This post has been answered by Zoltan Kecskemethy on Jul 17 2012
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Aug 15 2012
Added on Jul 17 2012
10 comments
18,843 views