[转]Installation of Oracle 11g Release 2 on Solaris 11 Express x86 and SPARC

本文档详细介绍了如何在Solaris 11 Express x86和SPARC平台上安装Oracle 11g Release 2。包括预安装任务、下载与安装步骤以及安装后任务,同时涵盖了常见的安装错误及其解决方法。
摘要由CSDN通过智能技术生成

在 Solaris 11上安装Oracle 11g

转自:http://ivan.kartik.sk/oracle/install_ora11gR2_solaris11.html


Installation of Oracle 11g Release 2 on Solaris 11 Express x86 and SPARC


This paper (HOWTO) describes step-by-step installation of Oracle 11g release 2 database software on Solaris 11 Express x86 and SPARC. 

This paper covers following steps:

Pre-Instalation Tasks

1. Create oracle User Account

Login as root and create user oracle which belongs to oinstall,dba,asmdba and asmadmin groups.
# groupadd dba
# groupadd oinstall
# groupadd asmdba
# groupadd asmadmin
# echo "oracle localhost:/export/home/&" >> /etc/auto_home
# useradd -g oinstall -G dba,asmdba,asmadmin -m -d /home/oracle -s /bin/bash oracle
# passwd oracle
Note: "#" sign means that you need execute this command as root user.
You can separate ASM and DBA roles between more users. You can create for example "asm" user as ASM administrator. If you don't plan to use ASM then you don't need to create asmdba and asmadmin groups.
 

2. Setting System parameters

Execute following commands to configure system settings for Oracle.
# projadd -U oracle -K "project.max-shm-memory=(priv,5g,deny)" user.oracle
# projmod -sK "project.max-sem-nsems=(priv,512,deny)" user.oracle
# projmod -sK "project.max-sem-ids=(priv,128,deny)" user.oracle
# projmod -sK "project.max-shm-ids=(priv,128,deny)" user.oracle
Note:
- Use "projects -l user.oracle" command to check the settings.
- Values for max-sem-nsems, max-sem-ids, max-shm-ids as shown in above example are the defaults. You need not to specified them unless you want to set higher values.
More info at http://docs.sun.com/app/docs/doc/817-0404/chapter1-33?a=view
- Example (as above) represents setting for "oracle" user. In case your "dba" group will contain more members than "oracle" user then define limits for group (group.dba) instead of user (user.oracle). 


Execute following commands to configure network settings for Oracle.
# ipadm set-prop -p smallest_anon_port=9000 tcp
# ipadm set-prop -p largest_anon_port=65500 tcp
# ipadm set-prop -p smallest_anon_port=9000 udp
# ipadm set-prop -p largest_anon_port=65500 udp
Note: Don't use "ndd" command otherwise settings will not remain persistent.  

Check the settings using following command:
# ipadm show-prop|grep anon|egrep 'tcp|udp'
tcp largest_anon_port rw 65500 65500 65535 1024-65535
tcp smallest_anon_port rw 9000 9000 32768 1024-65535
udp largest_anon_port rw 65500 65500 65535 1024-65535
udp smallest_anon_port rw 9000 9000 32768 1024-65535
  • 1
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值