suse静默安装oracle 11g

本文详细介绍了如何在SUSE Linux Enterprise Server 11上进行Oracle 11g的静默安装,包括检查依赖、创建用户和组、修改系统参数、上传安装包、安装软件、设置环境变量、配置监听以及启动验证等关键步骤。
摘要由CSDN通过智能技术生成

操作系统及Oracle版本
Linux版本SUSE Linux Enterprise Server 11 (x86_64)
Oracle版本Oracle Database 11g Release 2 11.2.0.3.0 
1检查安装依赖系统包

localhost:~ # rpm -q binutils compat-libstdc++ elfutils-libelf elfutils-libelf-devel gcc gcc-c++ glibc glibc-common glibc-devel glibc-headers ksh libaio libaio-devel libgcc libstdc++ libstdc++-devel make numactl-devel sysstat unixODBC unixODBC-devel| grep not

 

2.创建所需的操作系统组和用户

localhost:~# groupadd -g 1000 oinstall
localhost:~# groupadd -g 1200 dba
localhost:~# useradd -u 1100 -g oinstall -G dba oracle
localhost:~# passwd oracle

3.创建安装目录

localhost:~ # mkdir -p /u01/app/oracle/oradata/stream
localhost:~ # chown -R oracle:oinstall /u01
localhost:~ # chmod -R 775 /u01

4.修改内核参数

localhost:~ # vi /etc/sysctl.conf
    kernel.shmmax = 4294967295
    kernel.shmmni = 4096
    kernel.shmall = 2097152
    kernel.sem = 250 32000 100 128
    fs.file-max = 6815744
    fs.aio-max-nr = 1048576
    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
localhost:~ # sysctl -p

5.修改用户限制

localhost:~ # vi /etc/security/limits.conf
    oracle soft nproc 2047
    oracle hard nproc 16384
    oracle soft nofile 1024
    oracle hard nofile 65536


    
6.上传oracle安装包
7.静默安装Oracle软件

localhost:# cd /usr/local/src/database/response
localhost:# vi db_install.rsp
    oracle.install.option=INSTALL_DB_SWONLY
    UNIX_GROUP_NAME=
  • 0
    点赞
  • 2
    收藏
    觉得还不错? 一键收藏
  • 2
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论 2
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值