ITPub博客

首页 > Linux操作系统 > Linux操作系统 > hp下安装oracle10g

hp下安装oracle10g

原创 Linux操作系统 作者:oracle_ren 时间:2009-02-19 15:49:02 0 删除 编辑

今天根据官方文档整理了一下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

·         4Checking the Network Setup

·         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

  • The following table describes the relationship between installed RAM and the configured swap space requirement.

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
  • To determine whether the system architecture can run the software, enter the following command:
  • # /bin/getconf KERNEL_BITS

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.   2cat /etc/nsswitch.conf | grep hosts

2.     For example:

192.168.100.16    myhost.us.mycompany.com   myhost
127.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 oracle
6 Configure Kernel Parameters
# /usr/sbin/kcweb –F 查看
调整系统参数,可以通过SAM来进行
#/usr/sbin/sam
 
选择Kernel Parmepters Configuration并修改相应的参数,然后退出SAM系统的内核重新编译之后会重新启动。在系统的内核重新编译以后,ORACL        E才可能正确的安装在系统中。

来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/17069315/viewspace-555672/,如需转载,请注明出处,否则将追究法律责任。

请登录后发表评论 登录
全部评论

注册时间:2008-12-26

  • 博文量
    20
  • 访问量
    64224

Parameter

Recommended Formula or Value

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.

Note: To avoid performance degradation, the value should be greater than or equal to the size of the available memory.

shmmni

512

shmseg

120

vps_ceiling