설치 방법 및 환경변수 설정

https://devmg.tistory.com/258

https://bb-dev.tistory.com/16

oracle 11g 다운받아서 압축 푼 파일의 확장자를 .rpm에서 .deb로 바꾸는 이유

<aside> 💡

.rpm → Red Hat, CentOS 등 RHEL계열에서 사용.

.deb → Ubuntu, Debian 등 Debian 계열에서 사용

</aside>

oracle 11g 설치 후 환경변수 추가

sudo vi /etc/profile
ORACLE_BASE=/u01/app/oracle
ORACLE_SID=XE
ORACLE_HOME=$ORACLE_BASE/product/11.2.0/xe
ORACLE_HOME_LISTNER=$ORACLE_HOME/bin/lsnrctl
PATH=$ORACLE_HOME/bin:$PATH
export PATH
export ORACLE_BASE
export ORACLE_SID
export ORACLE_HOME
export ORACLE_HOME_LISTNER
export TMP=/tmp
export TMPDIR=$TMP
source /etc/profile
echo $ORACLE_HOME
-> 밑에 사진 3번째 줄 같이 떠야함

image.png