1、# /usr/sbin/lsps -a1.1.2/tmp文件系统空间要求执行命令查看/tmp空间大小,至少130M#df k /tmp1.1.3操作系统文件集要求查看文件集和操作系统版本是不是符合要求,操作系统至少是AIX TL02 SP1# lslpp -l oslevel -s1.1.4补丁要求若是系统是AIX TL04或更新的版本,就不需要另外安装补丁,若是APAR已经安装,能够执行# /usr/sbin/instfix -i -k IZ42940 IZ49516 IZ52331 IZ41855 IZ523191.2安装预备1.2.1预备XWindows连接工具1.2.2创建oracle
2、文件系统、dba组、oracle用户mklv -y oraclelv -t jfs2 rootvg 8Gcrfs -v jfs2 -d /dev/oraclelv -m /oracle -A yesmount /oraclemkgroup id=111 dbamkuser id=111 pgrp=dba groups=dba home=/oracle oraclechown oracle:dba /oraclepasswd oracle1.2.3修改oracle用户的profile文件#su - oracle$vi .profile在该文件后面增加如下内容:umask 022ORACLE_BA
3、SE=/oracle/app/oracle;export ORACLE_BASEORACLE_HOME=$ORACLE_BASE/product/ ORACLE_HOMEORA_NLS33=$ORACLE_HOME/ocommon/nls/admin/data;export ORA_NLS33LD_LIBRARY_PATH=$ORACLE_HOME/lib:/usr/dt/lib:/usr/lib;export LD_LIBRARY_PATHNLS_LANG=;export NLS_LANGTMPDIR=/oracle/tmp;export TMPDIRTMP=/oracle/tmp;expo
4、rt TMPPATH=.:$ORACLE_HOME/bin:/etc:/usr/ccs/bin:/usr/sbin:$PATH;export PATHexport DISPLAY=1.3安装介质确认Oracle产品有如下安装包,请确认/soft/oracle下有如下紧缩包,并确认文件的权限与属主是不是与列表一致#ls -l /soft/oracle输出结果应该为:-rwxr-xr-x 1 oracle dba 127965 Jun 04 23:45 unzip_aix-rwxr-xr-x 1 oracle dba 85 Jun 05 04:51 1 oracle dba 76097 Jun 0
5、4 23:43 1.4解紧缩安装包用oracle用户执行以下命令$uncompress $chmod +x unzip_aix$./unzip_aix -d disk1$./unzip_aix -d disk11.5Oracle客户端安装步骤在root用户下,进入第一张安装盘disk1的途径:#cd /soft/oracle/disk1/#./参考输出结果为: output will be logged in /tmp/ -a: AIX PMTSAP 1 6 00F668A44C00OSVER: 6OSREL: 1Environment:-_=/bin/envLANG=en_USLOGIN=r
6、ootPATH=/usr/bin:/usr/ucb:/usr/bin/X11:/sbin:/usr/java5/jre/bin:/usr/java5/binLC_ALL=CLC_FASTMSG=trueLOGNAME=rootMAIL=/usr/spool/mail/rootLOCPATH=/usr/lib/nls/locUSER=rootAUTHSTATE=compatSHELL=/usr/bin/kshODMDIR=/etc/objreposHOME=/TERM=vt100MAILMSG=YOU HAVE NEW MAILPWD=/oracle/media/disk1TZ=BEIST-8A
7、_z=! LOGNAMENLSPATH=/usr/lib/nls/msg/%L/%N:/usr/lib/nls/msg/%L/%Checking if group services should be configured.ODMDIR=/etc/objrepos, isHACMP= 0Nothing to configure.在Oracle用户下,开始安装:$ su - oracle$cd /soft/oracle/media/disk1/client$./runInstaller显示如下信息:Starting Oracle Universal Installer.Checking Temp
8、 space: must be greater than 190 MB. Actual 8190 MB PassedChecking swap space: must be greater than 150 MB. Actual 512 MB PassedChecking monitor: must be configured to display at least 256 colors. Actual PassedPreparing to launch Oracle Universal Installer from /oracle/tmp/OraInstall2010-07-16_06-51
9、-51PM. Please wait .显现Splash画面进而是Welcome画面:选择安装类型选择安装语言选择安装目录选择Inventory Directory选择要安装的组件选择Scheduler Agent hostname平台安装检查查看官方手册,确认aix TL04以后的版本已经包括相关补丁,此处忽略那个补丁问题选择Finish进行相应的安装配置oracle client点击canelsh Running Oracle 11g script.The following environment variables are set as: ORACLE_OWNER= oracle OR
10、ACLE_HOME= /oracle/app/oracle/product/ the full pathname of the local bin directory: /usr/local/bin: /usr/bin Copying dbhome to /usr/bin . Copying oraenv to /usr/bin . Copying coraenv to /usr/bin .Creating /etc/oratab file.Entries will be added to the /etc/oratab file as needed byDatabase Configurat
11、ion Assistant when a database is createdFinished running generic part of script.Now product-specific root actions will be performed.# su - oracle $ sqlplus /nologSQL*Plus: Release Production on Mon Apr 18 18:41:46 2011Copyright (c) 1982, 2009, Oracle. All rights reserved.SQL# lsContentsXML logs oui # ./orain*Changing permissions of /oracle/app/oraInventory.Adding read,write permissions for group.Removing read,write,execute permissions for world.Changing groupname of /oracle/app/oraInventory to dba.The execution of the script is complete.
copyright@ 2008-2022 冰豆网网站版权所有
经营许可证编号:鄂ICP备2022015515号-1