본문 바로가기

분류 전체보기

(668)
09 - [Oracle 19C] Oracle Connecting Connecting to oracle database • Back in the day, the only way to connect to a database was usually to be on a host . • Now oracle support TCP/IP and Secure TCP/IP connections from clients. • To make connection with oracle we need Oracle net services • Oracle net services installed with the database. • Oracle Net Listener is a separate process that runs on the database server computer. It receive..
08 - [Oracle 19C] Oracle shutdown • To shut down a database and instance, you must first connect as SYSOPER or SYSDBA • We need to shutdown sometimes for specific reasons: change a static parameter Patch the database server perform maintenance or other administrative tasks Abort Immediate Transactional Normal Allows new connections NO NO NO NO Waits until current sessions end NO NO NO Yes Wait until current transactions end NO N..
07 - [Oracle 19C] Oracle startup Database Startup , shutdown and connections Oracle Database 가 시작되는 단계는 아래와 같다. Shutdown >> NoMount >> Mount >> Open 이 모든 단계를 한번에 처리하는 명령어가 "startup" 이다. No mount - The instance is started but is not yet associated with a database. • Search for Spfile, pfile • Read the parameter file • Allocate the SGA • Start the BG process • Open the alert and trace file Mount - The instance is started and is a..
06 - Oracle 19c 설치(오라클 리눅스 7.6) 오라클 리눅스 7.6 이 필요한 경우는 아래의 절차를 참고하면 됩니다. 다운로드 받은 파일을 오라클 19.3 버전을 복사한다. 위치는 /u01/app/oracle/product/19/db_1/ 폴더로 복사한다. [oracle@test db_1]$ unzip LINUX.X64_193000_db_home.zip 설치할때 오류가 발생해서 아래처럼 설정을 변경함. [oracle@test db_1]$ [oracle@test db_1]$ vi /u01/app/oracle/product/19/db_1/cv/admin/cvu_config [oracle@test db_1]$ # Fallback to this distribution id #CV_ASSUME_DISTID=OEL5 # 리눅스 7버전에서는 해당 트릭을 사용할 ..
05 - Oracle 19c 설치(오라클 리눅스 8.8) 다운로드 받은 파일을 오라클 19.3 버전을 복사한다. 위치는 /u01/app/oracle/product/19/db_1/ 폴더로 복사한다. [oracle@test db_1]$ unzip LINUX.X64_193000_db_home.zip 설치할때 오류가 발생해서 아래처럼 설정을 변경함. [oracle@test db_1]$ [oracle@test db_1]$ vi /u01/app/oracle/product/19/db_1/cv/admin/cvu_config [oracle@test db_1]$ # Fallback to this distribution id #CV_ASSUME_DISTID=OEL5 # 리눅스 7버전에서는 해당 트릭을 사용할 필요가 없음 # 리눅스 8버전에서는 # 참고사이트 - https://or..
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/sb..
03 - 오라클 설치 준비 1. Edit the host file The computer file hosts is an operating system file that maps hostnames to IP addresses. You must login as root vi /etc/hosts 2. Automatic Setup for oracle prerequisite , no need to do it manually any more. Run this : yum install -y oracle-database-preinstall-19c this package do a lot of things, like creating groups and Oracle user Note: this command is work only for oracle..
02 - 리눅스 기본 설정(보안 해제 및 호스트 폴더 공유) 오라클을 설치하기 위한 리눅스 기본설정 오라클 테스트 용으로 설치한 리눅스 이므로 보안 설정은 사용안함으로 설정한다. 설정을 변경하고 저장한 다음, 시스템 재부팅을 해야 한다. 호스트 시스템(윈도우11)과 공유폴더 설정하기. [bskim@test ~]$ pwd /home/bskim [bskim@test ~]$ vmware-hgfsclient ORACLE_19c [bskim@test hgfs]$ su Password: [root@test hgfs]# cd /mnt/hgfs [root@test hgfs]# pwd /mnt/hgfs [root@test hgfs]# ll total 0 [root@test hgfs]# gedit /etc/fstab 14번 라인에 새로운 명령어를 추가하고 저장. vmhgfs-fus..