WebLogic 安装笔记

1、查看是否安装了java程序

# swlist �Cl bundle
B9788AA                1.3.1 .09.07    Java2 1.3 SDK for HP-UX
B9789AA               1.3.1 .09.07    Java2 1.3 RTE for HP-UX
T1456AA               1.4.1 .03.01    Java2 1.4 SDK for HP-UX
T1457AA               1.4.1 .03.01    Java2 1.4 RTE for HP-UX
说明系统中已经安装了 java 程序,且最高版本为 1.4.1 .03

2、检查java版本

需要检查 java 的版本,如果版本比较低,可能会对 weblogic 产生一些问题,因此需要根据 weblogic 公司的要求,升级到比较新的版本。
在当前安装的 HP-UX 11iv2 11.23 )系统中, java 的版本号为 1.4.1 .03 ,目前 HP 提供的最新 java 版本为 1.4.2.03 2004 4 月)。
# export PATH=$PATH:/opt/java1.4/bin
# java �Cversion
java version " 1.4.1 .03"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1 .03-030630-19:37)
Java HotSpot(TM) Server VM (build 1.4.1 1.4.1 .03-030701-03:26-IA64N IA64, mixed)
 

3、设置java环境变量

# vi /etc/profile    在最后增加
JAVA_HOME=/opt/java1.4 export JAVA_HOME
PATH=$JAVA_HOME/bin:$PATH export PATH
 

4、安装Weblogic

4.1 安装Weblogic Server8.1 SP1
n        查看光驱设备
# ioscan �CfnC disk
看到的光驱设备为 /dev/rsk/c0t0d0
n        Weblogic 安装盘放入光驱,并加载
# mkdir /cdrom
# mount /dev/dsk/c0t0d0 /cdrom
# ll  /cdrom
应该可以看到两个文件:
pj_server811_generic.jar (安装文件)
wls811_hpux1123_supp.jar (补丁文件)
n        安装
# cd  /bea
# java  �Cjar  /cdrom/pj_server811_generic.jar  �Cmode=console
Welcome:
 
This installer will guide you through the installation of
WebLogic Server 8.1 SP1. Type "Next" or enter to proceed to the next
 prompt.  If you want to change data entered previously, type
 "Previous".  You may quit the installer at any time by
typing "Exit".
 
Enter [Exit][Next]> Next
输入 Next ,回车。
BEA Systems License Agreement:
 
BEA SYSTEMS, INC. SOFTWARE LICENSE AGREEMENT
 
USE OF SOFTWARE ORDERED FROM BEA SYSTEMS, INC. ("BEA") IS PROVIDED ONLY
 UNDER LICENSE FROM BEA. PLEASE READ THE FOLLOWING LICENSE CAREFULLY
AND INDICATE YOUR ACCEPTANCE BY CLICKING THE ACCEPTANCE BOX. CERTAIN
CAPITALIZED TERMS ARE DEFINED IN SECTION  11.
 
1. LICENSE TERMS
a. Evaluation Use. The terms of this Section 1(a) are applicable to you
 if you have registered as an Evaluation customer. Subject to the terms
 of this Agreement, BEA grants to you a non-exclusive,
non-transferable, license to use the evaluation version of the Software
 solely for Evaluation Use. Third party software products or modules
supplied by BEA, if any, may be used solely with the Software. This
 
Enter [Yes][No][Exit][Previous][More]> Yes
输入 yes ,回车。
Choose BEA Home Directory:
--------------------------
    " BEA Home " = [/usr/local/bea]
 
Input new BEA Home OR [Exit][Previous][Next]> /bea
输入 BEA 软件的 Home 目录,这里输入 /bea ,回车。
Choose BEA Home Directory:
--------------------------
    *BEA home choice
 
  1|Yes, Use this BEA home directory [/bea]
   2|No, return to BEA home directory selection
 
Enter index number to select OR [Exit][Previous][Next]> 1
选择 1 ,确认 BEA Home Directory ,回车。
Choose Install Type:
--------------------
  1|Complete
    |Install the complete BEA WebLogic Platform.
 
   2|Custom Installation
    |Choose software components to install and perform optional configuration.
 
Enter index number to select OR [Exit][Previous][Next]>1
选择 1 -完全安装,回车。
Choose Product Directory:
-------------------------
 
    "Product Installation Directory" = [/bea/weblogic81]
 
Input new Product Installation Directory OR [Exit][Previous][Next]>next
输入 next ,回车。
Choose Product Directory:
-------------------------
 
  1|Yes, use this product directory [/bea/weblogic81]
   2|No, select another product directory
 
Enter index number to select OR [Exit][Previous][Next]>1
选择 1 ,确认产品安装目录,回车后开始安装
Installing files..
 
0%          25%          50%          75%          100%
[------------|------------|------------|------------]
[***************************************************]
安装完成后提示
Installation Complete
 
Congratulations! WebLogic Server 8.1 SP1 has been successfully installed to /bea/weblogic81.
 
Press any key to continue OR [Exit]>
按任意键继续
Clean up process in progress ...
安装完成。
4.2 设置Weblogic环境变量
# vi /etc/profile   加入以下内容
WL_PATH=/bea/weblogic81 export WL_PATH
PATH=$WL_PATH/server/bin:$PATH export PATH
 
4.3 安装补丁
# cd  $WL_HOME/server/lib/hpux11
# cp /cdrom/ wls811_hpux1123_supp.jar ./
# jar -xvf wls811_hpux1123_supp.jar
created: IPF32/
  created: IPF32/oci920_8/
extracted: IPF32/oci920_8/libweblogicoci39.so
extracted: IPF32/oci920_8/libweblogicoxa39.so
extracted: IPF32/libmuxer.so
extracted: IPF32/libNodeManager.so
extracted: IPF32/libterminalio.so
extracted: IPF32/libwlenv.so
extracted: IPF32/libweblogicunix1.so
  created: IPF64/
extracted: IPF64/wlauth
extracted: IPF64/wlkeytool
extracted: IPF64/mod_wl_20.so
解压后会在当前 /bea/weblogic81/server/lib/hpux11 目录产生两个目录 IPF32/ IPF64/
4.4 修改SHLIB_PATH
n        修改文件 startWLS.sh
# vi $WL_HOME/server/bin/startWLS.sh
n        修改文件 commEnv.sh
# vi $WL_HOME/common/bin/commEnv.sh
将以上两个文件中的 $WL_HOME/server/lib/hpux11 全部替换为 $WL_HOME/server/lib/hpux11/IPF32
4.5 修改文件权限
# chmod +x $WL_HOME/server/bin/*
# chmod �CR +x $WL_HOME/server/lib/hpux11/*
4.6 配置服务器
   # cd /bea/weblogic81/common/bin
# ./config.sh
 

本文出自 “技术专题” 博客,转载请与作者联系!

你可能感兴趣的:(Web,安装,职场,休闲,HP-UX WebLogic)