To configure operating system environment variables for your database
instance on Linux and UNIX systems:
1. Open an operating system command window.
2. Ensure that the environment variables ORACLE_HOME and ORACLE_SID are set
properly. The commands to use to set these environment variables depend on the
shell you use to interface with the operating system. For example:
■ (bash or ksh) export ORACLE_SID=orcl
■ (csh or tcsh) setenv ORACLE_SID orcl
You can set these with the scripts coraenv (for the C shell) and oraenv (for other
shells). These scripts are typically located in the /usr/local/bin directory.
3. Ensure that the $ORACLE_HOME/bin directory is in your PATH environment variable.
4. You can also edit the profile file for your default shell in the home directory of the
software owner, for example /home/oracle, so that these environment variables
are set every time you log in as that user.
... zobacz całą notatkę
Komentarze użytkowników (0)