SOLARIS 10下安装ORACLE 11G

  1. 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
  2. 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
  3. 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。

Solaris10下安装Oracle11g(官方文档)

系统要求配置和信息查询

启用图形化界面:

$xhost fully_qualified_remote_host_name

例如:

$xhost

如果没安装软件,可以用SSH/rlogin/telnet等连接:

$telnet fully_qualified_remote_host_name

如果不是root帐号,可以用以下命令切换到root用户:

$su-root

password:

#

内存要求:最少1GB,建议2GB;用以下命令查看内存大小:

#/usr/sbin/prtconf|grep"Memory size"

用以下命令查看配置的SWAP大小:

#/usr/sbin/swap-l

Swap大小要符合以下要求:

RAM Swap Space

Between1GB and2GB 1.5times the size of the RAM Between2GB and16GB Equal to the size of the RAM

More than16GB16GB

用以下命令查看可用的内存和SWAP大小:

#sar-r-i n#n是下次重复的延迟秒数;i是重复的次数;

查看系统架构是否可以运行软件:

#/bin/isainfo-kv

/tmp目录至少要1GB空间,查看/tmp目录大小命令:

#df-k/tmp

安装版本需要磁盘空间(GB) Standard Edition One 4.6

Custom(Enterprise Edition+custom install options) 4.7

查看系统版本:

#uname-r

查看升级信息:

$cat/etc/release

要求以下系统软件包:

∙SUNWarc

∙SUNWbtool

∙SUNWhea

∙SUNWlibC

∙SUNWlibm

∙SUNWlibms

∙SUNWsprot

∙SUNWtoo

∙SUNWi1of

∙SUNWi1cs(ISO8859-1)

∙SUNWi15cs(ISO8859-15)

∙SUNWxwfnt

∙SUNWcsl

查看方法:

#pkginfo-i SUNWarc SUNWbtool SUNWhea SUNWlibC SUNWlibms SUNWsprot\ SUNWtoo SUNWi1of SUNWi1cs SUNWi15cs SUNWxwfnt

安装软件包方法:

#pkgadd-R SUNWxwfnt all

编译器要求:

Oracle Solaris Studio12(C and C++5.9)is supported with Pro*C/C++,Oracle Call Interface,Oracle C++Call Interface,and Oracle XML Developer's Kit(XDK) for Oracle Database11g Release2.

系统补丁要求:

Installation Type or Product Requirement

All installations Patches for Oracle Solaris10:

∙120754-06:SunOS5.10_x86libmtsk

∙119961-05:SunOS5.10_x86:Assembler

∙119964-14:SunOS5.10_x86Shared library p

atch for C++_x86

∙137104-02

∙139575-03

∙139556-08

∙141445-09(11.2.0.2)

Installation Type or Product Requirement

∙141415-04

Database Smart Flash Cache(An Enterprise Edition only feature.)The following patches are required for Oracle Solaris on x86-64(64-bit)if you are using the flash cache fea ture:

140797-01

140900-01

141017-01

141415-10

141737-05

#/usr/sbin/patchadd-p|grep119963

创建用户和用户组

以下用户组是要求创建的:

∙The Oracle Inventory group(typically,oinstall)

∙The OSDBA group(typically,dba)

∙The Oracle software owner(typically,oracle)

∙The OSOPER group(Optional.Typically,oper)

查看oinstall用户组是否存在的命令:

#more/var/opt/oracle/oraInst.loc

如果存在,会输出类似以下内容:

inventory_loc=/u01/app/oracle/oraInventory

inst_group=oinstall

查看dba组是否存在:

#grep dba/etc/group

用以下命令创建用户组oinstall和dba:

#/usr/sbin/groupadd oinstall

#/usr/sbin/groupadd dba

查看oracle用户是否存在:

#id-a oracle

如果存在Oracle帐号但它不属于oinstall和dba组,则用以下命令修改它:

#/usr/sbin/usermod-g oinstall-G dba oracle

如果不存在oracle帐号,用以下命令创建:

#/usr/sbin/useradd-d/export/home/oracle-m-s/bin/bash-g oinstall-G dba oracle

用以下命令修改oracle用户密码:

#passwd-r files oracle

在Solaris10上设置内核参数

Resource Control Recommended Value

project.max-sem-ids100

相关文档
最新文档