/etc/sysctl.conf

kernel.shmmni = 4096
kernel.sem = 250 32000 100 128
fs.file-max = 6815744
net.ipv4.ip_local_port_range = 9000 65500
net.core.rmem_default = 4194304
net.core.wmem_default = 262144
net.core.rmem_max = 4194304
net.core.wmem_max = 1048576
fs.aio-max-nr = 1048576

/etc/security/limits.conf

oracle soft nproc 2047
oracle hard nproc 16384
oracle soft nofile 1024
oracle hard nofile 65536

/etc/profile

if [ \$USER = “oracle” ]; then
if [ \$SHELL = “/bin/ksh” ]; then
ulimit -p 16384
ulimit -n 65536
else
ulimit -u 16384 -n 65536
fi
umask 022
fi
.bash_profile
export PATH
export LANG=en_US.utf8
export LC_ALL=en_US.utf8
umask 022
ORACLE_BASE=/home/oracle/app
ORACLE_SID=luke
ORACLE_HOME=/home/oracle/app/product/11.2.0/dbhome_1
ORACLE_HOSTNAME=dfhr-db
PATH=$PATH:$ORACLE_HOME/bin
export ORACLE_BASE ORACLE_SID ORACLE_HOME ORACLE_HOSTNAME
export PATH
alias ss1=”sqlplus ‘/as sysdba'”
export NLS_LANG=AMERICAN_AMERICA.ZHS16GBK

yantaisolo

作者 yantaisolo