Orecle Retail(Retek) 13.1 Demo TechBase安装日志
下载Oracle Linux 5.5: 必须从www.oracle.com ->Download -> Server 进入,会引导你进入edelivery (直接进edelivery 是没有linux下载入口的)
下载Database 11g 11.1.0.7 : 先从edelivery下载11.1.0.6 ,再去Metalink下载11.1.0.7的patch.
下载Application Server 10.1.2.0.2 Form and Report Service : 从edelivery的Oracle Development Tools 入口进去找
Application Server 10.1.2.3 : Patchset 5983622
下载BI Publiser Server: 从edelivery 的BI 入口进入下载。
RMS 文档: http://download.oracle.com/docs/cd/E12448_01/rms/docset.html
===========================================================================
一、DB(11.1.0.7)安装:
Stage: OracleRetailR13.1\Datebase11g_X64
1.1)根据 oracle database 11g quick install guider b32285.pdf 进行db 安装 11.1.0.6
备注:如果安装OEL 5.5 那么rpm只要再额外安装sysstat即可。
安装过程中的密码设置:********
数据库管理访问:https://retek13.hand-china.com:1158/em
1.2)根据README.htm 安装 11g Release 1 (11.1.0.7) Patch Set 1 for Linux x86-64
ORACLE_BASE=/d01/app/oracle
ORACLE_SID=orcl
ORACLE_HOME=/d01/app/oracle/product/11.1.0/db_1
PATH=$ORACLE_HOME/bin:$ORACLE_HOME/OPatch:$PATH:
export export ORACLE_HOME ORACLE_SID PATH
1.3)启停数 据库
停止:
su – oracle
设置 环境变量
停止dbconsole: $ emctl stop dbconsole (可选)
停止 lsn : $ lsnrctl stop [listener_name]
停止实例(web 界面或者 sqlplus)
启动:
su – oracle
设置 环境变量
启动 lsn : $ lsnrctl start [listener_name]
启动dbconsole: $ emctl start dbconsole
启动实例(web 界面或者 sqlplus)
========================================================================================
二、AS 安装:
Stage: OracleRetailR13.1\OracleAS\
2.1) FormServer & ReportServer 10.1.2.3 安装
2.1.1) 根据 B25260-01 中的AS Install Guider 安装10.1.2.0.2 ( B24489-01.zip)
默认情况下,AS 10gR2 不能在OEL5.x上安装,需要打patch ,才能在此平台上安装,参考[ID 564174.1]
DISPLAY=:0.0
export DISPLAY
./runInstaller PREREQ_CONFIG_LOCATION=/d01/stage/OracleAS/formserver/10.1.2.0.2/prereq -paramFile /d01/stage/OracleAS/formserver/10.1.2.0.2/oraparam.ini
中文环境安装有字体问题,切换到英文环境安装:
Ias_admin password : ********1
Form Server 安装成功后的信息:
see the following URL to access the Oracle Enterprise Manager 10g Application Server Control Console :
http://retek13.hand-china.com:1156
The following information is available in:
/d01/app/oracle/OraHome_1/install/setupinfo.txt
Oracle Application Server 10g 10.1.2.0.2 Usernames and Default password information: Please refer to the Oracle Application Server 10g Administrator Guide for more information.
Install Type: Oracle Application Server Forms and Reports Services
Configured Components: Oracle HTTP Server, OracleAS 10g Containers for J2EE, OracleAS 10g Web Cache, OracleAS 10g Reports Services, OracleAS 10g Forms Services
Use the following URL to access the Oracle HTTP Server and the Welcome Page:
http://retek13.hand-china.com:7777
—————————————–
Use the following URL to access the Oracle Enterprise Manager Application Server Control:
http://retek13.hand-china.com:1156
Instance Name: rmsappsvr.retek13.hand-china.com
User: ias_admin
Psw:********1
2.1.2)安装 p5983622_10123_LINUX.zip 升级到10.1.2.3 (根据patch的Readme)
ORACLE_HOME=/d01/app/oracle/OraHome_1
PATH=$ORACLE_HOME/bin:$ORACLE_HOME/OPatch:$PATH:
export ORACLE_HOME PATH
su – oracle
linux32 bash
ORACLE_HOME=/d01/app/oracle/OraHome_1
export ORACLE_HOME
$ORACLE_HOME/bin/emctl stop iasconsole
$ORACLE_HOME/opmn/bin/opmnctl stopall
安装过程中会报错
查log 有如下错误:
— message in installation logs
/usr/bin/ld: skipping incompatible $ORACLE_HOME/lib//libiplsn.a when searching for -liplsn
/usr/bin/ld: skipping incompatible $ORACLE_HOME/lib/libiplsn.a when searching for -liplsn
/usr/bin/ld: cannot find -liplsn
查Metalink没有解决方法,查google有如下解决方法:
原因:env_forms.mk 中有些调用gcc的地方漏加 -m32 参数。
解决方法:
1) Don’t quit current installation
2) Edit $ORACLE_HOME/forms/lib/env_forms.mk
比如这些地方:(在这里列举的不全,请用 /gcc查找修改每一处)
LINK=$(PURECMDS) gcc $(LDFLAGS) $(COMPSOBJS) -m32
SOSD_FORMS_LDSHARED=/usr/bin/gcc -m32 -o $@ -z text -shared
SOSD_FORMS_LDSHARED_SO=/usr/bin/gcc -m32 -o $@ -z muldefs -shared -$(LDPATHFLAG)$(LIBHOME)
cd $ORACLE_HOME/forms/lib
make -f ins_forms.mk install
3) Retry installation
上述错误解决后,安装就正常了。
2.2) Oracle Application Server Oc4j J2ee&Web Server 10gR3 安装
2.2.1)Oracle Application Server 10.1.3.1 安装(soa_linux_x86_101310_disk1.cpio)
10.1.3.1 在OEL 5.x _X86_64上安装也需要更改预安装检查参数,则可以在metalink上找patch[ID 790943.1】提出在OEL 5.x 上能安装SOA 10.1.3.1 。对应的预安装patch 为:p6339508_101310_Linux-x86-64.zip ,按此note安装。
为了不与以前安装的Application Server端口冲突,更改参数:更改 staticports.ini 中的端口参数(从2000开始)
su – oracle
linux32 bash
cd /d01/stage/OracleAS/10.1.3.1
./runInstaller PREREQ_CONFIG_LOCATION=/d01/stage/OracleAS/10.1.3.1/prereq -paramFile /d01/stage/OracleAS/10.1.3.1/oraparam.ini
linux32 bash
cd /d01/stage/OracleAS/10.1.3.0
./runInstaller PREREQ_CONFIG_LOCATION=/d01/stage/OracleAS/10.1.3.0/prereq -paramFile /d01/stage/OracleAS/10.1.3.0/oraparam.ini
备注: 如果出现错误提示:
Error in writing to directory /tmp/OraInstall2010-08-30_05-03-38PM. Please ensure that this directory is writable and has atleast 60 MB of disk space. Installation cannot continue.
: Success
无法安装。请检查预安装patch是否正确,有的时候用错了,因为param.ini不匹配,导致文件指向错误,会出现这种错误提示。
先创建3个Schema: ORAWSM,ORABPEL,ORAESB 密码都是********;
As Instance name : retekas2
Oc4jadmin 密码: ********1
Default Oc4j instance name :home
安装完成后的信息:
Access the Welcome page:
http://retek13.hand-china.com:2000
Access Oracle Enterprise manager 10g Application Server Contral:
http://retek13.hand-china.com:2000/em
停止服务:
ORACLE_HOME=/d01/app/oracle/product/10.1.3.1/OracleAS_2
PATH=$ORACLE_HOME/bin:$ORACLE_HOME/OPatch:$PATH:
export export ORACLE_HOME PATH
$ORACLE_HOME/opmn/bin/opmnctl stopall
2.2.2)Oracle Application Server 10.1.3.4 Patch 安装(ias_linux_x86_101340.zip)
xhost +
su – oracle
ORACLE_HOME=/d01/app/oracle/product/10.1.3.1/OracleAS_2
PATH=$ORACLE_HOME/bin:$ORACLE_HOME/OPatch:$PATH:
export export ORACLE_HOME ORACLE_SID PATH
cd /d01/stage/OracleAS/Disk1
linux32 bash
./runInstaller
2.3) BI Publisher Server 安装
xhost +
su – oracle
ORACLE_HOME=/d01/app/oracle/product/10.1.3.1/OracleAS_2
PATH=$ORACLE_HOME/bin:$ORACLE_HOME/OPatch:$PATH:
export export ORACLE_HOME ORACLE_SID PATH
cd /d01/stage/OracleAS/RH_Linux/Oracle_Business_Intelligence_Publisher_Standalone
linux32 bash
./runInstaller
选择 Advanced Install type
安装完成后的信息:
The installation of Oracle BI Publisher 10.1.3.4.1 was successful.
These instructions are located in:
/d01/app/oracle/product/10.1.3.1/BIPHome_1/BI_Publisher_readme.txt
At the end of this installation BI Publisher will be started.
You may access it at the following URL:
http://retek13.hand-china.com:2000/xmlpserver
as
Username: Administrator
Password: Administrator
启停服务是受OracleAS_2控制的。
我需要更改ip, 从192.168.15.10 -> 192.168.1.10
IP更改完成,服务器重启后,DB,AS均未受影响。 很简单!
关于作者:
昵称:Jack.shang 档案信息:jack.shang 一位从技术走向管理,再从管理走向市场的普通行者 联系方式:你可以通过syfvb@hotmail.com联系作者 点击查看Jack.shang发表过的所有文章... 本文永久链接: http://blog.retailsolution.cn/archives/2607 |
对本文的评价: