Login  Register

Re: How can i configure " .bash_profile " when try to install Oracle DB 11gR2

Posted by ErmanArslansOracleBlog on Sep 25, 2014; 7:10am
URL: http://erman-arslan-s-oracle-forum.124.s1.nabble.com/How-can-i-configure-bash-profile-when-try-to-install-Oracle-DB-11gR2-tp53p54.html

Yo dont need to configure your bash_profile before the installation. You need to configure it after your installation to connect to your database.

open it with vi editor.
Set the following environment variables according to your environment:

export ORACLE_HOME=Your ORACLE_HOME path
export ORACLE_SID=Your Db SID
export PATH=$PATH:$ORACLE_HOME/bin

Save the file, relogin  (exit and su - oracle maybe) , or you can source the .bash_profile without relogin.. (. .bash_profile) and that's it.


these settings will be enough for you.