ITPub博客

首页 > 数据库 > Oracle > 普遍DB搭建初始参数-linux层

普遍DB搭建初始参数-linux层

原创 Oracle 作者:peng163fj 时间:2015-08-01 16:55:51 0 删除 编辑
vi /etc/security/limits.conf
oracle   soft    nproc    2047
oracle   hard    nproc    16384
oracle   soft    nofile     1024
oracle   hard    nofile    65536




vi  /etc/pam.d/login
session   required    /lib/security/pam_limits.so 
session   required    pam_limits.so




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


sysctl  -p 




vi  /etc/profile
if [ $USER = "oracle" ]; then 
if [ $SHELL = "/bin/ksh" ]; then 
  ulimit -p 16384 
  ulimit -n 65536 
else 
  ulimit -u 16384 -n 65536 
fi


fi




groupadd  oinstall 
groupadd  dba
useradd -g oinstall -g dba -m oracle
passwd  oracle




mkdir -p /u01/app
mkdir /u01/app/oracle
mkdir /u01/app/oradata
mkdir /u01/app/oracle/product
chown -R oracle:oinstall /u01


 
vi /home/oracle/.bash_profile 
umask 022
export ORACLE_BASE=/u01/oracle/app
export ORACLE_HOME=$ORACLE_BASE/product/11.2.0/dbhome_1
export ORACLE_SID=
export LD_LIBRARY_PATH=$ORACLE_HOME/lib:/usr/lib
export PATH=$ORACLE_HOME/bin:$PATH




unzip  p*1of7.zip 
unzip  p*2of7.zip
cd  database
./runInstaller 




在网络环境中。查看junos的ip地址
打开xmanager passive
然后export DISPLAY=10.19.1.229:0.0
export DISPLAY=10.19.11.250:0.0
使用 xdpyinfo检查是否正确

来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/21302630/viewspace-1758672/ ,如需转载,请注明出处,否则将追究法律责任。

请登录后发表评论 登录
全部评论

注册时间:2013-11-20

  • 博文量
    155
  • 访问量
    440178