본문 바로가기

IT/oracle db

Oracle19c 설치하기 ( on Windows 11 )

반응형

직장에서 U2L ( Unix 2 Linux ) 를 진행하면서,

오라클도 EOL ( End of License ) 에 따라 19c 로 대대적인 업그레이드가 될 예정이랍니다.

 

그래서 역시나 예습!의 정신으로 19c 를 다시한번 설치해보도록 했습니다.

그동안에는 CentOS7.9 에 열심히 깔았었는데,

이번엔 로컬용으로 윈도우11 에 설치를 진행하겠습니다.

 

1. 필요파일 다운로드 

https://www.oracle.com/kr/database/technologies/oracle19c-windows-downloads.html

 

Oracle Database 19c Download for Microsoft Windows x64 (64-bit) | Oracle 대한민국

Oracle Database 19c Grid Infrastructure (19.3) for Microsoft Windows x64 (64-bit) Contains the Grid Infrastructure Software including Oracle Clusterware, Automated Storage Management (ASM), and ASM Cluster File System. Download and install prior to install

www.oracle.com

로그인이 필요합니다~ 로그인후 다운받아줍니다~

윈도우용으로 설치하려고 하니,

Oracle Database 19c (19.3) for Microsoft Windows x64 (64-bit)

이걸로 다운받아 줍니다.

 

2. 압축해제 및 설치 실행

19c 버전부터는 압축해제한 설치파일을 그대로 이용하니, 임시폴더가 아닌 실행폴더에 압축해제를 해주어야 합니다.

저는 C:\app\WINDOWS.X64_193000_db_home

에 압축해제 하였습니다.

 

압축해제한 폴더에서 실행파일인 setup.exe 를 더블클릭으로 실행합니다.(관리자권한으로 실행하세요!)

 

3. 실행시 옵선 선택하기

단일 인스턴스 데이터베이스 생성 및 구성

데스크톱클래스

가상계정사용

컨테이너 데이터베이스로 생성 부분은 단일로 쓸때 필요 없겠지만, 체크하고 설치 진행하겠습니다~

 

시간이 좀 걸리지만 성공!

 

4. 사용자를 추가합니다.

cmd 커맨드 창을 열고

sqlplus / as sysdba

alter session set "_ORACLE_SCRIPT"=true;

create user 사용자ID identified by 암호;

grant connect, resource to 사용자ID;

alter user 사용자ID default tablespace users quota unlimited on users;

 

5. 접속프로그램은 sql developer 을 추천합니다.

https://www.oracle.com/database/sqldeveloper/technologies/download/

 

Oracle SQL Developer Downloads

This archive. will work on a 32 or 64 bit Windows OS. The bit level of the JDK you install will determine if it runs as a 32 or 64 bit application. This download does not include the required Oracle Java JDK. You will need to install it if it's not already

www.oracle.com

현재 기준 22.2.1 이네요~

 

생성한 사용자 ID (저는 taisou ) 로 로그인하시면됩니다~

6. 테이블 생성및 CRUD 테스트 완료

번외. 자동으로 설치되는 oracle enterprise database express 접근방법

https://docs.oracle.com/en/database/oracle/oracle-database/tutorial-access-em/index.html?opt-release-19c?learningpath=true&appuser=nobody&appsession=365245126555&contentid=26468&activityname=Access%20the%20Database%20Homepage%20in%20EM%20Database%20Express&eventid=6362#AccessthePDBHomePage 

 

Access the Database Homepage in EM Database Express

The Database Home page is displayed. Continue with other tutorials in the series or log out of Enterprise Manager Database Express. Description of the illustration a3 Description of the illustration a3 Note:Starting with Oracle Database 19c, Oracle EM Expr

docs.oracle.com

https://localhost:5500/em/

로 접속 한후, 

system/입력한암호

containter 쪽은 비워두고 로그인 한다.

 

반응형