1、确认内存大小(1G) localhost> /usr/sbin/lsattr -E -l sys0 -a realmem realmem 1048576 Amount of usable physical memory in Kbytes False
这里oracle10g安装文档写错了,将“sys0(数字0)”写成了“sysO(字母O)”。
2、确认SWAP空间,512M太小了,加到2G。 localhost> /usr/sbin/lsps -a Page Space Physical Volume Volume Group Size %Used Active Auto Type hd6 hdisk0 rootvg 512MB 12 yes yes lv
5、我们可以通过下面的命令来确认系统CPU个数和主频: # lsdev -C |grep proc proc0 Available 00-00 Processor proc1 Available 00-01 Processor # lsattr -E -l proc0 frequency 752010000 Processor Speed False state enable Processor state False type PowerPC_RS64-III Processor type False # lsattr -E -l proc1 frequency 752010000 Processor Speed False state enable Processor state False type PowerPC_RS64-III Processor type False
3、要求安装了APARs(Authorized Problem Analysis Reports):
localhost> /usr/sbin/instfix -i -k "IY43980 IY44810 IY45462 IY45707 IY46214 \ IY46605 IY48525 IY51801" All filesets for IY43980 were found. All filesets for IY44810 were found. All filesets for IY45462 were found. All filesets for IY45707 were found. All filesets for IY46214 were found. All filesets for IY46605 were found. There was no data for IY48525 in the fix database. There was no data for IY51801 in the fix database.
可以看到IY48525和IY51801没有安装,我们可以从网上下载它们然后安装上,这里是下载地址:
但实际上,这两个补丁是针对SDK1.4的, 如果不用1.4完全可以不理。
4、创建Oracle10g用户和组,并创建相关目录 过程省略,下面是确认信息: localhost> id uid=203(ora10) gid=202(dba) groups=1(staff) localhost> pwd /data1/ora10 localhost> env|grep ORA ORACLE_BASE=/data1/app/ora10g ORACLE_PATH=/data1/app/ora10g/product/10.1.0/dbs ORA_DB=/data1/app/ora10g/product/10.1.0/dbs ORACLE_SID=ora10g ORACLE_TERM=vt100 ORA_NLS33=/data1/app/ora10g/product/10.1.0/ocommon/nls/admin/data ORACLE_HOME=/data1/app/ora10g/product/10.1.0
5、配置SHELL LIMITS和系统 配置参数 5.1、使用smitty chuser修改ora10用户的SHELL LIMITS Soft FILE size -1 (Unlimited) Soft CPU time -1 (Unlimited) Note: This is the default value. Soft DATA segment -1 (Unlimited) Soft STACK size -1 (Unlimited)
5.2、使用smitty chgsys修改“Maximum number of PROCESSES allowed per user”最小2048。