sysctl.conf
[root@localhost ~] vi /etc/sysctl.conf
>> sysctl.conf 파일 안에 작성
fs.file-max = 6815744
fs.aio-max-nr = 1048576
kernel.shmall = 2251799813685247
kernel.shmmax = 4398046511104
kernel.shmmni = 4096
kernel.sem = 250 32000 100 128
net.core.rmem_default = 262144
net.core.rmem_max = 4194304
net.core.wmem_default = 262144
net.core.wmem_max = 1048576
net.ipv4.ip_local_port_range = 9000 65500
vm.hugetlb_shm_group = 1001
**[root@localhost ~] /sbin/sysctl -p # 현재 커널 파라미터 값 바꿔! 라는 명령어**
/sbin/sysctl -p 하면 나오는 모습
pam.d/login
[root@localhost ~] vi /etc/pam.d/login
>> pam.d/login 파일 안에 작성
session required /lib/security/pam_limits.so
selinux/config
[root@localhost ~] vi /etc/selinux/config
>> selinux/config 파일 안에 작성
SELINUX=enforcing 부분을 주석처리 후 SELINUX=permissive 또는 disabled 추가하거나
SELINUX=enforcing 부분을 SELINUX=permissive또는 disabled로 변경
security/limits.conf
[root@localhost ~] vi /etc/security/limits.conf
>> security/limits.conf 파일 안에 작성
oracle soft nproc 2047
oracle hard nproc 16384
oracle soft nofile 1024
oracle hard nofile 65536
oracle soft stack 10240
oracle hard stack 32768
oracle hard memlock 134217728
oracle soft memlock 134217728
[root@localhost ~] groupadd oinstall # oinstall이라는 이름의 그룹 생성
[root@localhost ~] groupadd dba # dab라는 이름의 그룹 생성
그룹 생긴거 tail로 확인
[root@localhost ~] useradd -g oinstall -G dba oracle
oracle user 생긴거랑 그룹 설정 확인
[root@localhost ~] passwd oracle # oracle의 패스워드 설정 : 귀찮아서 그냥 oracle이라고 함