Thursday, October 20, 2011

Setup sqlplus for Oracle XE

Ubuntu.

Edit your .bashrc file to include the lines:
ORACLE_HOME=/usr/lib/oracle/xe/app/oracle/product/10.2.0/server
PATH=$PATH:$ORACLE_HOME/bin
export ORACLE_HOME
export ORACLE_SID=XE
export PATH

To apply changes:
. ~/.bashrc

No comments:

Post a Comment