Oracle 10GR2 Install For HP UX 11i v3

回复 收藏
Oracle 10GR2 Install For HP UX 11i v3

1、硬件安装要求

用命令查看内存大小:
# /usr/contrib/bin/machinfo | grep -i Memory

交换空间至少2G,用以下命令查看:
# /usr/sbin/swapinfo –a

/tmp空间至少400m,用以下命令查看:
# bdf /tmp

查看操作系统是否是64位,必须是64位操作系统。
# /bin/getconf KERNEL_BITS


2、软件安装要求

查看操作系统版本,版本必须是11.23以上
# uname -a
HP-UX hostname B.11.23 ia64 109444686 unlimited-user  license


用以下命令查看是否安装如下补丁,PHSS_33279为补丁号
/usr/sbin/swlist -l patch | grep PHSS_33279

以下为安装oracle 10g需要安装的补丁列表:
For all installations on HP-UX 11i v3 (11.23), the following
patches are required:
– BUNDLE11i B.11.23.0409.3: Patch Bundle for HP-UX 11i
V3
Note: You must have the August 2004 version of
BUNDLE11i B.11.23.0408.1 for HP-UX 11i v3 on your
system prior to updating to the HP-UX 11i v3 September
2004 or later release.
PHCO 32426: Reboot(1M) cumulative patch
– PHKL 32646: wsio.h header file patch
– PHKL 32632: Message Signaled Interrupts (MSI and
MSI-X)
– PHKL 32645: SIO (IO) subsystem MSI/MSI-X/WC Patch
– PHKL 33552: VM Copy on write data corruption fix
– PHSS_31850: 11.23 assembler patch
– PHSS_31851: 11.23 Integrity Unwind Library
– PHSS_31854: 11.23 milli cumulative patch
– PHSS_31855: 11.23 aC++ Runtime (IA: A.05.60, PA
A.03.60)
– PHSS_33275: s700_800 11.23 linker + fdp cumulative patch
– PHSS_33276: 11.23 Math Library Cumulative Patch
■ For PL/SQL native compilation and installation of
Pro*C/C++, Oracle Call Interface, Oracle C++ Call Interface,
or Oracle XML Developer’s Kit (XDK) , the following patches
are required:
– PHSS_33278: aC++ Compiler
PHSS_33279: aC++ Compiler
– PHSS_33277: HP C Compiler
– PHSS_33279: HP C Compiler
■ For all installations, the following JDK patches are required:
– PHCO_31553: s700_800 11.23 pthread library cumulative
patch
– PHKL_31500: s700_800 11.23 sept04 base patch
– PHSS_32213: s700_800 11.23 aries cumulative patch
   

3、新建用户和组
# /usr/sbin/groupadd oinstall
# /usr/sbin/groupadd dba
# /usr/sbin/usermod -g oinstall -G dba oracle
# /usr/sbin/useradd -g oinstall -G dba oracle
修改oracle用户密码
# passwd oracle


4、修改操作系统内核参数

运行#sam     进入Kernel Konfigration修改内核参数

要修改的参数如下:
ksi_alloc_max (nproc*8)
executable_stack 0
max_thread_proc 1024
maxdsiz 1073741824 (1 GB)
maxdsiz_64bit 2147483648 (2 GB)
maxssiz 134217728 (128 MB)
maxssiz_64bit 1073741824 (1 GB)
maxuprc ((nproc*9)/10)
msgmap (msgtql+2)
msgmni (nproc)
msgseg 32767
msgtql (nproc)
ncsize (ninode+1024)
nfile (15*nproc+2048)
nflocks (nproc)
ninode (8*nproc+2048)
nkthread (((nproc*7)/4)+16)
nproc 4096
semmni (nproc)
semmns (semmni*2)
semmnu (nproc-4)
semvmx 32767

shmmax The size of physical memory or 1073741824
(0X40000000), whichever is greater.
注意:基于性能考虑,此值必须大于或等于可用的物理内存

shmmni 512
shmseg 120
vps_ceiling 64

5、新建文件夹并对文件夹赋权# mkdir -p /oracle
# chown -R oracle:oinstall /oracle
# chmod -R 775 /oracle
# mkdir -p /oradata
# chown -R oracle:oinstall /oradata
# chmod -R 775 /oradata
复制代码7、配置profile文件su  - oracle

vi .profile

ORACLE_BASE=/oradata; export ORACLE_BASE
ORACLE_HOME=/oracle/product/oracle10g; export ORACLE_HOME
ORACLE_SID=orcl; export ORACLE_SID
PATH=$ORACLE_HOME/bin:$PATH; export PATH

umask 022
复制代码8、安装
#su – oracle
$DISPLAY=IP地址:0.0
假如你通过xmanager安装,IP为你电脑的IP。假如在服务器上安装,IP则为服务器IP.
$export DISPLAY
切换到oracle 安装包路径,运行命令
$./runInstaller
就可以运行oracle安装向导了,按默认选项安装即可,安装后记得必须运行
orainstRoot.sh和root.sh两个脚本。
2009-12-08 06:43 举报
已邀请:

回复帖子,请先登录注册

退出全屏模式 全屏模式 回复
评分
可选评分理由: