Oracle Application Server 10.1.3.0 for IBM X346 (Linux X86)安装手册

叶琦
2023-12-01
一、安装准备
(一)  检测硬件需求
       CPU :至少Pentium 450 MHZ
      
执行以下命令来检测:
      
[root@localhost /]# grep MemTotal /proc/meminfo
MemTotal:       4042768 kB
[root@localhost /]# df -k
Filesystem            1K-blocks      Used Available Use% Mounted on
/dev/mapper/VolGroup00-LogVol00
                      66281144   4677904 58236328   8% /
/dev/sda1                101086     14531     81336 16% /boot
none                    2021384         0   2021384   0% /dev/shm
[root@localhost /]# grep SwapTotal /proc/meminfo
SwapTotal:      4194296 kB
 
(二)  检测软件需求
 
[root@localhost /]# uname -a
Linux localhost.localdomain 2.6.9-42.ELsmp #1 SMP Wed Jul 12 23:32:02 EDT 2006 x86_64 x86_64 x86_64 GNU/Linux
 
Oracle Application Server 10g需要以下软件包
gcc-3.2.3-20
setarch-1.3-1
pdksh-5.2.14
openmotif21-2.1.30-8
gnome-libs-1.4.1.2.90-34.1
compat-glibc-7.x-2.2.4.32.5
compat-gcc-7.3-2.96.122
compat-libstdc++-7.3-2.96.122
compat-libstdc++-devel-7.3-2.96.122
compat-gcc-c++-7.3-2.96.122
sysstat-4.0.7
 
[root@localhost /]# rpm -q gcc
package gcc is not installed
[root@localhost /]# rpm -q pdksh
pdksh-5.2.14-30.3
[root@localhost /]# rpm -q openmotif
openmotif-2.2.3-10.RHEL4.5
openmotif-2.2.3-10.RHEL4.5
[root@localhost /]# rpm -q gnome-libs
gnome-libs-1.4.1.2.90-44.1
[root@localhost /]# rpm -q compat-glibc
package compat-glibc is not installed
[root@localhost /]# rpm -q compat-gcc
package compat-gcc is not installed
[root@localhost /]# rpm -q libstdc++
libstdc++-3.4.6-3
libstdc++-3.4.6-3
…………
查看软件包的链接是否正确:
[root@localhost /]# cd /usr/bin
[root@localhost bin]# ls -l gcc g++
ls: gcc: No such file or directory
ls: g++: No such file or directory
 
发现有个别软件包没有安装,于是回到Linux通过“添加、删除软件包”菜单进行安装。注意:如果你安装操作系统时选择的是默认安装,以上很多软件不会被安装。
安装完成后软件包情况如下:
gcc-3.4.6-3
setarch-1.6-1
pdksh-5.2.14-30.3
openmotif-2.2.3-10.RHEL4.5
gnome-libs-1.4.1.2.90-44.1
sysstat-5.0.5-11.rhel4
 
 
 
(三)  创建Inventory Directory Group
 
创建一个组,组名这里使用oinstall
[root@localhost /]# /usr/sbin/groupadd oinstall
[root@localhost /]#
 
(四)  创建 Database Groups
 
# /usr/sbin/groupadd dba
# /usr/sbin/groupadd oper
该步骤只用于你安装Portal 和Wireless Developer Topology的情况。这里不用执行,特此说明
 
(五)  创建Operating System User
 
创建一个操作系统用户,要求该用户属于你刚才创建的oinstall用户组,在这里我们使用用户名oracle.
 
[root@localhost /]# /usr/sbin/useradd -g oinstall oracle
[root@localhost /]#
[root@localhost /]# passwd oracle
Changing password for user oracle.
New UNIX password:
这里密码我们依然使用oracle
 
(六)  检测环境变量
 
切换到oracle用户
[root@localhost /]# su oracle
[oracle@localhost /]$
 
检测环境变量
DISPLAY
[oracle@localhost /]$ DISPLAY=10.77.1.37:0.0;export DISPLAY
[oracle@localhost /]$
 
TMP/TMPDIR
要去oracle用户对该目录有写权限
[oracle@localhost /]$ TMP=/tmp2;export TMP
[oracle@localhost /]$ TMPDIR=/tmp2;export TMPDIR
 
ORACLE_HOME
使用oracle用户不需要设置该变量,其他用户需要
 
PATH
CLASSPATH
LD_LIBRARY_PATH
[oracle@localhost /]$ echo $PATH
/usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/X11R6/bin:/root/bin
 
TNS_ADMIN
[oracle@localhost /]$ unset TNS_ADMIN
 
ORA_NLS33
[oracle@localhost /]$ unset ORA_NLS33
 
LD_BIND_NOW
[oracle@localhost /]$ unset LD_BIND_NOW
 
[oracle@localhost ~]$ vi .bash_profile
# .bash_profile
 
# Get the aliases and functions
if [ -f ~/.bashrc ]; then
        . ~/.bashrc
fi
 
# User specific environment and startup programs
 
PATH=$PATH:$HOME/bin
 
export PATH
unset USERNAME
 
export EDITOR=vi
export ORACLE_SID=AS01
export ORACLE_BASE=/opt/app/oracle
export ORACLE_HOME=$ORACLE_BASE/product/10.1.3.1/OracleAS_1
export LD_LIBRARY_PATH=$ORACLE_HOME/lib
export PATH=$PATH:$ORACLE_HOME/bin:/bin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/X11R6/bin
 
 
(七)  配置内核参数
      
       参数表:
      
      
       [root@localhost kernel]# /sbin/sysctl -a |grep sem
       kernel.sem = 250        32000   32      128
       [root@localhost kernel]# /sbin/sysctl -a |grep shm
       vm.hugetlb_shm_group = 0
       kernel.shmmni = 4096
       kernel.shmall = 2097152
       kernel.shmmax = 33554432
       [root@localhost kernel]# /sbin/sysctl -a |grep msg
       kernel.msgmnb = 16384
       kernel.msgmni = 16
       kernel.msgmax = 8192
       fs.mqueue.msgsize_max = 8192
       fs.mqueue.msg_max = 10
       [root@localhost kernel]# /sbin/sysctl -a |grep file-max
       fs.file-max = 363827
       [root@localhost kernel]# /sbin/sysctl -a |grep ip_local_port_range
       net.ipv4.ip_local_port_range = 32768    61000
       [root@localhost kernel]#
             
修改:
       [root@localhost etc]# vi sysctl.conf
       # Kernel sysctl configuration file for Red Hat Linux
       #
       # For binary values, 0 is disabled, 1 is enabled. See sysctl(8) and
       # sysctl.conf(5) for more details.
      
       # Controls IP packet forwarding
       net.ipv4.ip_forward = 0
      
       # Controls source route verification
       net.ipv4.conf.default.rp_filter = 1
      
       # Do not accept source routing
       net.ipv4.conf.default.accept_source_route = 0
      
       # Controls the System Request debugging functionality of the kernel
       kernel.sysrq = 0
      
       # Controls whether core dumps will append the PID to the core filename.
       # Useful for debugging multi-threaded applications.
       kernel.core_uses_pid = 1
      
       kernel.shmall = 2097152
       kernel.shmmax = 2147483648
       kernel.shmmni = 142
       # semaphores: semmsl, semmns, semopm, semmni
       kernel.sem = 256 32000 100 142
       fs.file-max = 131072
       net.ipv4.ip_local_port_range = 20000 65000
       kernel.msgmni = 2878
       kernel.msgmax = 8192
       kernel.msgmnb = 65535
      
 
[root@localhost security]# vi limits.conf
# /etc/security/limits.conf
#
#Each line describes a limit for a user in the form:
#
#<domain>         <type> <item> <value>
#
#Where:
#<domain> can be:
#         - an user name
#         - a group name, with @group syntax
#         - the wildcard *, for default entry
#         - the wildcard %, can be also used with %group syntax,
#                  for maxlogin limit
#
#<type> can have the two values:
#         - "soft" for enforcing the soft limits
#        - "hard" for enforcing hard limits
#
#<item> can be one of the following:
#         - core - limits the core file size (KB)
#         - data - max data size (KB)
#         - fsize - maximum filesize (KB)
#         - memlock - max locked-in-memory address space (KB)
#         - nofile - max number of open files
#         - rss - max resident set size (KB)
#         - stack - max stack size (KB)
#         - cpu - max CPU time (MIN)
#         - nproc - max number of processes
#         - as - address space limit
#         - maxlogins - max number of logins for this user
#         - maxsyslogins - max number of logins on the system
#         - priority - the priority to run user process with
#         - locks - max number of file locks the user can hold
#         - sigpending - max number of pending signals
#         - msgqueue - max memory used by POSIX message queues (bytes)
#
#<domain>       <type> <item>         <value>
#
 
*               soft    nproc           2047
*               hard    nproc           16384
*               soft    nofile          2048
*               hard    nofile          16384
#*                soft    core            0
#*                hard    rss             10000
#@student         hard    nproc           20
#@faculty         soft    nproc           20
#@faculty         hard    nproc           50
 
 
[root@localhost pam.d]# vi login
#%PAM-1.0
auth        required     pam_securetty.so
auth        required     pam_stack.so service=system-auth
auth        required     pam_nologin.so
account     required     pam_stack.so service=system-auth
password    required     pam_stack.so service=system-auth
# pam_selinux.so close should be the first session rule
session     required     pam_selinux.so close
session     required     pam_stack.so service=system-auth
session     required     pam_loginuid.so
session     optional     pam_console.so
# pam_selinux.so open should be the last session rule
session     required     pam_selinux.so open
 
session    required     /lib/security/pam_limits.so
 
[root@localhost etc]# vi profile
# /etc/profile
 
# System wide environment and startup programs, for login setup
# Functions and aliases go in /etc/bashrc
 
pathmunge () {
        if ! echo $PATH | /bin/egrep -q "(^|:)$1($|:)" ; then
           if [ "$2" = "after" ] ; then
              PATH=$PATH:$1
           else
              PATH=$1:$PATH
           fi
        fi
}
 
# Path manipulation
if [ `id -u` = 0 ]; then
        pathmunge /sbin
        pathmunge /usr/sbin
# /etc/profile
 
# System wide environment and startup programs, for login setup
# Functions and aliases go in /etc/bashrc
 
pathmunge () {
        if ! echo $PATH | /bin/egrep -q "(^|:)$1($|:)" ; then
           if [ "$2" = "after" ] ; then
              PATH=$PATH:$1
           else
              PATH=$1:$PATH
           fi
        fi
}
 
# Path manipulation
if [ `id -u` = 0 ]; then
        pathmunge /sbin
        pathmunge /usr/sbin
        pathmunge /usr/local/sbin
fi
 
pathmunge /usr/X11R6/bin after
 
 
# No core files by default
ulimit -S -c 0 > /dev/null 2>&1
 
USER="`id -un`"
LOGNAME=$USER
MAIL="/var/spool/mail/$USER"
 
HOSTNAME=`/bin/hostname`
HISTSIZE=1000
 
if [ -z "$INPUTRC" -a ! -f "$HOME/.inputrc" ]; then
    INPUTRC=/etc/inputrc
fi
 
export PATH USER LOGNAME MAIL HOSTNAME HISTSIZE INPUTRC
 
for i in /etc/profile.d/*.sh ; do
    if [ -r "$i" ]; then
        . $i
    fi
done
 
unset i
unset pathmunge
 
if [ $USER = "oracle" ]; then
        if [ $SHELL = "/bin/ksh" ]; then
              ulimit -p 16384
              ulimit -n 16384
        else
              ulimit -u 16384 -n 16384
        fi
fi
(八)  检测端口使用情况
 OracleAS Metadata Repository使用1521
这里不需要,对于AS和HTTPSERVER使用的端口可以在安装过程中指定。
 
(九)  挂载CDROM
% su
Password:
# mkdir /cdrom
# chmod 777 /cdrom
# mount -t iso9660 /dev/cdrom /mnt/cdrom
 
(十)  开始安装
解压
[root@localhost oracle_img]# cpio -idvm < as_linux_x86_101300_disk1.cpio
 
二、安装
高级模式
然后选择继续
选择中文语言包
测试完成
选择自动配置端口
如上配置,密码是:oc4jadmin
完成安装
安装完成。
 
三、测试安装
1、  通过部署应用程序验证安装
[2007-4-18 13:51:18] ruleauthor 的 Application Deployer 开始。
[2007-4-18 13:51:18] 将档案复制到
 C:/Oracle10g/OracleAS_1/j2ee/home/applications/ruleauthor.ear
[2007-4-18 13:51:18] 初始化
 C:/Oracle10g/OracleAS_1/j2ee/home/applications/ruleauthor.ear 开始...
[2007-4-18 13:51:18] 解压缩 ruleauthor.ear
[2007-4-18 13:51:18] 解压缩 ruleauthor.ear 完成
[2007-4-18 13:51:18] 解压缩 ruleauthor.war
[2007-4-18 13:51:22] 解压缩 ruleauthor.war 完成
[2007-4-18 13:51:22] 初始化
 C:/Oracle10g/OracleAS_1/j2ee/home/applications/ruleauthor.ear 结束...
[2007-4-18 13:51:22] 启动应用程序: ruleauthor
[2007-4-18 13:51:22] 初始化类加载程序
[2007-4-18 13:51:22] 初始化 EJB 容器
[2007-4-18 13:51:22] 加载连接器
[2007-4-18 13:51:23] 启动资源适配器
[2007-4-18 13:51:23] 初始化 EJB 会话
[2007-4-18 13:51:23] 提交类加载程序
[2007-4-18 13:51:23] 初始化 ruleauthor 开始...
[2007-4-18 13:51:23] 初始化 ruleauthor 结束...
[2007-4-18 13:51:23] 已启动的应用程序: ruleauthor
[2007-4-18 13:51:23] 将 Web 应用程序绑定到站点 default-web-site 开始...
[2007-4-18 13:51:23] 将应用程序 ruleauthor 的 ruleauthor Web 模块绑定到上下文根 /ruleauthor 下的站点 default-web-site
[2007-4-18 13:51:23] 将 Web 应用程序绑定到站点 default-web-site 结束...
[2007-4-18 13:51:23] ruleauthor 的 Application Deployer 完成。操作时间: 5406 msecs
[2007-4-18 14:01:20] rulehelp 的 Application Deployer 开始。
[2007-4-18 14:01:20] 将档案复制到
C:/Oracle10g/OracleAS_1/j2ee/home/applications/rulehelp.ear
[2007-4-18 14:01:20] 初始化 C:/Oracle10g/OracleAS_1/j2ee/home/applications/rulehelp.ear 开始...
[2007-4-18 14:01:20] 解压缩 rulehelp.ear
[2007-4-18 14:01:20] 解压缩 rulehelp.ear 完成
[2007-4-18 14:01:20] 解压缩 rulehelp.war
[2007-4-18 14:01:23] 解压缩 rulehelp.war 完成
[2007-4-18 14:01:23] 初始化 C:/Oracle10g/OracleAS_1/j2ee/home/applications/rulehelp.ear 结束...
[2007-4-18 14:01:23] 启动应用程序: rulehelp
[2007-4-18 14:01:23] 初始化类加载程序
[2007-4-18 14:01:23] 初始化 EJB 容器
[2007-4-18 14:01:23] 加载连接器
[2007-4-18 14:01:25] 启动资源适配器
[2007-4-18 14:01:25] 初始化 EJB 会话
[2007-4-18 14:01:25] 提交类加载程序
[2007-4-18 14:01:25] 初始化 rulehelp 开始...
[2007-4-18 14:01:25] 初始化 rulehelp 结束...
[2007-4-18 14:01:25] 已启动的应用程序: rulehelp
[2007-4-18 14:01:25] 将 Web 应用程序绑定到站点 default-web-site 开始...
[2007-4-18 14:01:25] 将应用程序 rulehelp 的 rulehelp Web 模块绑定到上下文根 /ruleauthor/help 下的站点 default-web-site
[2007-4-18 14:01:26] 初始化 Web 应用程序
rulehelp 的 Servlet oracle.help.web.OHWController
[2007-4-18 14:01:27] 初始化 Web 应用程序
rulehelp 的 Servlet oracle.cabo.servlet.UIXServlet
[2007-4-18 14:01:27] 将 Web 应用程序绑定到站点 default-web-site 结束...
[2007-4-18 14:01:27] rulehelp 的 Application Deployer 完成。操作时间: 7047 msecs
 
 
2、  默认端口
Component
Default Port
Port Number Range
Name in staticports.ini
Oracle Process Manager and Notification Server (OPMN)
Oracle Notification Server Request Port
6003
6003 - 6099
Oracle Notification Server Request port
Oracle Notification Server Local Port
6100
6100 - 6199
Oracle Notification Server Local port
Oracle Notification Server Remote Port
6200
6200 - 6299
Oracle Notification Server Remote port
Oracle Application Server Containers for J2EE (OC4J)
OC4J AJP
12501
12501 - 12600
Not settable through staticports.ini
OC4J RMI
12401
12401 - 12500
Not settable through staticports.ini
JMS
12601
12601 - 12700
Not settable through staticports.ini
IIOP
13301
13301 - 13400
Not settable through staticports.ini
IIOPS1
13401
13401 - 13500
Not settable through staticports.ini
IIOPS2
13501
13501 -13600
Not settable through staticports.ini
Oracle HTTP Server
Listen Port
7777
7777 - 7877
Not settable through staticports.ini
Listen (SSL) Port
4443
4443
Not settable through staticports.ini
Port
7777
7777 - 7877
Oracle HTTP Server port
SSL Port
4443
443, 4443
Oracle HTTP Server SSL port
Java Object Cache
7000
7000 - 7099
Not settable through staticports.ini
Port Tunneling
7501
7501 - 7599
Not settable through staticports.ini
Oracle HTTP Server Diagnostic port
7200
7200 - 7299
Not settable through staticports.ini
 
 附录:(runInstall.sh执行前的必须的系统配置方式过程、命令行)
Last login: Wed Apr 18 10:05:20 2007 from 10.77.1.37
[root@app03 ~]# cd /
[root@app03 /]# cat /etc/issue
Red Hat Enterprise Linux AS release 4 (Nahant Update 4)
Kernel /r on an /m
[root@app03 /]# cat /etc/redhat-release
Red Hat Enterprise Linux AS release 4 (Nahant Update 4)

[root@app03 /]# rpm -q glibc
glibc-2.3.4-2.25
[root@app03 /]# rpm -q glibc-common
glibc-common-2.3.4-2.25
[root@app03 /]# rpm -q binutils
binutils-2.15.92.0.2-21
[root@app03 /]# rpm -q compat-libstdc++-296
compat-libstdc++-296-2.96-132.7.2
[root@app03 /]# rpm -q gcc
gcc-3.4.6-3
[root@app03 /]# rpm -q gcc-c++
gcc-c++-3.4.6-3
[root@app03 /]# rpm -q libstdc++
libstdc++-3.4.6-3
[root@app03 /]# rpm -q libstdc++-devel
libstdc++-devel-3.4.6-3
[root@app03 /]# rpm -q openmotif21
openmotif21-2.1.30-11.RHEL4.6
[root@app03 /]# rpm -q pdksh
pdksh-5.2.14-30.3
[root@app03 /]# rpm -q setarch
setarch-1.6-1
[root@app03 /]# rpm -q make
make-3.80-6.EL4
[root@app03 /]# rpm -q gnome-libs
gnome-libs-1.4.1.2.90-44.1
[root@app03 /]# rpm -q compat-db
compat-db-4.1.25-9
[root@app03 /]# rpm -q control-center
control-center-2.8.0-12.rhel4.5
[root@app03 /]# rpm -q xscreensaver
xscreensaver-4.18-5.rhel4.11
[root@app03 /]# vi /etc/oraInst.loc

[root@app03 /]# /usr/sbin/groupadd oinstall
[root@app03 /]# /usr/sbin/useradd -g oinstall oracle
[root@app03 /]# passwd oracle
Changing password for user oracle.
New UNIX password: oracle
[oracle@app03 ~]$ DISPLAY=10.77.1.37:0,0;export DISPLAY
[oracle@app03 ~]$ env
HOSTNAME=app03
SHELL=/bin/bash
TERM=vt100
HISTSIZE=1000
QTDIR=/usr/lib/qt-3.3
USER=oracle
LS_COLORS=no=00:fi=00:di=01;34:ln=01;36:pi=40;33:so=01;35:bd=40;33;01:cd=40;33;01:or=01;05;37;41:mi=01;05;37;41:ex=01;32:*.cmd=01;32:*.exe=01;32:*.com=01;32:*.btm=01;32:*.bat=01;32:*.sh=01;32:*.csh=01;32:*.tar=01;31:*.tgz=01;31:*.arj=01;31:*.taz=01;31:*.lzh=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.gz=01;31:*.bz2=01;31:*.bz=01;31:*.tz=01;31:*.rpm=01;31:*.cpio=01;31:*.jpg=01;35:*.gif=01;35:*.bmp=01;35:*.xbm=01;35:*.xpm=01;35:*.png=01;35:*.tif=01;35:
KDEDIR=/usr
MAIL=/var/spool/mail/oracle
PATH=/usr/kerberos/bin:/usr/local/bin:/bin:/usr/bin:/usr/X11R6/bin:/home/oracle/bin
INPUTRC=/etc/inputrc
PWD=/home/oracle
LANG=en_US.UTF-8
SSH_ASKPASS=/usr/libexec/openssh/gnome-ssh-askpass
SHLVL=1
HOME=/home/oracle
LOGNAME=oracle
LESSOPEN=|/usr/bin/lesspipe.sh %s
DISPLAY=10.77.1.37:0,0
G_BROKEN_FILENAMES=1
_=/bin/env
[oracle@app03 ~]$

[root@app03 ~]# vi /etc/sysctl.conf
# Kernel sysctl configuration file for Red Hat Linux
#
# For binary values, 0 is disabled, 1 is enabled.  See sysctl(8) and
# sysctl.conf(5) for more details.
# Controls IP packet forwarding
net.ipv4.ip_forward = 0
# Kernel sysctl configuration file for Red Hat Linux
#
# For binary values, 0 is disabled, 1 is enabled.  See sysctl(8) and
# sysctl.conf(5) for more details.
# Controls IP packet forwarding
net.ipv4.ip_forward = 0
# Controls source route verification
net.ipv4.conf.default.rp_filter = 1
# Do not accept source routing
net.ipv4.conf.default.accept_source_route = 0
# Controls the System Request debugging functionality of the kernel
kernel.sysrq = 0
# Controls whether core dumps will append the PID to the core filename.
# Useful for debugging multi-threaded applications.
kernel.core_uses_pid = 1
kernel.shmall = 2097152
kernel.shmmax = 2147483648
kernel.shmmni = 142
kernel.sem = 256 32000 100 142
fs.file-max = 131072
net.ipv4.ip_local_port_range = 20000 65000
kernel.msgmni = 2878
kernel.msgmax = 8192
"/etc/sysctl.conf" 30L, 814C written  

[root@app03 ~]# sysctl -p
net.ipv4.ip_forward = 0
net.ipv4.conf.default.rp_filter = 1
net.ipv4.conf.default.accept_source_route = 0
kernel.sysrq = 0
kernel.core_uses_pid = 1
kernel.shmall = 2097152
kernel.shmmax = 2147483648
kernel.shmmni = 142
kernel.sem = 256 32000 100 142
fs.file-max = 131072
net.ipv4.ip_local_port_range = 20000 65000
kernel.msgmni = 2878
kernel.msgmax = 8192

[root@app03 ~]# cat /proc/sys/kernel/shmmax
2147483648
[root@app03 /]# vi /etc/security/limits.conf
#<domain>      <type>  <item>         <value>
#
#*               soft    core            0
#*               hard    rss             10000
#@student        hard    nproc           20
#@faculty        soft    nproc           20
#@faculty        hard    nproc           50
#ftp             hard    nproc           0
#@student        -       maxlogins       4
 *               soft    nproc           2047
 *               hard    nproc           16384
 *               soft    nofile          2048
 *               hard    nofile          16384

[root@app03 /]# vi /etc/pam.d/login
session    required     /lib/security/pam_limits.so
[root@app03 /]# vi /home/oracle/.bash_profile
PATH=$PATH:$HOME/bin:/opt/app/oas10g/as03/bin:/opt/app/oas10g/as03/op
mn/bin:/opt/app/oas10g/as03/dcm/bin
export PATH
unset USERNAME
ulimit -u 16384
ulimit -n 16384
[root@app03 /]# su - oracle
[oracle@app03 ~]$ export DISPLAY=10.77.1.37:0.0
[root@app02 /]# su - oracle
[oracle@app02 ~]$ ls
as_linux_x86_101300_disk1.cpio
as_linux_x86_companion_cd_101300_disk1.cpio
as_linux_x86_companion_cd_101300_disk2.cpio
[oracle@app02 ~]$ cpio -idvm < as_linux_x86_101300_disk1.cpio
.....
doc/install.1013/install/img_text/dr_dg.htm
doc/install.1013/install/img_text/dr_cfc.htm
doc/install.1013/install/img_text
doc/install.1013/install/img/asadm053.gif
doc/install.1013/install/img/asadm058.gif
doc/install.1013/install/img/asadm054.gif
doc/install.1013/install/img/asadm056.gif
doc/install.1013/install/img/asadm057.gif
doc/install.1013/install/img/ports_no_wc.gif
doc/install.1013/install/img/copyToDisk.gif
doc/install.1013/install/img/nfs_multi_inst.gif
doc/install.1013/install/img/installer_welcome.gif
doc/install.1013/install/img/installer_progress.gif
doc/install.1013/install/img/installer_config.gif
doc/install.1013/install/img/installer_end.gif
doc/install.1013/install/img/installer_welcome_advanced.gif
doc/install.1013/install/img/installer_warning.gif
doc/install.1013/install/img/installer_type.gif
doc/install.1013/install/img/installer_ports.gif
doc/install.1013/install/img/installer_manage.gif
doc/install.1013/install/img/installer_admin.gif
doc/install.1013/install/img/installer_name.gif
doc/install.1013/install/img/installer_cluster_j2ee.gif
doc/install.1013/install/img/installer_cluster_http.gif
doc/install.1013/install/img/installer_cluster_integrate.gif
doc/install.1013/install/img/installer_summary.gif
doc/install.1013/install/img/ashia080.gif
doc/install.1013/install/img/ashia081.gif
doc/install.1013/install/img/ashia083.gif
doc/install.1013/install/img/ashia084.gif
doc/install.1013/install/img/dr.gif
doc/install.1013/install/img/dr_name_res.gif
doc/install.1013/install/img/dr_dg.gif
doc/install.1013/install/img/dr_cfc.gif
doc/install.1013/install/img
doc/install.1013/install
doc/install.1013
doc/quickinstall.1013/quickinstall/blafdoc.css
doc/quickinstall.1013/quickinstall/toc.htm
doc/quickinstall.1013/quickinstall/quick_install.htm
doc/quickinstall.1013/quickinstall
doc/quickinstall.1013/quickinstall.pdf
doc/quickinstall.1013
doc/relnotes.1013/relnotes.pdf
doc/relnotes.1013/relnotes/darbbook.css
doc/relnotes.1013/relnotes/blafdoc.css
doc/relnotes.1013/relnotes/toc.htm
doc/relnotes.1013/relnotes/title.htm
doc/relnotes.1013/relnotes/preface.htm
doc/relnotes.1013/relnotes/intro.htm
doc/relnotes.1013/relnotes/install.htm
doc/relnotes.1013/relnotes/manage.htm
doc/relnotes.1013/relnotes/ohs.htm
doc/relnotes.1013/relnotes/oc4j.htm
doc/relnotes.1013/relnotes/portal.htm
doc/relnotes.1013/relnotes/toplink.htm
doc/relnotes.1013/relnotes/rules.htm
doc/relnotes.1013/relnotes/hadr.htm
doc/relnotes.1013/relnotes/sensoredgeserver.htm
doc/relnotes.1013/relnotes
doc/relnotes.1013
doc
.
1087855 blocks
[oracle@app02 ~]$
[oracle@app02 ~]$ ls -al
total 1477564
drwx------   7 oracle oinstall      4096 Apr 18 16:23 .
drwxr-xr-x   3 root   root          4096 Apr 18 15:44 ..
-rw-r--r--   1 oracle oinstall 556981760 Jan 29  2006 as_linux_x86_101300_disk1.cpio
-rw-r--r--   1 oracle oinstall 471728128 Jul 20  2006 as_linux_x86_companion_cd_101300_disk1.cpio
-rw-r--r--   1 oracle oinstall 482746368 Jul 20  2006 as_linux_x86_companion_cd_101300_disk2.cpio
-rw-------   1 oracle oinstall        15 Apr 18 16:20 .bash_history
-rw-r--r--   1 oracle oinstall        24 Apr 18 15:44 .bash_logout
-rw-r--r--   1 oracle oinstall       309 Apr 18 15:56 .bash_profile
-rw-r--r--   1 oracle oinstall       124 Apr 18 15:44 .bashrc
-rw-r--r--   1 oracle oinstall      5619 Apr 18 15:44 .canna
drwxr-xr-x   7 oracle oinstall      4096 Jan 26  2006 doc
-rw-r--r--   1 oracle oinstall       383 Apr 18 15:44 .emacs
-rw-r--r--   1 oracle oinstall       120 Apr 18 15:44 .gtkrc
drwxr-xr-x   5 oracle oinstall      4096 Jan 20  2006 install
drwxr-xr-x   3 oracle oinstall      4096 Apr 18 15:44 .kde
-rwxr-xr-x   1 oracle oinstall      1696 Jan 25  2006 runInstaller
drwxr-xr-x  10 oracle oinstall      4096 Jan 23  2006 stage
drwxr-xr-x   2 oracle oinstall      4096 Apr 18 15:44 .xemacs
-rw-r--r--   1 oracle oinstall       658 Apr 18 15:44 .zshrc
[oracle@app02 ~]$
[root@app02 ~]# cd /home/oracle/oraInventory/
[root@app02 oraInventory]# ls -al
total 12
drwxrwxr-x   2 oracle oinstall 4096 Apr 18 16:27 .
drwx------  19 oracle oinstall 4096 Apr 18 16:27 ..
-rwxr-xr-x   1 oracle oinstall  742 Apr 18 16:27 orainstRoot.sh
[root@app02 oraInventory]# ./orainstRoot.sh
Creating the Oracle inventory pointer file (/etc/oraInst.loc)
Changing groupname of /home/oracle/oraInventory to oinstall.
[root@app02 /]# cd /opt/app/oas10g/as02/
[root@app02 as02]# ./root.sh
Running Oracle10 root.sh script...
The following environment variables are set as:
    ORACLE_OWNER= oracle
    ORACLE_HOME=  /opt/app/oas10g/as02
Enter the full pathname of the local bin directory: [/usr/local/bin]:
   Copying dbhome to /usr/local/bin ...
   Copying oraenv to /usr/local/bin ...
   Copying coraenv to /usr/local/bin ...
Creating /etc/oratab file...
Adding entry to /etc/oratab file...
Entries will be added to the /etc/oratab file as needed by
Database Configuration Assistant when a database is created
Finished running generic part of root.sh script.
Now product-specific root actions will be performed.
[root@app02 as02]#
[oracle@app03 bin]$ createinstance  -instanceName oc4j_cluster02
Creating OC4J instance "oc4j_cluster02"...
Set OC4J administrator's password for "oc4j_cluster02" (password text will not be displayed as it is entered)
Enter password:           
Confirm password:           
The password for OC4J administrator "oc4jadmin" has been set.
New OC4J instance "oc4j_cluster02" has been created.
[oracle@app03 bin]$ createinstance  -instanceName oc4j_cluster01
Creating OC4J instance "oc4j_cluster01"...
Set OC4J administrator's password for "oc4j_cluster01" (password text will not be displayed as it is entered)
Enter password:           
Confirm password:           
The password for OC4J administrator "oc4jadmin" has been set.
New OC4J instance "oc4j_cluster01" has been created.
[oracle@app03 bin]$ createinstance  -instanceName oc4j_cluster03
Creating OC4J instance "oc4j_cluster03"...
Set OC4J administrator's password for "oc4j_cluster03" (password text will not be displayed as it is entered)
Enter password:           
Confirm password:           
Error creating new OC4J instance: OC4J administrator password mismatches.
[oracle@app03 bin]$ createinstance  -instanceName oc4j_cluster03
Creating OC4J instance "oc4j_cluster03"...
Set OC4J administrator's password for "oc4j_cluster03" (password text will not be displayed as it is entered)
Enter password:           
Confirm password:           
The password for OC4J administrator "oc4jadmin" has been set.
New OC4J instance "oc4j_cluster03" has been created.
[oracle@app03 bin]$ opmnctl startproc process-type=oc4j_cluster01
opmnctl: starting opmn managed processes...
[oracle@app03 bin]$ opmnctl startproc process-type=oc4j_cluster02
opmnctl: starting opmn managed processes...
[oracle@app03 bin]$ opmnctl startproc process-type=oc4j_cluster03
opmnctl: starting opmn managed processes...
[oracle@app03 bin]$ opmnctl @cluster status
Processes in Instance: appserver03.app03
-------------------+--------------------+---------+---------
ias-component      | process-type       |     pid | status 
-------------------+--------------------+---------+---------
OC4J               | oc4j_cluster03     |    5376 | Alive  
OC4J               | oc4j_cluster01     |    5192 | Alive  
OC4J               | oc4j_cluster02     |    5291 | Alive  
OC4J               | home03             |   27491 | Alive  
HTTP_Server        | HTTP_Server        |   27490 | Alive  
ASG                | ASG                |     N/A | Down   
[oracle@app02 bin]$ opmnctl config topology update discover=*230.0.0.1:6789
[oracle@app02 bin]$ opmnctl reload
opmnctl: reconfiguring opmn...
opmnctl: opmn reloaded successfully...
[oracle@app03 bin]$ pwd
/opt/app/oas10g/as03/bin
[oracle@app03 bin]$ opmnassociate.sh *230.0.0.1:6789 -restart
Associating Integrated Install Type
Setting OPMN discovery address to *230.0.0.1:6789

Processes in Instance: appserver03.app03
-------------------+--------------------+---------+---------
ias-component      | process-type       |     pid | status 
-------------------+--------------------+---------+---------
OC4J               | oc4j_cluster03     |    5709 | Alive  
OC4J               | oc4j_cluster01     |    5708 | Alive  
OC4J               | oc4j_cluster02     |    5707 | Alive  
OC4J               | home03             |    5706 | Alive  
HTTP_Server        | HTTP_Server        |    5705 | Alive  
ASG                | ASG                |     N/A | Down   
OPMN command executed successfully
[oracle@app03 bin]$

[oracle@app03 bin]$

Linux32
glibc-2.3.4-2.9
glibc-common-2.3.4-2.9
binutils-2.15.92.0.2-13
compat-libstdc++-296-2.96-132.7.2
gcc-3.4.3-22.1
gcc-c++-3.4.3-22.1
libstdc++-3.4.3-22.1
libstdc++-devel-3.4.3-22.1
openmotif21-2.1.30-11.RHEL4.4
pdksh-5.2.14-30
setarch-1.6-1
make-3.80-5
gnome-libs-1.4.1.2.90-44.1
sysstat-5.0.5-1
compat-db-4.1.25-9
control-center-2.8.0-12
xscreensaver-4.18-5.rhel4.2
Linux x86-64:
binutils-2.15.92.0.2-13.x86_64.rpm
compat-db-4.1.25-9.i386.rpm (32-bit)
compat-db-4.1.25-9.x86_64.rpm
control-center-2.8.0-12.x86_64.rpm
gcc-3.4.3-22.1.x86_64.rpm
gcc-c++-3.4.3-22.1.x86_64.rpm
glibc-2.3.4-2.9.i686.rpm (32-bit)
glibc-2.3.4-2.9.x86_64.rpm
glibc-common-2.3.4-2.9.x86_64.rpm
gnome-libs-1.4.1.2.90-44.1.x86_64.rpm
libstdc++-3.4.3-22.1.i386.rpm (32-bit)
libstdc++-3.4.3-22.1.x86_64.rpm
libstdc++-devel-3.4.3-22.1.i386.rpm (32-bit)
libstdc++-devel-3.4.3-22.1.x86_64.rpm
make-3.80-5.x86_64.rpm
pdksh-5.2.14-30.x86_64.rpm
sysstat-5.0.5-1.x86_64.rpm
xscreensaver-4.18-5.rhel4.2.x86_64.rpm
setarch-1.6-1.x86_64
openmotif21-2.1.30-11.RHEL4.4.i386.rpm (32-bit)
 
原文链接: http://blog.csdn.net/jaminwm/article/details/1594661

转载于:https://my.oschina.net/chen106106/blog/45389

 类似资料: