반응형
■ Host 설정
ㅁ /etc/hosts 수정
[root@localhost ~]# vi /etc/hosts ... ### add as below::wq 172.16.0.101 oracle ... |
ㅁ /etc/hostname 수정
• 'oracle' 추가
[root@localhost ~]# vi /etc/hostname oracle |
ㅁ dnf 업데이트
• dnf 전체 업데이트(필요한 부분만 체크하기 어려워서)
[root@localhost ~]# dnf update Oracle Linux 8 BaseOS Latest (x86_64) 15 MB/s | 71 MB 00:04 Oracle Linux 8 Application Stream (x86_64) 11 MB/s | 55 MB 00:04 Latest Unbreakable Enterprise Kernel Release 7 for Or 10 MB/s | 28 MB 00:02 ... kernel-uek-modules-5.15.0-203.146.5.1.el8uek.x86_64 완료되었습니다! [root@localhost ~]# [root@localhost ~]# vi /etc/sysctl.conf ### sysctl.conf 적용(필수 진행) [root@localhost ~]# [root@localhost ~]# [root@localhost ~]# sysctl -p fs.aio-max-nr = 1048576 fs.file-max = 6815744 kernel.shmall = 2097152 kernel.shmmax = 4294967295 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 kernel.shmall = 8388608 kernel.shmmax = 34359738368 kernel.core_pattern = %e.%p.core [root@localhost ~]# |
ㅁ 커널 파라미터 수정(/etc/sysctl.conf)
[root@localhost ~]# vi /etc/sysctl.conf ... ### add as below: fs.aio-max-nr = 1048576 fs.file-max = 6815744 kernel.shmall = 2097152 kernel.shmmax = 4294967295 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 kernel.shmall = 8388608 kernel.shmmax = 34359738368 kernel.core_pattern = %e.%p.core ... [root@localhost ~]# sysctl -p ### 변경내용 적용(필수) [root@localhost ~]# |
※ References:
- ref1
- ref2
- ref3
- ref4
- ref5
- ref6
- ref7
- ref8
- ref9
반응형