1. After logging on to Oracle, enter the following command:
- [Oracle @ localhost ~] $ Vi. bash_profile
2. Add from # huzia.
- #. Bash_profile
- # Get the aliases and functions
- If [-f ~ /. Bashrc]; then
- .~ /. Bashrc
- Fi
- # User specific environment and startup programs
- PATH= $ PATH: $ HOME/bin
- Export PATH
- # Huzia 2011.08.28
- # User specific enviroment and startup programs
- TMP=/Tmp; export TMP
- TMPDIR= $ TMP; export TMPDIR
- Umask 022
- #ORACLE_HOSTNAME=Dbs1; Export ORACLE_HOSTNAME
- ORACLE_BASE=/U01/app/oracle; export ORACLE_BASE
- ORACLE_HOME= $ ORACLE_BASE/product/11.2.0/dbhome_1; export ORACLE_HOME
- ORACLE_SID=Orcl; Export ORACLE_SID
- ORA_CRS_HOME= $ ORACLE_BASE/crs; export ORA_CRS_HOME
- PATH= $ ORACLE_HOME/bin: $ ORA_CRS_HOME/bin:/usr/sbin: $ PATH; export PATH
- LD_LIBRARY_PATH= $ ORACLE_HOME/lib:/usr/lib; export LD_LIBRARY_PATH
- CLASSPATH= $ ORACLE_HOME/JRE: $ ORACLE_HOME/jlib: $ ORACLE_HOME/rdbms/jlib; export CLASSPATH
- ORACLE_UNQNAME= $ ORACLE_SID; export ORACLE_UNQNAME
- ~
- ~
- ~
- ~