본문 바로가기

Database/Oracle

04 - OS configuration

 

 

 

[oracle@test ~]$ vi .bash_profile


# vi /home/oracle/.bash_profile
# Note: bash_profile is a configuration file defines tasks that the shell executes
# for every user who logs in.


export TMP=/tmp
export TMPDIR=$TMP
export ORACLE_HOSTNAME=test.com
export ORACLE_UNQNAME=orcl
export ORACLE_BASE=/u01/app/oracle
export ORACLE_HOME=$ORACLE_BASE/product/19/db_1
export ORACLE_SID=orcl
export PATH=/usr/sbin:$PATH
export PATH=$ORACLE_HOME/bin:$PATH
export LD_LIBRARY_PATH=$ORACLE_HOME/lib:/lib:/usr/lib
export CLASSPATH=$ORACLE_HOME/jlib:$ORACLE_HOME/rdbms/jlib

 

 

 

파일 수정 후, 재부팅하고 다시 oracle 유저로 로그인 한다.