Oracle Environment Variables

You must configure some environment variables on the server to install and run Oracle Database 12c Release 2.

Note: If ORACLE_BASE is used, Oracle recommends not to set the ORACLE_HOME environment variable but that you choose the default path suggested by the Universal Installer. When you have finished the installation of Oracle Database 12c Release 2 you can set the ORACLE_HOME environment variable.

Following Oracle environment variables must be present in the Oracle users profile (.bash_profile).

The oracle users .bash_profile file can be updated using following commands:

# su – oracle
# cat >> .bash_profile << EOF
# export ORACLE_BASE=/opt/oracle
# export ORACLE_SID=PROD
# EOF