分类: Oracle
2012-04-04 21:32:56
groupadd oinstall
groupadd dba
useradd -m -g oinstall -G dba oracle
id oracle
passwd oracle
mkdir -p u01apporacleproduct10.2.0db_1
chown -R oracleoinstall u01
chmod -R 775 u01
-----------------------------------------------------------------
ORACLE_BASE=u01apporacle; export ORACLE_BASE
ORACLE_HOME=$ORACLE_BASEproduct10.2.0db_1; export ORACLE_HOME
ORACLE_SID=orcl; export ORACLE_SID
PATH=$PATH$ORACLE_HOMEbin ; export PATH
NLS_LANG=AMERICAN_AMERICA.zhs16gbk; export NLS_LANG
----------------------------------------------------------------
kernel.shmmax = 494967295
kernel.shmall = 68435456
kernel.shmmni = 4096
kernel.sem = 250 32000 100 128
net.ipv4.ip_local_port_range = 1024 65000
net.core.rmem_default = 4194304
net.core.rmem_max = 4194304
net.core.wmem_default = 262144
net.core.wmem_max = 262144
sbinsysctl -p