환경설정/Oracle

Oracle Express 21c 설치 / sqldeveloper 설치

greenyellow-s 2024. 7. 25. 09:43
728x90
반응형

 

데이터베이스(Database)

 

서로 관련되는 데이터들을 일정한 체계와 순서로 모아 놓은 데이터의 집합

 

DBMS(Data Base Management System)

 

데이터 베이스 관리 시스템은 데이터 베이스를 관리하는 소프트웨어를 의미한다.

 

종류

 

Oracle, MySql, ...


Oracle Express 21c 설치하기

 

1. 설치하기

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

 

Oracle Database Express Edition (XE) Downloads | Oracle 대한민국

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 Services only provid

www.oracle.com

 

 

2. OracleXE213_Win64.zip 압축풀기

 

3. setup.exe 더블클릭

 

 

4. 설치하기

다음 >

동의  -> 다음 > 

다음 >

암호 : 비밀번호(Oracle 관리자 비밀번호, ***기억해야합니다!)

 

전부 다음 눌러 주고 데이터베이스 비밀번호 입력에 관리자 비밀번호 설정하기

 

5. 설치 후 완료됐다는 창 뜨면 끝

 

 

설치 확인

 

[ 윈도우 + R ] 누르고 [ services.msc ] 입력 후 

OracleServiceXE

OracleOraDB21Home1TNSListener

이 두 개가 실행 중인지 확인

 

Listener 확인

 

2개의 파일에서 [HOST = pc이름] [PORT = 1521] 확인한다. -> 메모장으로 열면 확인 가능하다.

경로 : C:\app\Administrator\product\21c\homes\OraDB21Home1\network\admin

 

listener.ora(서버) : 클라이언트가 오라클 서버에 접속하기 위해서 서버 컴퓨터에 하는 설정

tnsnames.ora (클라이언트) : 클라이언트에서 오라클 서버에 접속할 때 필요한 설정


sqldeveloper 설치

 

1. 파일 다운로드

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

 

2. 압축 풀기

 

3. sqldeveloper.exe 더블 클릭, 실행

 

설치 완료

 


sql 실행

 

[ 실행 방법 ]

1. 시작 → Oracle-OraDB21Home1 → SQL Plus

2. [윈도우 + R] -> cmd, sqlplus system/비밀번호

 


sqldeveloper 실행

 

1.왼쪽 접속에서 [ + ] 클릭

 

2. 관리자 계정 설정 / 비밀번호는 sql 만들때 설정했던 비밀번호로 입력

 

 

 

관리자계정, SYSTEM 으로 작성 가능하도록 설정 완료 !

 

 


 

*** 관리자 계정으로 연습하지 말고 따로 사용자 계정을 만들어서 사용하는 것을 추천한다.

 

사용자 계정 만드는 방법 :

https://greenyellow-s.tistory.com/36

 

Oracle, hr 계정 생성하기 / 연습 스키마 만들기

hr 계정 생성하기 오라클 18c 버전 이후에는 연습용 스키마가 따로 분리되어 있어서 따로 설치해야한다.반드시 관리자 계정(system)에서 설치 1. 명령 프로토콜 [ 관리자 권한 ] 으로 실행 2. 스키

greenyellow-s.tistory.com

 

https://greenyellow-s.tistory.com/38

 

Oracle, 사용자 계정 만들기 / 계정 삭제

사용자 계정 만들기 반드시 관리자 계정(system)에서 해야된다. 명령 프로토콜 [윈도우] + R -> cmd oracle 실행  SQL> sqlplus system/비밀번호 SQL> create user 사용자계정명 identified by 암호; 사용자 계정에

greenyellow-s.tistory.com

 

 

728x90
반응형