首页 > 数据库 > Oracle > 正文

Oracle9.2.0.1.0 for HP-UX11iv1 Installation Guide

2024-08-29 13:43:02
字体:
来源:转载
供稿:网友

Oracle9.2.0.1.0 for HP-UX11iv1 Installation Guide

1、 以root用户登录
2、 修改内核参数:
MAXDSIZ  1073741824
MAXDSIZ_64  2147483648
MAXSSIZ 134217728
MAXSSIZ_64BIT 1073741824
MAXUSER 1000
NPROC 20+8*MAXUSER
SEMMNI 500
SEMMNS 1000
SEMMSL 2048
SEMVMX 32767
SEMMNU  500
SHMMAX 4294967295
SHMMNI  512
SHMSEG 200
VPS_CEILING 64
下面是参考:
Name                     CurrentValue   PendingValue          
NSTREVENT                      50           50   
NSTRPUSH                       16           16   
NSTRSCHED                       0            0   
STRCTLSZ                     1024         1024   
STRMSGSZ                    65535        65535   
acctresume                      4            4   
acctsuspend                     2            2   
aio_listio_max                256          256   
aio_max_ops                  2048         2048   
aio_physmem_pct                10           10   
aio_prio_delta_max             20           20   
allocate_fs_swapmap             0            0   
alwaysdump                      1            1   
bcvmap_size_factor              2            2   
bufcache_hash_locks           128          128   
bufpages                        0            0   
chanq_hash_locks              256          256        
core_addshmem_read              0            0        
core_addshmem_write             0            0        
create_fastlinks                0            0        
dbc_max_pct                    50           50        
dbc_min_pct                     5            5        
default_disk_ir                 0            0        
disksort_seconds                0            0        
dmp_rootdev_is_vol              0            0        
dmp_swapdev_is_vol              0            0        
dnlc_hash_locks               512          512        
dontdump                        0            0        
dst                             1            1        
effective_maXPid            30000        30000        
enable_idds                     0            0        
eqmemsize                      15           15        
executable_stack                1            1        
fcp_large_config                0            0        
fs_async                        0            0        
ftable_hash_locks              64           64        
hdlpreg_hash_locks            128          128        
hfs_max_ra_blocks               8            8        
hfs_max_revra_blocks            8            8        
hfs_ra_per_disk                64           64        
hfs_revra_per_disk             64           64        
hp_hfs_mtra_enabled             1            1        
initmodmax                     50           50        
io_ports_hash_locks            64           64        
ksi_alloc_max               64160        64160        
ksi_send_max                   32           32        
max_async_ports                50           50        
max_fcp_reqs                  512          512        
max_mem_window                  0            0        
max_thread_proc                64           64        
maxdsiz                1073741824   1073741824            
maxdsiz_64bit          2147483648   2147483648            
maxfiles                       60           60            
maxfiles_lim                 1024         1024            
maxssiz                 134217728    134217728            
maxssiz_64bit          1073741824   1073741824            
maxswapchunks                 640          640            
maxtsiz                  67108864     67108864            
maxtsiz_64bit          1073741824   1073741824            
maxuprc                        75           75            
maxusers                     1000         1000            
maxvgs                         10           10            
mesg                            1            1            
modstrmax                     500          500            
msgmap                         42           42            
msgmax                       8192         8192            
msgmnb                      16384        16384             
msgmni                         50           50             
msgseg                       2048         2048             
msgssz                          8            8             
msgtql                         40           40             
nbuf                            0            0             
ncallout                    14067        14067             
ncdnode                       150          150             
nclist                      16100        16100             
ncsize                      14308        14308             
ndilbuffers                    30           30             
nfile                       14849        14849             
nflocks                       200          200             
ninode                       9188         9188             
nkthread                    14051        14051             
no_lvm_disks                    0            0             
nproc                        8020         8020             
npty                           60           60             
nstrpty                        60           60             
nstrtel                        60           60             
nswapdev                       10           10             
nswapfs                        10           10             
nsysmap                     16040        16040             
nsysmap64                   16040        16040             
o_sync_is_o_dsync               0            0             
pfdat_hash_locks              128          128             
public_shlibs                   1            1             
region_hash_locks             128          128             
remote_nfs_swap                 0            0             
rtsched_numpri                 32           32             
scroll_lines                  100          100             
scsi_max_qdepth                 8            8             
scsi_maxphys              1048576      1048576             
sema                            1            1             
semaem                      16384        16384             
semmap                       2050         2050             
semmni                       2048         2048             
semmns                       4096         4096              
semmnu                         30           30              
semmsl                       2048         2048              
semume                         10           10              
semvmx                      32767        32767              
sendfile_max                    0            0              
shmem                           1            1              
shmmax                 4294967295   4294967295              
shmmni                        512          512              
shmseg                        120          120              
st_ats_enabled                  0            0              
st_fail_overruns                0            0              
st_large_recs                   0            0              
st_san_safe                     0            0              
streampipes                     0            0              
swapmem_on                      1            1              
swchunk                      2048         2048              
sysv_hash_locks               128          128              
tcphashsz                       0            0              
timeslice                      10           10              
timezone                      420          420              
unlockable_mem                  0            0              
vas_hash_locks                128          128              
vnode_cd_hash_locks           128          128              
vnode_hash_locks              128          128              
vol_checkpt_default         10240        10240              
vol_dcm_replay_size        262144       262144              
vol_default_iodelay            50           50              
vol_fmr_logsz                   4            4              
vol_max_bchain                 32           32              
vol_max_nconfigs               20           20              
vol_max_nlogs                  20           20              
vol_max_nmpool_sz         4194304      4194304              
vol_max_prm_dgs              1024         1024              
vol_max_rdback_sz         4194304      4194304              
vol_max_vol               8388608      8388608              
vol_maxio                     256          256              
vol_maxioctl                32768        32768              
vol_maxkiocount              2048         2048              
vol_maxparallelio             256          256              
vol_maxspecialio              256          256              
vol_maxstablebufsize          256          256              
vol_min_lowmem_sz          524288       524288     
vol_mvr_maxround              256          256     
vol_nm_hb_timeout              10           10     
vol_subdisk_num              4096         4096     
vol_vvr_transport               1            1     
vol_vvr_use_nat                 0            0     
volcvm_cluster_size            16           16     
volcvm_smartsync                1            1     
voldrl_max_drtregs           2048         2048     
voldrl_min_regionsz           512          512     
voliomem_chunk_size         65536        65536     
voliomem_maxpool_sz       4194304      4194304     
voliot_errbuf_dflt          16384        16384     
voliot_iobuf_default         8192         8192     
voliot_iobuf_limit         131072       131072     
voliot_iobuf_max            65536        65536     
voliot_max_open                32           32     
volraid_rsrtransmax             1            1     
vps_ceiling                    64           64     
vps_chatr_ceiling         1048576      1048576     
vps_pagesize                    4            4                 
vx_fancyra_enable               0            0                 
vx_ncsize                    1024         1024                 
vx_ninode                       0            0                 
vxfs_max_ra_kbytes           1024         1024    
vxfs_ra_per_disk             1024         1024    
vxtask_max_monitors            32           32    
3、 创建5G以上的文件系统,并Mount到/o9i
4、 创建的dba组
5、 创建oracle用户,它属于dba组,其主目录为/o9i
6、 修改oracle用户的.profile文件如下
export ORACLE_BASE=/o9i/app/oracle
export ORACLE_HOME=/o9i/app/oracle/prodUCt/9.2.0
export ORACLE_SID=pek
export ORACLE_TERM=xterm
export NLS_LANG=american_america.zhs16cgb231280
export ORA_NLS33=$ORACLE_HOME/ocommon/nls/admin/data
export LD_LIBRARY_PATH=$ORACLE_HOME/lib:$ORACLE_HOME/c /
tx/lib:/lib:/usr/lib:$ORACLE_HOME/RDBMS/lib:$ORACLE_HOME/lib32
export SHLIB_PATH=$ORACLE_HOME/lib32:$ORACLE_HOME/rdbms/lib32
export ORACLE_DOC=$ORACLE_BASE/product/9.2.0
export PATH=/bin:/usr/bin:/usr/sbin:/opt/bin:/usr/local/bin:$ORACLE_HOME/bin
CLASSPATH=$ORACLE_HOME/JRE:$ORACLE_HOME/jlib:$ORACLE_HOME/rdbms/jlib
CLASSPATH=$CLASSPATH:$ORACLE_HOME/network/jlib
export CLASSPATH
7、 下载补丁GOLDQPK11i、PHKL_25506、PHSS_26263、PHSS_24638,并把补丁FTP到主机的/tmp目录
8、 安装系统的补丁:
a、 swinstall –x autoreboot=true –x patch_match_target=true –s /tmp/GOLDQPK11i_11.11.depot
b、 sh PHKL_25506
c、 sh PHSS_26263
d、 sh PHSS_24638
e、 swinstall –x autoreboot=true –x patch_match_target=true –s /tmp/ PHKL_25506.depot
f、 swinstall –x autoreboot=true –x patch_match_target=true –s /tmp/ PHSS_26263.depot
g、 swinstall –x autoreboot=true –x patch_match_target=true –s /tmp/ PHSS_24638.depot
9、 修改系统的Bug:
a、cd /usr/lib
b、ln –s /usr/lib/libX11.3 libX11.sl
c、ln –s /usr/lib/libXIE.2 libXIE.sl
d、ln –s /usr/lib/libXext.3 libXext.sl
e、ln –s /usr/lib/libXhp11.3 libXhp11.sl
f、ln –s /usr/lib/libXi.3 libXi.sl
g、ln –s /usr/lib/libXm.4 libXm.sl
h、ln –s /usr/lib/libXp.2 libXp.sl
i、ln –s /usr/lib/libXt.3 libXt.sl
j、ln –s /usr/lib/libXtst.2 libXtst.sl
10、 把第一张安装盘插入HP小型机底光驱
a、 nohup /usr/sbin/pfs_mountd&
b、 nohup /usr/sbin/pfsd&
c、 pfs_mount /dev/dsk/c1t2d0 /cdrom
11、 启动Xmanager,以oracle登陆并启动一个Terminal
a、 su – oracle
b、 DISPLAY=Your PC IP:0.0
c、 export DISPLAY
d、 /cdrom/runInstaller
12、 根据提示执行oraInstall.sh
13、 检查目标路径和源路径,点Next
14、 选Oracle9i Database 9.2.0.1.0,点Next
15、 选Custom,点Next
16、 选择附件产品,点Next
17、 用缺省的java路径,点Next
18、 OSDBA和OSOPER都是dba
19、 Oracle Enterprise Server假如已经有,就选存在项;假如没有,就选新创建
20、 Create Database选No
21、 JDK目录为/opt/java1.3/jre
22、 检查安装的产品是否齐全,点Install
23、 提示插入第二张盘:
a、 fs_umount /cdrom
b、 插入第二张盘
c、 pfs_mount /dev/dsk/c1t2d0 /cdrom
d、 点击OK
24、 提示插入第三张盘
a、 fs_umount /cdrom
b、 插入第三张盘
c、 pfs_mount /dev/dsk/c1t2d0 /cdrom
d、 点击OK
25、 提示插入第四张盘
a、 fs_umount /cdrom
b、 插入第四张盘
c、 pfs_mount /dev/dsk/c1t2d0 /cdrom
d、 点击OK
26、 提示执行root.sh
a、 telnet 服务器
b、 以root登陆
c、 cd /o9i/app/oracle/product/9.2.0
d、 sh root.sh
e、 提示Local bin Directory为/usr/local/bin,直接回车
f、 假如目录已经存在,选Overwrite为y
g、 等待root.sh执行完后,返回Xmanager,点击OK
27、 出现Oracle Net Configuration Assistant:Welcome时,单击Next
28、 选No I want to defer this configuration to another time,点击Next
29、 填写你所需底listener名称后,点击Next
30、 选择Protocol时,把TCPS也加上,单击Next
31、 TCP/IP的端口缺省为1521,点击Next
32、 TCP/IP SSL的缺省端口为2484,单击Next
33、 提示是否还配置另一个listener时,选No,点击Next
34、 出现Listener configuration Complete!时,单击Next
35、 选No I do not to change the naming methods configured,点击Next
36、 提示Oracle Net Configuration Complete时,点击Finish
37、 出现Configuration Assistant step 1 of 3: Welcome!时,点击Next
38、 选Custom,点击Next
39、 选In a new local database instance,点击Change SID钮,填写相应的Global Database Name和SID后,点击OK,再单击Next
40、 记下用户名并填写完PassWord后,点击Next
41、 单击Finish
42、 提示更改SYS和SYSTEM两个用户的密码,更改完后点击OK
43、 单击Close
44、 提示End of Installation,点击Exit完成安装
45、 创建数据库:
a、 以oracle登录
b、 cd $ORACLE_HOME/bin
c、 dbca
d、 出现Database Configuration Assistant:Welcome时,点击Next
e、 选Create a Database后,点击Next
f、 选General Purpose,点击Next
g、 填写全局数据库名和SID后,点击Next
h、 选Delicate Server Mode,单击Next
i、 点击Character Sets菜单,选中Choose from the list of character sets,点击下拉箭头,选ZHS16CGB231280,然后点击Next
j、 出现Database Storage窗口时,单击Next
k、 选Create Database,点击Finish
l、 显示Sussmary窗口时,单击OK
m、 提示更改SYS和SYSTEM用户的口令,更改完口令后,单击Exit并开始建库
n、 建库完成自动退出。


发表评论 共有条评论
用户名: 密码:
验证码: 匿名发表