oracle -install-linux

xhost +
一:Memory Requirements

The following are the memory requirements for installing Oracle Database 11g Release 2 (11.2):
•Minimum: 1 GB of RAM
Recommended: 2 GB of RAM or more
# cat /proc/version
Checking the Software Requirements
•The following or later version of packages for Asianux 3, Oracle Linux 5, and Red Hat Enterprise Linux 5 must be installed
binutils-2.17.50.0.6
compat-libstdc++-33-3.2.3
compat-libstdc++-33-3.2.3 (32 bit)
elfutils-libelf-0.125
elfutils-libelf-devel-0.125
gcc-4.1.2
gcc-c++-4.1.2
glibc-2.5-24
glibc-2.5-24 (32 bit)
glibc-common-2.5
glibc-devel-2.5
glibc-devel-2.5 (32 bit)
glibc-headers-2.5
ksh-20060214
libaio-0.3.106
libaio-0.3.106 (32 bit)
libaio-devel-0.3.106
libaio-devel-0.3.106 (32 bit)
libgcc-4.1.2
libgcc-4.1.2 (32 bit)
libstdc++-4.1.2
libstdc++-4.1.2 (32 bit)
libstdc++-devel 4.1.2
make-3.81
sysstat-7.0.2

unixODBC-2.2.11 (32-bit) or later
unixODBC-devel-2.2.11 (64-bit) or later
unixODBC-2.2.11 (64-bit) or later
====================================================================================
Creating Required Operating System Groups and Users
# more /etc/oraInst.loc
inventory_loc=/u01/app/oraInventory
inst_group=oinstall

# /usr/sbin/groupadd oinstall
# /usr/sbin/groupadd dba
If the oracle user exists, but its primary group is not oinstall or it is not a member of the dba group, then enter the following command
# /usr/sbin/usermod -g oinstall -G dba oracle
If the oracle user does not exist, enter the following command to create it:
# /usr/sbin/useradd -g oinstall -G dba oracle
# passwd oracle

=====================================================================================
Configuring Kernel Parameters
kernel.sem = 1250 640000  1250  512  #semmsl semmns semopm semmni /proc/sys/kernel/sem
kernel.shmall = 4294967296           #/proc/sys/kernel/shmall
kernel.shmmax = 68719476736          #/proc/sys/kernel/shmmax
kernel.shmmni = 4096                 #/proc/sys/kernel/shmmni
fs.file-max = 68157440               #/proc/sys/fs/file-max
net.ipv4.ip_local_port_range = 9000 65500   #/proc/sys/net/ipv4/ip_local_port_range
net.core.rmem_default = 4194304      #/proc/sys/net/core/rmem_default
net.core.rmem_max = 4194304          #/proc/sys/net/core/rmem_max
net.core.wmem_default = 4194304      #/proc/sys/net/core/wmem_default
net.core.wmem_max = 4194304          #/proc/sys/net/core/wmem_max
fs.aio-max-nr = 68157440             #/proc/sys/fs/aio-max-nr

fs.aio-max-nr = 1048576
fs.file-max = 6815744
kernel.shmall = 2097152
kernel.shmmax = 536870912
kernel.shmmni = 4096
kernel.sem = 250 32000 100 128
net.ipv4.ip_local_port_range = 9000 65500
net.core.rmem_default = 262144
net.core.rmem_max = 4194304
net.core.wmem_default = 262144
net.core.wmem_max = 1048576
======================================================
/etc/security/limits.conf
oracle              soft    nproc   2047
oracle              hard    nproc   16384
oracle              soft    nofile  1024
oracle              hard    nofile  65536
oracle              soft    stack   10240
=======================================================
Creating Required Directories
# mkdir -p /u01/app/
# chown -R oracle:oinstall /u01/app/
# chmod -R 775 /u01/app/
========================================================
Configuring the oracle User's Environment
ORACLE_BASE=/u01/app/oracle
ORACLE_SID=ghost
export ORACLE_BASE ORACLE_SID

 

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

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

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

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值