Linux CentOS 7 Oracle 18c Express 설치 진행
// 다운로드 및 설치 진행
# curl -o oracle-database-preinstall-18c-1.0-1.el7.x86_64.rpm https://yum.oracle.com/repo/OracleLinux/OL7/latest/x86_64/getPackage/oracle-database-preinstall-18c-1.0-1.el7.x86_64.rpm
# yum -y localinstall oracle-database-preinstall-18c-1.0-1.el7.x86_64.rpm
# yum -y localinstall oracle-database-xe-18c-1.0-1.x86_64.rpm
// SYSDBA 계정의 패스워드를 설정 합니다. 최소한 하나의 문자가 대문자로 설정 -0-;;
# /etc/init.d/oracle-xe-18c configure
//Sqlplus 를 실행하기 위한 환경 설정
// oracle 계정으로 로그인 진행
# su - oracle
// 환경 변수 설정 진행
# vi ~oracle/.bash_profile
-----------------------------------------------------------------------------------------------------------------------
# .bash_profile
# Get the aliases and functions
if [ -f ~/.bashrc ]; then
. ~/.bashrc
fi
# User specific environment and startup programs
PATH=$PATH:$HOME/.local/bin:$HOME/bin
export PATH
# 해당 부분을 추가 하였습니다.
export ORACLE_HOME=/opt/oracle/product/18c/dbhomeXE
export TNS_ADMIN=$ORACLE_HOME/network/admin
export ORACLE_SID=XE
---------------------------------------------------------------------------------------------------------------------
// sqlplus 로그인 진행
# /opt/oracle/product/18c/dbhomeXE/bin/sqlplus '/as sysdba'
// Oracle User 계정 생성 , 계정명에 c## 이 들어가야하는거 같습니다 -0-;;;
SQL> startup;
SQL> create user c##gmission identified by c##testuser;
SQL> grant connect ,resource ,dba to c##testuser;
//방화벽 목록추가
# firewall-cmd --permanent --add-port=1521/tcp
# systemctl restart firewalld
// oracle 서비스 시스템 시작시 구동 진행
# systemctl enable oracle-xe-18c
부족한 내용이지만 읽어주셔서 감사합니다 (__)