cat /etc/oracle-release cat /etc/redhat-release uname -r
[root@ol8 ~]# cat /etc/oracle-release Oracle Linux Server release 8.1 [root@ol8 ~]# cat /etc/redhat-release Red Hat Enterprise Linux release 8.1 (Ootpa) [root@ol8 ~]# uname -r 4.18.0-147.el8.x86_64
vi /etc/hosts
[root@ol8 ~]# cat /etc/hosts 127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4 ::1 localhost localhost.localdomain localhost6 localhost6.localdomain6 10.0.1.20 ol8
SELINUX=permissive
setenforce permissive
기존의 값을 주석처리하고 permissive로 대체
[root@ol8 ~]# cat /etc/selinux/config | grep SELINUX= # SELINUX= can take one of these three values: #SELINUX=enforcing SELINUX=permissive
실시간으로 적용
[root@ol8 ~]# setenforce permissive
tmpfs /dev/shm tmpfs size=8g 0 0
mount -o remount /dev/shm
[root@ol8 ~]# df -h | grep shm tmpfs 4.9G 0 4.9G 0% /dev/shm [root@ol8 ~]# mount -o remount /dev/shm [root@ol8 ~]# df -h | grep shm tmpfs 8.0G 0 8.0G 0% /dev/shm
{}