StoryCode

2020-098.Oracle.VMWare.OracleLinux 에 설치하기

OS 설치, VMWare 설치 관련
반응형

참조 : https://www.kangtaeho.com/86

참조 : https://ttend.tistory.com/711

참조 : https://positivemh.tistory.com/485

 

1) Oracle 7.7 Download

 

2) VMWare > New > Typical > I will install...later > linux + Oracle Linux 64 bit

 

3) 40G 이상 선택, CD 에 iso 삽입, Power On

 

4) 언어는 "한국어" 선택

 

5) 시스템.설치대상에서 파티션 클릭후 "파티션을 설정합니다." 후 "완료"

 

6) 파티션 설정

/app 11.46 GiB 표준 ext4

/home 5000 MiB 표준 ext4

/boot 1024 MiB 표준 ext4

/var 5000MiB 표준 ext4

/ 10000MiB 표준 ext4

swap 8196 Mib LVM swap

 

7) 소프트웨어선택후 설치

최소설치 + 호환성 라이브러리 + 개발용 툴

 

8) cd /etc/sysconfig/network-scripts 에서 ONBOOT=yes 후, systemctl restart network.

# NAT 연결시. Physical Net 연결시에는 확인 불필요.

ip addr show 로 ip 확인

ip route 로 gateway ip 확인

cat /etc/resolv.conf 로 nameserver ip확인

ip link show eth0 로 mac address 확인

 

9) cd /etc/sysconfig/network-scripts

vi ifcfg-ens33

# BOOTPROTO=dhcp

BOOTPROTO="static"

IPADDR="ip"

NETMASK="255.255.255.0"

GATEWAY="gateway ip"

DNS1="nameserver ip"

 

> systemctl restart network.

 

 

10) 

yum install openssh-server openssh-clients openssh-askpass

11) 

vi /etc/ssh/sshd_config

Port 22 # #해제

 

> firewall-cmd --permanent --zone=public --add-port=22/tcp
> service sshd restart

 

 

12) 오라클 다운로드

https://www.oracle.com/technetwork/database/enterprise-edition/downloads/oracle19c-linux-5462157.html

 

13) 

yum install -y oracle-database-preinstall-19c.x86_64
passwd oracle

su - oracle

 

반응형