Linux下Oracle 10g安装图文教程(3)
时间:2026-01-21
时间:2026-01-21
Linux下Oracle 10g安装图文教程
[root@oracle ~]# useradd -g oinstall -G dba,oper oracle
[root@oracle ~]# echo 'zhu.110' |passwd --stdin oracle
Changing password for user oracle.
passwd: all authentication tokens updated successfully.
5.添加文件
[root@oracle ~]# vim /etc/sysctl.conf
kernel.shmall = 2097152
kernel.shmmax = 2147483648
kernel.shmmni = 4096
kernel.sem = 250 32000 100 128
fs.file-max = 65536
net.ipv4.ip_local_port_range = 1024 65000
net.core.rmem_default = 1048576
net.core.rmem_max = 1048576
net.core.wmem_default = 262144
net.core.wmem_max = 262144
[root@oracle ~]# vim /etc/security/limits.conf
oracle soft nproc 2047
oracle hard nproc 16384
oracle soft nofile 1024
oracle hard nofile 65536
[root@oracle ~]# vim /etc/pam.d/login
session required /lib/security/pam_limits.so
session required pam_limits.so
[root@oracle ~]# vim /etc/profile
if [ $USER = "oracle" ]; then
if [ $SHELL = "/bin/ksh" ]; then
ulimit -p 16384