ifup enp0s3
Yum 명령어를 썼을 때
Loaded plugins : langpacks, product-id,
search-disabled-repos, subscription-manager
라는 코드가 나올 때, subscription 등록을 해줘야함
subscription-manager register
로 계정 등록 확인
사용자 이름 : redhat 사용자명 입력(이메일은 빼고),
암호 : 암호 입력
이후
subscription-manager attach
등록 확인
등록을 한 뒤에는 yum 명령어를 사용 가능함
yum update
진행
사전 필수 패키지들을 설치
사전 필수 패키지 종류
설치
yum install binutils compat-libcap1 compat-libstdc++-33
cd 오라클 다운받을 디렉터리/
wget oracle11g_express.rpm.zip (oracle rpm파일 다운로드 링크 주소
ex)https//downloa.oracle 생략)
root계정으로 oracle 계정과 그룹을 생성
groupadd oinstall
groupadd dba
useradd -g oinstall -G dba oracle
passwd oracle
패스워드 등록
vi로 conf 편집
vi/etc/sysctl.conf
fs.aio-max-nr = 1048576
fs.file-max = 6815744
#kernel.shmall = 2097152
#kernel.shmmax = 536870912
kernel.shmmni = 4096
kernel.sem = 250 32000 100 128
net.ipv4.ip_local_port_range = 9000 65500
net.core.rmem_default = 262144
net.core.rmem_max = 4194304
net.core.wmem_default = 262144
net.core.wmem_max = 1048576
자원 제한 설정
vi/etc/security/limits.conf
편집기 접근하여 가장 하단에 추가
oracle soft nproc 2047
oracle hard nproc 16384
oracle soft nofile 1024
oracle hard nofile 65536
oracle soft stack 10240
리눅스 재부팅
reboot