설치 내역 확인

cat /etc/oracle-release
cat /etc/redhat-release
uname -r



[root@node1 ~]# cat /etc/oracle-release
Oracle Linux Server release 9.2

[root@node1 ~]# cat /etc/redhat-release
Red Hat Enterprise Linux release 9.2 (Plow)

[root@node1 ~]# uname -r
5.15.0-101.103.2.1.el9uek.x86_64




리눅스 설정 변경

SELINUX=permissive


setenforce permissive


기존의 값을 주석처리하고 permissive로 대체

[root@node1 ~]# cat /etc/selinux/config | grep SELINUX= | grep -v '^#'
SELINUX=permissive

실시간으로 적용

[root@node1 ~]# setenforce permissive





tmpfs                   /dev/shm                tmpfs   size=8g         0 0


mount -o remount /dev/shm



tmpfs                   /dev/shm                tmpfs   size=8g         0 0


[root@node1 ~]# df -h | grep shm
tmpfs                4.9G     0  4.9G   0% /dev/shm

[root@node1 ~]# mount -o remount /dev/shm

[root@node1 ~]# df -h | grep shm
tmpfs                8.0G     0  8.0G   0% /dev/shm




 vi /etc/hosts

단독 서버일 경우 본 서버의 IP 정보 등록

10.0.1.123  vm

RAC 구성의 경우 접속할 원격 노드의 정보를 포함한 모든 IP 정보 등록

### Public
10.0.1.101  node1           node1.localdomain
10.0.1.102  node2           node2.localdomain
### Private
10.0.3.101  node1-priv      node1-priv.localdomain
10.0.3.102  node2-priv      node2-priv.localdomain
### Virtual
10.0.1.201  node1-vip       node1-vip.localdomain
10.0.1.202  node2-vip       node2-vip.localdomain
### SCAN
10.0.1.191  cluster-scan    cluster-scan.localdomain
10.0.1.192  cluster-scan    cluster-scan.localdomain
10.0.1.193  cluster-scan    cluster-scan.localdomain


사용하지 않는 서비스 끄기

systemctl stop bluetooth.service
systemctl disable bluetooth.service
systemctl stop firewalld
systemctl disable firewalld
systemctl stop chronyd
systemctl disable chronyd
systemctl stop avahi-daemon.socket
systemctl disable avahi-daemon.socket
systemctl stop avahi-daemon
systemctl disable avahi-daemon


[root@node1 ~]# systemctl stop bluetooth
[root@node1 ~]# systemctl disable bluetooth
Removed "/etc/systemd/system/dbus-org.bluez.service".
Removed "/etc/systemd/system/bluetooth.target.wants/bluetooth.service".

[root@node1 ~]# systemctl stop firewalld
[root@node1 ~]# systemctl disable firewalld
Removed "/etc/systemd/system/multi-user.target.wants/firewalld.service".
Removed "/etc/systemd/system/dbus-org.fedoraproject.FirewallD1.service".

[root@node1 ~]# systemctl stop chronyd
[root@node1 ~]# systemctl disable chronyd
[root@node1 ~]# mv /etc/chrony.conf /etc/chrony.conf.bak

[root@node1 ~]# systemctl stop avahi-daemon.socket
[root@node1 ~]# systemctl disable avahi-daemon.socket
Removed "/etc/systemd/system/sockets.target.wants/avahi-daemon.socket".

[root@node1 ~]# systemctl stop avahi-daemon
[root@node1 ~]# systemctl disable avahi-daemon
Removed "/etc/systemd/system/multi-user.target.wants/avahi-daemon.service".
Removed "/etc/systemd/system/dbus-org.freedesktop.Avahi.service".