配置resource project
点击(此处)折叠或打开
- projadd group.dba
- projmod -s -K \"project.max-shm-memory=(priv,2gb,deny)\" group.dba
- projmod -s -K \"project.max-sem-ids=(priv,256,deny)\" group.dba
- projmod -s -K \"process.max-file-descriptor=(priv,65536,deny)\" group.dba
- oracle::::project=group.dba
创建需要的用户
点击(此处)折叠或打开
- groupadd dba
- groupadd oinstall
- useradd -d /export/home/oracle -m -s /bin/bash -g oinstall -G dba oracle
- passwd -r files oracle
创建需要的目录
点击(此处)折叠或打开
- mkdir -p /u01/app/oracle
- chown -R oracle:oinstall /u01/app/oracle
- chmod -R 775 /u01/app/oracle
配置.profile文件
点击(此处)折叠或打开
- umask 022
- ulimit -s 32768
- ulimit -n 4096
- export ORACLE_BASE=/u01/app/oracle
- export ORACLE_HOME=/u01/app/oracle/product/11.2.0/db_home1
- export ORACLE_SID=TestDB11
- export ORACLE_UNQNAME=TestDB11
- export ORACLE_HOSTNAME=Solaris111.cuug.net
- export PATH=$ORACLE_HOME/bin:$PATH
来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/17013648/viewspace-1073489/,如需转载,请注明出处,否则将追究法律责任。
转载于:http://blog.itpub.net/17013648/viewspace-1073489/