본문 바로가기

개발서버구축

[Oracle 서버 구축] 1. Oracle DBMS 11g 설치, dbeaver 세팅

728x90

<구축 환경>

OS : Windows 11 64 bit

Oracle DBMS : 11g

오라클 클라이언트툴 : 디비버(Dbeaver)

 

타켓 DB 서버와 DB link로 연결하여 데이터 이관



1. Oracle 클라이언트 다운로드

Oracle 11g download
오라클 데이터베이스 11g 설치 링크
https://www.oracle.com/database/technologies/xe-prior-release-downloads.html

 

XE Prior Release Archive

Getting Started: Support Oracle Database Express Edition (XE) is a community supported edition of the Oracle Database family. Please go to the Oracle Database XE Community Support Forum for help, feedback, and enhancement requests. Note: Oracle Support Ser

www.oracle.com

 

1.1 오라클 계정 가입 후 다운로드

Oracle Database Express Edition (XE) Release 11.2.0.2.0(11gR2)

 

 

1.2 오라클 클라이언트 설치 진행

 

설치 중 입력하는 패스워드가 내 localhost 데이터베이스 비밀번호

 

 

오라클 클라이언트 설치 finish

 

 

1.3 오라클 클라이언트 설치 확인

환경변수

 

오라클 클라이언트와 Sqlplus가 정상적으로 설치되었다면 cmd 창을 통해 확인이 가능하다.

 

cmd창 > sqlplus

sqlplus 실행

 

환경변수 [PATH]와 sqlplus 설치되면 나오는 결과

참고로, Sqlplus는 Oravle DBMS가 설치된 서버에 접근하는 클라이언트출로 오라클에서 기본으로 제공한다.

 

 

 


2. 데이터베이스 설정

 

2.1 디비버(Dbeaver) 커뮤니티 다운로드 링크

https://dbeaver.io/download/

 

 

Windows(installer) 선택 후 설치

 

 

2.2 디비버 실행

 

콘센트 아이콘 클릭

 

 

ORACLE 데이터베이스 선택

 

 

Host : localhost
Database SID : XE
Username : system
Role : Normal
Password : 오라클11g 설치할 때 입력했던 패스워드

 

 

Default Database를 XE로 수정하고 Libraries에 있는 것 모두 삭제

 

 

Add Files 들어가서 C:\oraclexe\app\oracle\product\11.2.0\server\jdbc\lib 아래 경로

ojdbc6.jar 파일 클릭

 

 

Find Class 클릭해서 oracle.jdbc.driver.OravleDriver

 

 

마지막으로 Tetst Connection ... 클릭해서 연결 확인하면 끝