安装环境
[root@localhost ~]# lsb_release   -a
LSB Version:    :core-3.1-amd64:core-3.1-ia32:core-3.1-noarch:graphics-3.1-amd64:graphics-3.1-ia32:graphics-3.1-noarch
Distributor ID: CentOS
Description:    CentOS release 5.3 (Final)
Release:        5.3
Codename:       Final
You have new mail in /var/spool/mail/root
[root@localhost ~]# uname  -a
Linux localhost 2.6.18-128.el5 #1 SMP Wed Jan 21 10:41:14 EST 2009 x86_64 x86_64 x86_64 GNU/Linux

Was版本:    6.1 base
系统Jdk版本:    1.6.0_22
Updateinstaller: 6.1
补丁版本:    6.1.0-WS-WAS-LinuxX64-FP0000035.pak
            6.1.0-WS-WASSDK-LinuxX64-FP0000035.pak
WAS简介:
WAS是Websphere Application Server的简称,和Weblogic一样,是当前主流的是中间件之一。
PS:Was6.1要求的jdk版本是1.5以上的版本。

查看当前系统JDK版本
[root@localhost ~]# java -version
java version "1.6.0_22"
OpenJDK Runtime Environment (IcedTea6 1.10.6) (rhel-1.25.1.10.6.el5_8-x86_64)
OpenJDK 64-Bit Server VM (build 20.0-b11, mixed mode)

安装was6.1:
首先还是先从IBM网站下载WAS61_base_linux64程序包.

[root@localhost ~]# tar -xvf WAS61_base_linux64.tar
[root@localhost ~]# cd WASV61_BASE_LINX64/
[root@localhost WASV61_BASE_LINX64]# ./launchpad.sh
点击启动 WebSphere Application Server 的安装向导。


WAS安装完成.针对was 程序本身与was JDK进行打补丁
[root@localhost WASV61_BASE_LINX64]# /opt/IBM/WebSphere/AppServer/bin/versionInfo.sh
WVER0010I: Copyright (c) IBM Corporation 2002, 2005; All rights reserved.
WVER0012I: VersionInfo reporter version 1.15.1.13, dated 3/29/06

--------------------------------------------------------------------------------
IBM WebSphere Application Server Product Installation Status Report
--------------------------------------------------------------------------------

Report at date and time April 5, 2012 4:24:24 AM CST

Installation
--------------------------------------------------------------------------------
Product Directory        /opt/IBM/WebSphere/AppServer
Version Directory        /opt/IBM/WebSphere/AppServer/properties/version
DTD Directory            /opt/IBM/WebSphere/AppServer/properties/version/dtd
Log Directory            /opt/IBM/WebSphere/AppServer/logs
Backup Directory         /opt/IBM/WebSphere/AppServer/properties/version/nif/backup
TMP Directory            /tmp

Product List
--------------------------------------------------------------------------------
BASE                     installed

Installed Product
--------------------------------------------------------------------------------
Name                     IBM WebSphere Application Server
Version                  6.1.0.0
ID                       BASE
Build Level              b0620.14
Build Date               5/16/06

--------------------------------------------------------------------------------
End Installation Status Report
--------------------------------------------------------------------------------

[root@localhost WASV61_BASE_LINX64]# /opt/IBM/WebSphere/AppServer/java/bin/java -version
java version "1.5.0"
Java(TM) 2 Runtime Environment, Standard Edition (build pxa64dev-20060511 (SR2))
IBM J9 VM (build 2.3, J2RE 1.5.0 IBM J9 2.3 Linux amd64-64 j9vmxa6423-20060504 (JIT enabled)
J9VM - 20060501_06428_LHdSMr
JIT  - 20060428_1800_r8
GC   - 20060501_AA)
JCL  - 20060511a
下面开始打补丁
先安装updateinstaller补丁工具
[root@localhost ~]# unzip updateinstaller.updii.61019.linux.amd64.zip
[root@localhost ~]# cd UpdateInstaller/

将补丁文件 6.1.0-WS-WAS-LinuxX64-FP0000035.pak
6.1.0-WS-WASSDK-LinuxX64-FP0000035.pak
 放至这个目录/opt/IBM/WebSphere/UpdateInstaller/maintenance
[root@localhost UpdateInstaller]# ./install


[root@localhost ~]# /opt/IBM/WebSphere/AppServer/bin/versionInfo.sh
WVER0010I: Copyright (c) IBM Corporation 2002, 2005; All rights reserved.
WVER0012I: VersionInfo reporter version 1.15.4.3, dated 11/12/08

--------------------------------------------------------------------------------
IBM WebSphere Application Server Product Installation Status Report
--------------------------------------------------------------------------------

Report at date and time April 5, 2012 4:41:17 AM CST

Installation
--------------------------------------------------------------------------------
Product Directory        /opt/IBM/WebSphere/AppServer
Version Directory        /opt/IBM/WebSphere/AppServer/properties/version
DTD Directory            /opt/IBM/WebSphere/AppServer/properties/version/dtd
Log Directory            /opt/IBM/WebSphere/AppServer/logs
Backup Directory         /opt/IBM/WebSphere/AppServer/properties/version/nif/backup
TMP Directory            /tmp

Product List
--------------------------------------------------------------------------------
BASE                     installed

Installed Product
--------------------------------------------------------------------------------
Name                     IBM WebSphere Application Server
Version                  6.1.0.35
ID                       BASE
Build Level              cf351044.07
Build Date               11/5/10

--------------------------------------------------------------------------------
End Installation Status Report
--------------------------------------------------------------------------------
[root@localhost ~]# /opt/IBM/WebSphere/AppServer/java/bin/java -version
java version "1.5.0"
Java(TM) 2 Runtime Environment, Standard Edition (build pxa64devifx-20101008a (SR12 FP2 ))
IBM J9 VM (build 2.3, J2RE 1.5.0 IBM J9 2.3 Linux amd64-64 j9vmxa6423ifx-20101008 (JIT enabled)
J9VM - 20101007_66049_LHdSMr
JIT  - 20100623_16197ifx1_r8
GC   - 20100211_AA)
JCL  - 20101008
至此websphere v6.1 base版的安装后补丁已经完成.


[root@localhost ~]# /opt/IBM/WebSphere/AppServer/bin/manageprofiles.sh  -create -templatePath /opt/IBM/WebSphere/AppServer/profileTemplates/default/ -profileName server1 -p
rofilePath /opt/IBM/WebSphere/AppServer/profiles/server1
INSTCONFSUCCESS: Success: Profile server1 now exists. Please consult /opt/IBM/WebSphere/AppServer/profiles/server1/logs/AboutThisProfile.txt for more information about this profile.

-create            创建
-templatePath        模板
-profileName        概要名
-profilePath        概要位置

具体的可以看./manageprofiles.sh -help