首页 > Linux操作系统 > Linux操作系统 > hp下安装oracle10g
今天根据官方文档整理了一下hp下安装oracle10g的文档
Oracle® Database Installation Guide 10g Release 2 (10.2) for hp-ux Itanium
2 Preinstallation Tasks
· 1Logging In to the System as root
· 3Checking the Software Requirements
· 5Creating Required Operating System Groups and Users
· 6Configure Kernel Parameters
· 7Identifying Required Software Directories
· 8Identifying or Creating an Oracle Base Directory
· 9Choosing a Storage Option for Oracle Database and Recovery Files
· 10Creating Directories for Oracle Database or Recovery Files
· 11Preparing Disk Groups for an Automatic Storage Management 12Installation
· 13Configuring Raw Logical Volumes
· 14Stopping Existing Oracle Processes
· 15Configuring the oracle User's Environment
1:安装以图形界面方式安装:
监测是否能启动到图形界面:xclock (事先xhost +)
· 2 Checking the Hardware Requirements
At least 1024 MB of physical RAM
Swap space
|
RAM |
Swap Space |
|
Between 512 MB and 2048 MB |
1.5 times the size of RAM |
|
Between 2049 MB and 8192 MB |
Equal to the size of RAM |
|
More than 8192 MB |
0.75 times the size of RAM |
|
|
|
· 400 MB of disk space in the /tmp directory
· 1.2 GB of disk space for a preconfigured database that uses file system storage (optional)
· 查看内存:/usr/contrib/bin/machinfo | grep -i Memory
查看虚拟内存
· # /usr/sbin/swapinfo –a
查看/tmp大小 不能小于400m
· bdf /tmp
Note:The expected output of this command is 64. If you do not see theexpected output, then you cannot install the software on this system.
3 Checking the Software Requirements
1. uname -a
2. # /usr/sbin/swlist -l level | more
3. 检测系统所需的包是否安装
# /usr/sbin/swlist -l patch | grep PHSS_33279# /usr/sbin/swlist -l patch | more# cd /usr/lib# ln -s libX11.3 libX11.sl# ln -s libXIE.2 libXIE.sl# ln -s libXext.3 libXext.sl# ln -s libXhp11.3 libXhp11.sl# ln -s libXi.3 libXi.sl# ln -s libXm.4 libXm.sl# ln -s libXp.2 libXp.sl# ln -s libXt.3 libXt.sl# ln -s libXtst.2 libXtst.sl
4. Checking the Network Setup
(1)/etc/hosts
1. (2)cat /etc/nsswitch.conf | grep hosts
2. For example:
192.168.100.16 myhost.us.mycompany.com myhost127.0.0.1 localhost localhost.localdomain
Setting the ORACLE_HOSTNAME Environment Variable
$ ORACLE_HOSTNAME=somehost.us.acme.com$ export ORACLE_HOSTNAME% setenv ORACLE_HOSTNAME somehost.us.acme.com
5 Creating Required Operating System Groups and Users
# /usr/sbin/groupadd oinstall# /usr/sbin/groupadd dba# /usr/sbin/groupadd oper(Optional)
# /usr/sbin/useradd -g oinstall -G dba[,oper] oracle # passwd oracle6 Configure Kernel Parameters
# /usr/sbin/kcweb –F 查看
调整系统参数,可以通过SAM来进行,
#/usr/sbin/sam 选择Kernel Parmepters Configuration并修改相应的参数,然后退出SAM系统的内核重新编译之后会重新启动。在系统的内核重新编译以后,ORACL E才可能正确的安装在系统中。
|
Parameter |
Recommended Formula or Value |
|
(nproc*8) | |
|
0 | |
|
1024 | |
|
1073741824 (1 GB) | |
|
2147483648 (2 GB) | |
|
134217728 (128 MB) | |
|
1073741824 (1 GB) | |
|
((nproc*9)/10) | |
|
(msgtql+2) | |
|
(nproc) | |
|
32767 | |
|
(nproc) | |
|
(ninode+1024) | |
|
(15*nproc+2048) | |
|
(nproc) | |
|
(8*nproc+2048) | |
|
(((nproc*7)/4)+16) | |
|
4096 | |
|
(nproc) | |
|
(semmni*2) | |
|
(nproc-4) | |
|
32767 | |
|
The size of physical memory or 1073741824 (0X40000000), whichever is greater. Note: To avoid performance degradation, the value should be greater than or equal to the size of the available memory. | |
|
512 | |
|
120 | |