In the process of setup environment for Oracle 11g R2 on SUSE 11 R2 (SLES). I encountered some problems when reach the
2.18 Configuring the oracle User's Environment (
http://docs.oracle.com/cd/E11882_01/install.112/e24321/pre_install.htm#i1011717).
What I tried to do was to first locate the .bash_profile, then write the following to it:
umask 022
#Set the DISPLAY environment variable?
ORACLE_BASE=/u01/app/oracl
e
ORACLE_SID=test
export ORACLE_BASE ORACLE_SID
unset ORACLE_HOME
unset TNS_ADMIN
But first, where is the .bash_profile? I searched it started from /, could not find it. If it does not exist, can I create one? Where to create?
How can I "Set the DISPLAY environment variable"?
DISPLAY=???:0.0
Thanks
PS: I believe another option is to manually type in the above commands.
In this case, the oracle users hoe folder.
log in as oracle and from a cmd prompt:
cd ~
ls -al .bash_profile
>>How can I "Set the DISPLAY environment variable"?
You set it to the client's ip address but the client must be running an X-Windows emulator:
export DISPLAY=1.2.3.4:0.0
this assumes your X-display is on a machine with the ip address 1.2.3.4