Professional Documents
Culture Documents
--sqlplus / as sysdba
---set TNS_ADMIN=abracadabra
Windows: set TNS_ADMIN=%ORACLE HOME%\network\admin
Unix/ Linux: export TNS_ADMIN=$ORACLE HOME/network/admin
C:\> set tns_admin=c:\temp
Start the listener by clicking Start. You must start the listener in this way
because you cannot use the Listener Control utility to start the listener running
as an unprivileged local user.
NET START OracleHOME_NAMETNSListenerextproc_listener_name
echo $ORACLE_HOME
echo $TNS_ADMIN
ORACLE BASE
ORACLE_BASE is an environment variable used as base directory for an OFA
installation. On Unix systems, this is usually /app/oracle or /u01/app/oracle.
Windows:
set ORACLE_BASE=C:\oracle
Unix/ Linux:
export ORACLE_BASE=/app/oracle