How to set ORAENV in linux [message #271834] |
Wed, 03 October 2007 01:56 |
altafhk
Messages: 45 Registered: June 2007 Location: Islamabad
|
Member |
|
|
Every time when i open terminal, I have to set ORAENV variable in linux. I tried to find out .bash_profile but i can't find where it resides.
|
|
|
|
|
Re: How to set ORAENV in linux [message #272080 is a reply to message #272062] |
Thu, 04 October 2007 00:02 |
mson77
Messages: 208 Registered: August 2007 Location: Brazil
|
Senior Member |
|
|
Hello altafhk,
Regarding your question, I will post an example:
[oracle@mylinux ~]$ env|grep ORA
ORACLE_SID=MYSID
ORACLE_BASE=/u01/app/oracle
ORACLE_TERM=xterm
ORACLE_HOME=/u01/app/oracle/product/10.2.0/db_1
[oracle@mylinux ~]$
And to have these variables set you should place these lines below into .bash_profile file:
ORACLE_BASE=/u01/app/oracle; export ORACLE_BASE
ORACLE_HOME=$ORACLE_BASE/product/10.2.0/db_1; export ORACLE_HOME
ORACLE_SID=MYSID; export ORACLE_SID
ORACLE_TERM=xterm; export ORACLE_TERM
Regards,
mson77
|
|
|
|
|
|
|
|
|
|
Re: How to set ORAENV in linux [message #539330 is a reply to message #538024] |
Fri, 13 January 2012 07:59 |
|
hua052011
Messages: 2 Registered: January 2012 Location: canada
|
Junior Member |
|
|
Hi
You can find this info by using search box in the top of website with some keywords related before posting questions.
If you want to get more materials that related to this topic, you can visit: spam url removed by jd
Best regards.
[Updated on: Fri, 13 January 2012 08:08] by Moderator Report message to a moderator
|
|
|