资源预览内容
第1页 / 共12页
第2页 / 共12页
第3页 / 共12页
第4页 / 共12页
第5页 / 共12页
第6页 / 共12页
第7页 / 共12页
第8页 / 共12页
第9页 / 共12页
第10页 / 共12页
亲,该文档总共12页,到这儿已超出免费预览范围,如果喜欢就下载吧!
资源描述
Oracle10g for AIX5L安装过程一、下载软件从这里download Oracle10g for AIX5L的软件:http:/otn.oracle.com/software/prodUCts/database/oracle10g/htdocs/aix5lsoft.Html然后上传到server上。并使用gunzip和cpio解包解压:$gunzip ship.db.aix.disk1.cpio.gz$gunzip ship.db.aix.disk2.cpio.gz$cpio -idcmv ship.db.aix.disk1.cpio$cpio -idcmv /usr/sbin/lsattr -E -l sys0 -a realmemrealmem 1048576 Amount of usable physical memory in Kbytes False这里oracle10g安装文档写错了,将“sys0(数字0)”写成了“sysO(字母O)”。2、确认SWAP空间,512M太小了,加到2G。localhost /usr/sbin/lsps -aPage Space Physical Volume Volume Group Size %Used Active Auto Typehd6 hdisk0 rootvg 512MB 12 yes yes lv3、确认/TMP和Oracle目录空间(其中Oracle10g放在/data1下):localhost df -kFilesystem 1024-blocks Free %Used Iused %Iused Mounted on/dev/hd4 32768 14676 56% 2176 14% /dev/hd2 1933312 516400 74% 35398 8% /usr/dev/hd9var 65536 43496 34% 623 4% /var/dev/hd3 917504 691884 25% 1034 1% /tmp/dev/hd1 10911744 4097144 63% 18636 1% /home/proc - - - - - /proc/dev/hd10opt 32768 23328 29% 362 5% /opt/dev/lv00 2097152 937572 56% 708 1% /ptf/dev/data1lv 13107200 10559980 20% 2735 1% /data14、确认系统结构localhost /usr/bin/getconf HARDWARE_BITMODE645、我们可以通过下面的命令来确认系统CPU个数和主频:# lsdev -C grep procproc0 Available 00-00 Processorproc1 Available 00-01 Processor# lsattr -E -l proc0frequency 752010000 Processor Speed Falsestate enable Processor state Falsetype PowerPC_RS64-III Processor type False# lsattr -E -l proc1frequency 752010000 Processor Speed Falsestate enable Processor state Falsetype PowerPC_RS64-III Processor type False三、确认系统软件环境1、要求AIX必须是5.2 LEVEL 1以上(含LEVEL 1):localhost oslevel -r5200-012、要求安装了这些FILESETS:localhost lslpp -l bos.adt.base bos.adt.lib bos.adt.libm bos.perf.perfstat bos.perf.libperfstat bos.perf.proctoolsFileset Level State Description-Path: /usr/lib/objreposbos.adt.base 5.2.0.11 APPLIED Base Application DevelopmentToolkitbos.adt.lib 5.2.0.10 APPLIED Base Application DevelopmentLibrariesbos.adt.libm 5.2.0.13 APPLIED Base Application DevelopmentMath Librarybos.perf.libperfstat 5.2.0.12 APPLIED Performance Statistics LibraryInterfacebos.perf.perfstat 5.2.0.12 APPLIED Performance StatisticsInterfacePath: /etc/objreposbos.perf.perfstat 5.2.0.0 COMMITTED Performance StatisticsInterfacelslpp: 0504-132 Fileset bos.perf.proctools not installed.可以看到bos.perf.proctools没有安装,用smitty安装上即可。现在查看确认:localhost lslpp -l bos.perf.proctoolsFileset Level State Description-Path: /usr/lib/objreposbos.perf.proctools 5.2.0.11 APPLIED Proc Filesystem Tools3、要求安装了APARs(Authorized Problem Analysis Reports):localhost /usr/sbin/instfix -i -k IY43980 IY44810 IY45462 IY45707 IY46214 IY46605 IY48525 IY51801All 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没有安装,我们可以从网上下载它们然后安装上,这里是下载地址:https:/techsupport.services.ibm.com/server/aix.fdc 但实际上,这两个补丁是针对SDK1.4的, 假如不用1.4完全可以不理。4、创建Oracle10g用户和组,并创建相关目录过程省略,下面是确认信息:localhost iduid=203(ora10) gid=202(dba) groups=1(staff)localhost pwd/data1/ora10localhost envgrep ORAORACLE_BASE=/data1/app/ora10gORACLE_PATH=/data1/app/ora10g/product/10.1.0/dbsORA_DB=/data1/app/ora10g/product/10.1.0/dbsORACLE_SID=ora10gORACLE_TERM=vt100ORA_NLS33=/data1/app/ora10g/product/10.1.0/ocommon/nls/admin/dataORACLE_HOME=/data1/app/ora10g/product/10.1.05、配置SHELL LIMITS和系统 配置参数5.1、使用smitty chuser修改ora10用户的SHELL LIMITSSoft 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。四、安装过程1、以root执行# ./rootpre.sh2、用xmanager以ora10用户登录图形界面,执行:localhost pwd/data1/ora10/Disk1localhost lsdoc response runInstaller welcome.htminstall rootpre stage$xhost +$eXPort DISPLAY=10.16.98.26:0.0$./runI*以下是安装界面截图:3、Oracle10g欢迎界面: 2、选择安装Source,这里看到已经全部使用XML格式打包了: 3、选择安装类型,我们一般都选择Custom: 4、这个功能早就应该有了,记得9i可以通过运行一个脚本来确认,这
收藏 下载该资源
网站客服QQ:2055934822
金锄头文库版权所有
经营许可证:蜀ICP备13022795号 | 川公网安备 51140202000112号