内存:
/usr/contrib/bin/machinfo | grep -i Memory
Minimum: 1 GB of RAM
Recommended: 2 GB of RAM or more
交换分区:
/usr/sbin/swapinfo -a
RAM Swap Space
Between 1 GB and 2 GB 1.5 times the size of the RAM
Between 2 GB and 16 GB Equal to the size of the RAM
More than 16 GB 16 GB
磁盘要求:
bdf /tmp
At least 1 GB of space in the /tmp directory
软件安装空间和数据文件空间:
bdf
Installation Type Requirement for Software Files (GB)
Enterprise Edition 6.9
Standard Edition 6.4
Installation Type Disk Space for Data Files (GB)
Enterprise Edition 2.20
Standard Edition 1.51
运行级别:
Ensure that the system is started with run level 3.
操作系统要求:
uname -a
/usr/sbin/swlist -l bundle |grep QPK
QPKAPPS B.11.31.1209.383 Applications Patches for HP-UX 11i v3, September 2012
QPKBASE B.11.31.1209.383 Base Quality Pack Bundle for HP-UX 11i v3, September 2012
补丁需求:
HP-UX Itanium
Installation Type or Product Requirement
All installations For HP-UX 11i V3 (11.31):
PHCO_43503 11.31 diskowner(1M) cumulative patch
PHCO_41479: 11.31 Disk Owner Patch
PHKL_38038: VM patch - hot patching/Core file creation directory
PHKL_38938: 11.31 SCSI cumulative I/O patch
PHKL_40941: Scheduler patch : post wait hang
PHSS_36354: 11.31 assembler patch
PHSS_37042: 11.31 hppac (packed decimal)
PHSS_37959: Libcl patch for alternate stack issue fix (QXCR1000818011)
PHSS_38141: 11.31 aC++ Runtime
PHSS_39094: 11.31 linker + fdp cumulative patch
PHSS_39100: 11.31 Math Library Cumulative Patch
PHSS_39102: 11.31 Integrity Unwind Library
Pro*C/C++,
Oracle Call Interface,
Oracle C++ Call Interface,
Oracle XML Developer's Kit (XDK) Patch for HP-UX 11i V3 (11.31) on HP-UX Itanium:
PHSS_39824 - 11.31 HP C/aC++ Compiler (A.06.23) patch
PHSS_39826 - 11.31 u2comp/be/plugin (C.06.23) patch
VERITAS File System PHKL_39773: 11.31 VRTS 5.0 GARP6 VRTSvxfs Kernel Patch
Note: The VERITAS file system is optional. This patch is required only if you want to use a VERITAS File System 5.0.
/usr/sbin/swlist -l patch | grep PHSS_37959
/usr/sbin/swlist -l patch | more
环境变量配置
vi /oracle11/.profile
umask 022
TMP=/tmp
TMPDIR=$TMP
ORACLE_BASE=/oracle11
ORACLE_HOME=$ORACLE_BASE/product/11.2.0/dbhome_1
ORACLE_TERM=xterm
PATH=$ORACLE_HOME/bin:$PATH
NLS_LANG="simplified chinese_china.ZHS16GBK"
LD_LIBRARY_PATH=$ORACLE_HOME/lib:/usr/lib:/usr/bin:$LD_LIBRARY_PATH
export TMP TMPDIR ORACLE_BASE ORACLE_HOME ORACLE_TERM PATH NLS_LANG LD_LIBRARY_PATH
cat /etc/nsswitch.conf
操作系统patch检查
/usr/sbin/swlist -l patch | grep PHSS_37959
/usr/sbin/swlist -l patch | grep PHCO_41479
/usr/sbin/swlist -l patch | grep PHKL_38038
/usr/sbin/swlist -l patch | grep -i PHKL_38938
/usr/sbin/swlist -l patch | grep PHKL_40941
/usr/sbin/swlist -l patch | grep PHSS_36354
/usr/sbin/swlist -l patch | grep PHSS_37042
/usr/sbin/swlist -l patch | grep PHSS_39094
/usr/sbin/swlist -l patch | grep PHSS_39100
/usr/sbin/swlist -l patch | grep PHSS_39102
/usr/sbin/swlist -l patch | grep PHSS_38141
/usr/sbin/swlist -l patch | grep PHSS_39824
PHCO_41479 11.31 Disk Owner Patch
PHKL_38038 VM patch - hot patching/Core file creation directory
PHKL_38938 11.31 SCSI cumulative I/O patch
PHKL_40941 Scheduler patch: post wait hang
PHSS_36354 11.31 assembler patch
PHSS_37042 11.31 hppac (packed decimal)
PHSS_37959 Libcl patch for alternate stack issue fix (QXCR1000818011)
PHSS_39094 11.31 linker + fdp cumulative patch
PHSS_39100 11.31 Math Library Cumulative Patch
PHSS_39102 11.31 Integrity Unwind Library
PHSS_38141 11.31 aC++ Runtime
PHSS_39824 - 11.31 HP C/aC++ Compiler (A.06.23) patch
For HP-UX 11i V3 (11.31) VERITAS File System:
PHKL_39773: 11.31 VRTS 5.0 GARP6 VRTSvxfs Kernel Patch
图形界面:
export DISPLAY=10.45.11.160:0.0
测试:
xclock
弹出一个钟的图表即可进行图形界面安装
多用户下安装多个oracle产品可指定oraInst.loc安装目录,如果之前没安装过oracle直接执行./runInstaller即可。
./runInstaller -invPtrLoc /oracle11/oraInst.loc
创建lv
lvcreate -L 12000 -n lvoracle11 vg00
格式化lv
newfs -F vxfs -o largefiles /dev/vg00/rlvoracle11
添加开机启动
echo '/dev/vg00/lvoracle11 /oracle11 vxfs delaylog,largefiles 0 2' >> /etc/fstab
一次性mount /etc/fstab文件中所有的文件系统
mount -a