Install Oracle11g For Aix 5 L
Upcoming SlideShare
Loading in...5
×
 

Install Oracle11g For Aix 5 L

on

  • 3,563 views

 

Statistics

Views

Total Views
3,563
Views on SlideShare
3,563
Embed Views
0

Actions

Likes
2
Downloads
88
Comments
1

0 Embeds 0

No embeds

Accessibility

Categories

Upload Details

Uploaded via as Adobe PDF

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
  • vac.c
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

Install Oracle11g For Aix 5 L Install Oracle11g For Aix 5 L Document Transcript

  • ORACLE11g 数据库在 AIX 5L 下的安装配置文档 目 录 1、安装Oracle 11G系统硬件要求 .........................................................2 2、安装oracle 11g 软件要求....................................................................3 3、设置相关系统参数 ..............................................................................5 4、建立用户、建立目录、设置环境变量 ..............................................6 5、开始Oracle系统安装............................................................................8
  • 第1章 安装 Oracle 11G 系统硬件要求 内存最低 1G /usr/sbin/lsattr -E -l sys0 -a realmem 装 oracle 磁盘空间至少 8G df –k /oracle 临时目录/tmp 至少 150MB, df –k /tmp 操作系统必须为 64 位 /usr/bin/getconf HARDWARE_BITMODE 交换分区,根据物理内存以下标准来设置 Available RAM Swap Space Required Between 1024 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 /usr/sbin/lsps -a
  • 第2章 安装 oracle 11g 软件要求 2.1 AIX 操作系统版本需求 The following is the operating system requirement for Oracle Database 11g Release 1: AIX 5L version 5.3, TL 05, Service Pack 06 AIX 6L version 6.1, TL 00, Service Pack 04 or later 可以用以下命令检查操作系统版本 Oslevel –s 要是没达到上面要求,必须升级操作系统版本. 2.2 文件集需求 The following operating system filesets are required for Oracle Database 11g Release 1: • bos.adt.base • bos.adt.lib • bos.adt.libm • bos.perf.libperfstat • bos.perf.perfstat • bos.perf.proctools • xlC.aix50.rte:8.0.0.7 or later (AIX 5.3)
  • • xlC.rte:8.0.0.7 or later (AIX 5.3) • xlC.aix61.rte:9.0.0.1 or later (AIX 6.1) • xlC.rte:9.0.0.1 or later (AIX 6.1) 可以用以下命令来检查文件集是否安装 lslpp -l bos.adt.base bos.adt.lib bos.adt.libm bos.perf.perfstat 安装文件集命令为,先把需要安装的文件集拷贝到一个目录下 Smitty install_all 2.3 Patch 需求 • Authorized Problem Analysis Reports (APARs) for AIX 5L v5.3: o IY89080 o IY92037 o IY94343 o IZ01060 or efix for IZ01060 o IZ03260, or efix for IZ03260
  • 第3章 设置相关系统参数 3.1Configure Shell Limits Shell Limit (As Shown in smit) Recommended Value 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) Soft Real Memory size -1 (Unlimited) 3.2 Configure System Configuration Parameters 可以用以下命令来设置 smit chgsys 设置最大用户数以及进程数等 设置 ncargs 参数,用以下命令 /usr/sbin/chdev -l sys0 -a ncargs=128
  • 第4章 建立用户、建立目录、设置环境变量 The following local operating system groups and users are required if you are installing Oracle Database: • The Oracle Inventory group (oinstall) • The OSDBA group (dba) • The Oracle software owner (oracle) smitty mkgroup --分别建立 dba 和 oinstall 组 smitty mkuser --建立 oracle 用户,指向 dba 和 oinstall 组 mkdir -p /oracle/product/11.1.0 chown -R oracle:oinstall /oracle chmod -R 775 /oracle 设置环境变量 Su – oracle Vi .profile 输入以下内容 PATH=/usr/bin:/etc:/usr/sbin:/usr/ucb:$HOME/bin:/usr/bin /X11:/sbin:. export PATH if [ -s "$MAIL" ] # This is at Shell startup. In normal
  • then echo "$MAILMSG" # operation, the Shell checks fi # periodically. ORACLE_BASE=/oracle;export ORACLE_BASE ORACLE_HOME=$ORACLE_BASE/product/11.1.0;export ORACLE_HOME ORACLE_SID=orcl;export ORACLE_SID ORA_NLS33=$ORACLE_HOME/ocommon/nls/admin/data;export ORA_NLS33 PATH=.:$ORACLE_HOME/bin:/usr/css/bin:$PATH;export PATH LIBPATH=$ORACLE_HOME/lib:/usr/lib;export LIBPATH LD_LIBRARY_PATH=$ORACLE_HOME/lib:/usr/lib;export LD_LIBRARY_PATH DISPLAY=192.168.15.102:0.0;export DISPLAY NLS_LANG=AMERICAN_AMERICA.ZHS16GBK;export NLS_LANG TMPDIR=/tmp;export TMPDIR umask 022 export PS1 export LANG=en_US PS1=`hostname`_[`whoami`]$
  • 第5章 开始Oracle系统安装 把以下介质拷贝到 aix 服务器/soft 目录下,解压介质进行安装 aix.ppc64_11gR1_database_1013_1of2.zip aix.ppc64_11gR1_database_1013_2of2.zip rootpre_aix.zip unzip_aix.Z 第一解压压缩工具 unzip_aix.Z,输出文件名为 unzip_aix uncompress unzip_aix.Z 拷贝 unzip_aix 到/usr/bin 目录下 cd /use/bin chmod 751 unzip_aix unzip_aix aix.ppc64_11gR1_database_1013_1of2.zip unzip_aix aix.ppc64_11gR1_database_1013_1of2.zip unzip_aix rootpre_aix.zip 首先以 root 用户运行 rootpre.sh 脚本,开启 AIO root 用户运行 xhost + su – oracle xclock 测试图形化界面是否正常启动,正常启动的话,下面就开始安装 oracle 数据库了
  • cd /soft/database ./runInstaller
  • 注意这个界面是检查硬件和软件需求,要是不符合,安装到这会停止