选择安装维护包
选择维护包的路径
在执行下一步之前,需要先将补丁6.1.0-WS-WAS-LinuxX32-FP0000001.pak更新包拷贝到补丁安装更新程序的maintenance目录下
安装总结,注意看下图的蓝色字体部分【backupConfig】,如果安装补丁的应用服务器是在线生产系统,请注意使用backupConfig命令备份配置文件
执行下下一步,进行补丁安装。
等待安装完成,关闭
启动服务,检查是否安装正确,并检验版本号。
#cd/opt/IBM/WebSphere/AppServer/bin
#./startServer.shserver1
启动完成,进程号是2139
输入地址登陆管理控制台,查看目前的版本号
上图所示,版本已经升级到6.1.0.1,升级日期7/25/06.
接下来安装其他版本,因为6.1.0-WS-WASSDK-LinuxX32-FP0000027.pak和6.1.0-WS-WAS-LinuxX32-FP0000027.pak需要更高版本的updateinstaller,所以步骤和前面一样类似。
安装之前,需要停止中间件websphere服务才能安装补丁,先安装升级JDK补丁6.1.0-WS-WASSDK-LinuxX32-FP0000027.pak,JDK补丁升级后,请先检查是否安装补丁后服务是否能够正常启动,如果可以正常启动后再安装升级6.1.0-WS-WAS-LinuxX32-FP0000027.pak。
最后的版本是如下图的红色字体
如果出现下图的错误信息,直接参见以下步骤
但是在右边的图标是显示正常
描述:websphere 6.1安装完毕后进行升级,
升级的顺序是先安装download.updii.61019.linux.amd64.zip,
接着升级6.1.0-WS-WAS-LinuxX64-FP0000001.pak,
紧接着安装7.0.0.7-WS-UPDI-LinuxAMD64.zip,
再升级6.1.0-WS-WAS-LinuxX32-FP0000027.pak、
6.1.0-WS-WASSDK-LinuxX64-FP0000027.pak,结果启动was服务后,在欢迎的界面中出现上图的错误。
后来用google查询解决的办法,最终找到了IBM官方网站的此类问题,链接如下:
http://www-01.ibm.com/support/docview.wss?rs=180&uid=swg21264112
这里告诉了两种方法,摘录如下:
Method 1:
In this method we will use the Integrated Solution Console to navigate tothe trust store and retrieve this CA from the HTTP server on the DomainManager.
SSL certificate and key management > Manage endpoint securityconfigurations > cellName > Key stores and certificates >CellDefaultTrustStore > Signer certificates
Select Retrieve from port
Fill out the form Host (hostname), Port (https – port), and Alias (AliasName)
Host: dmgr hostname
Port: admin https port (WC_adminhost_secure)
Alias: New Alias Name for the certificate in Trust.p12
Select Retrieve signer information
Recycle the environment
Method 2:
Using this method, you will navigate to the servers certificate using theWebSphere Application Server - Integrated Solution Console and extract theCertificate authority from this personal certificate. Using the Ikeymanapplication, you will then import this CA into the trust.p12 file.
SSL certificate and key management > Manage endpoint securityconfigurations > cellName > Key stores and certificates >CellDefaultKeyStore > Personal certificates
Select Personal certificates (Alias)
Select Extract
Provide path to Certificate file name
Apply
Start the ikeyman tool, open the and import the extracted certificate intothe Signer Certificate section.
Recycle the environment
首先我尝试第一种方法,到第三步的时候一直过不去,总是报“CWPKI0661E:无法从主机名xxxxxxxxx”没辙了,就尝试第二种方法吧,一路下来都很顺利,到第六步的时候让我打开trust.p12 文件,我好不容易找到路径打开了,结果让我输入密码,我咋知道密码啊,试了几个不行,我可还没破人家密码的本来,算了,这两种方法都以失败告终,后来我想吧,官方网站上说6.1.0.5或者6.1.0.7已经解决了这个问题,我都打到6.1.0.25了不该还有这个问题,接着我又仔细的看了看,结果最后几句话吸引了我,原文如下:
If the CWLAA6003 error message is still seen, follow the instructions forredeploying the system application ISC (Integrated Solutions Console).
CWLAA6003 received when trying to log on to console after upgrade to 6.1.0.5:
Redeploy (uninstall and install) the administrative console application forApplication Server V6.1. The process of redeploying the application will repairthe FileNotFoundException.
Please refer to the WebSphere Application Server V6.1 Information Centerfor instructions: Installingand uninstalling the administrative console.
大体意思是说,如果按照上述两个方法问题依然存在的话就卸载控制台重新安装一下,于是我照命令试了一下,果然成功了
[root@GDQB bin]#cd /WebSphere/AppServer/bin/
[root@GDQBbin]# ./wsadmin.sh -f deployConsole.py remove
WASX7209I: 使用 SOAP 连接器连接到节点 localhostNode01上的进程“server1”;进程的类型为:UnManagedProcess
*sys-package-mgr*:
processing newjar, '/opt/IBM/WebSphere/AppServer/lib/startup.jar'
*sys-package-mgr*: processing new jar,'/opt/IBM/WebSphere/AppServer/lib/bootstrap.jar'
*sys-package-mgr*: processing new jar,'/opt/IBM/WebSphere/AppServer/lib/j2ee.jar'
*sys-package-mgr*: processing new jar,'/opt/IBM/WebSphere/AppServer/lib/lmproxy.jar'
*sys-package-mgr*: processing new jar,'/opt/IBM/WebSphere/AppServer/lib/urlprotocols.jar'
*sys-package-mgr*: processing new jar,'/opt/IBM/WebSphere/AppServer/java/lib/tools.jar'
*sys-package-mgr*: processing new jar,'/opt/IBM/WebSphere/AppServer/optionalLibraries/jython/jython.jar'
*sys-package-mgr*: processing new jar,'/opt/IBM/WebSphere/AppServer/deploytool/itp/batchboot.jar'
*sys-package-mgr*: processing new jar,'/opt/IBM/WebSphere/AppServer/deploytool/itp/batch2.jar'
*sys-package-mgr*: processing new jar,'/opt/IBM/WebSphere/AppServer/plugins/com.ibm.ws.runtime.gateway_6.1.0.jar'
*sys-package-mgr*: processing new jar,'/opt/IBM/WebSphere/AppServer/plugins/com.ibm.ws.runtime_6.1.0.jar'
*sys-package-mgr*: processing new jar, '/opt/IBM/WebSphere/AppServer/plugins/com.ibm.ws.runtime.coregroupbridge_6.1.0.jar'
*sys-package-mgr*: processing new jar,'/opt/IBM/WebSphere/AppServer/plugins/com.ibm.ws.runtime.dist_6.1.0.jar'
*sys-package-mgr*: processing new jar,'/opt/IBM/WebSphere/AppServer/plugins/org.eclipse.core.runtime.compatibility_3.1.100.v20060603.jar'
*sys-package-mgr*: processing new jar,'/opt/IBM/WebSphere/AppServer/plugins/org.eclipse.core.runtime_3.2.0.v20060603.jar'
*sys-package-mgr*: processing new jar,'/opt/IBM/WebSphere/AppServer/java/jre/lib/vm.jar'
*sys-package-mgr*: processing new jar,'/opt/IBM/WebSphere/AppServer/java/jre/lib/core.jar'
*sys-package-mgr*: processing new jar,'/opt/IBM/WebSphere/AppServer/java/jre/lib/charsets.jar'
*sys-package-mgr*: processing new jar, '/opt/IBM/WebSphere/AppServer/java/jre/lib/graphics.jar'
*sys-package-mgr*: processing new jar,'/opt/IBM/WebSphere/AppServer/java/jre/lib/security.jar'
*sys-package-mgr*: processing new jar,'/opt/IBM/WebSphere/AppServer/java/jre/lib/ibmpkcs.jar'
*sys-package-mgr*: processing new jar,'/opt/IBM/WebSphere/AppServer/java/jre/lib/ibmorb.jar'
*sys-package-mgr*: processing new jar,'/opt/IBM/WebSphere/AppServer/java/jre/lib/ibmcfw.jar'
*sys-package-mgr*: processing new jar,'/opt/IBM/WebSphere/AppServer/java/jre/lib/ibmorbapi.jar'
*sys-package-mgr*: processing new jar,'/opt/IBM/WebSphere/AppServer/java/jre/lib/ibmjcefw.jar'
*sys-package-mgr*: processing new jar,'/opt/IBM/WebSphere/AppServer/java/jre/lib/ibmjgssprovider.jar'
*sys-package-mgr*: processing new jar, '/opt/IBM/WebSphere/AppServer/java/jre/lib/ibmjsseprovider2.jar'
*sys-package-mgr*: processing new jar,'/opt/IBM/WebSphere/AppServer/java/jre/lib/ibmjaaslm.jar'
*sys-package-mgr*: processing new jar,'/opt/IBM/WebSphere/AppServer/java/jre/lib/ibmcertpathprovider.jar'
*sys-package-mgr*: processing new jar,'/opt/IBM/WebSphere/AppServer/java/jre/lib/server.jar'
*sys-package-mgr*: processing new jar,'/opt/IBM/WebSphere/AppServer/java/jre/lib/xml.jar'
*sys-package-mgr*: processing new jar,'/opt/IBM/WebSphere/AppServer/java/jre/lib/ext/PD.jar'
*sys-package-mgr*: processing new jar,'/opt/IBM/WebSphere/AppServer/java/jre/lib/ext/CmpCrmf.jar'
*sys-package-mgr*: processing new jar,'/opt/IBM/WebSphere/AppServer/java/jre/lib/ext/IBMKeyManagementServer.jar'
*sys-package-mgr*: processing new jar,'/opt/IBM/WebSphere/AppServer/java/jre/lib/ext/dtfj-interface.jar'
*sys-package-mgr*: processing new jar,'/opt/IBM/WebSphere/AppServer/java/jre/lib/ext/dtfj.jar'
*sys-package-mgr*: processing new jar,'/opt/IBM/WebSphere/AppServer/java/jre/lib/ext/gskikm.jar'
*sys-package-mgr*: processing new jar,'/opt/IBM/WebSphere/AppServer/java/jre/lib/ext/ibmcmsprovider.jar'
*sys-package-mgr*: processing new jar,'/opt/IBM/WebSphere/AppServer/java/jre/lib/ext/ibmjcefips.jar'
*sys-package-mgr*: processing new jar,'/opt/IBM/WebSphere/AppServer/java/jre/lib/ext/ibmjceprovider.jar'
*sys-package-mgr*: processing new jar,'/opt/IBM/WebSphere/AppServer/java/jre/lib/ext/ibmkeycert.jar'
*sys-package-mgr*: processing new jar,'/opt/IBM/WebSphere/AppServer/java/jre/lib/ext/ibmpkcs11.jar'
*sys-package-mgr*: processing new jar,'/opt/IBM/WebSphere/AppServer/java/jre/lib/ext/ibmpkcs11impl.jar'
*sys-package-mgr*: processing new jar,'/opt/IBM/WebSphere/AppServer/java/jre/lib/ext/ibmsaslprovider.jar'
*sys-package-mgr*: processing new jar,'/opt/IBM/WebSphere/AppServer/java/jre/lib/ext/ibmspnego.jar'
*sys-package-mgr*: processing new jar,'/opt/IBM/WebSphere/AppServer/java/jre/lib/ext/indicim.jar'
*sys-package-mgr*: processing new jar,'/opt/IBM/WebSphere/AppServer/java/jre/lib/ext/iwsorbutil.jar'
*sys-package-mgr*: processing new jar,'/opt/IBM/WebSphere/AppServer/java/jre/lib/ext/jaccess.jar'
*sys-package-mgr*: processing new jar,'/opt/IBM/WebSphere/AppServer/java/jre/lib/ext/jdmpview.jar'
*sys-package-mgr*: processing new jar,'/opt/IBM/WebSphere/AppServer/java/lib/dt.jar'
*sys-package-mgr*: processing new jar,'/opt/IBM/WebSphere/AppServer/java/lib/htmlconverter.jar'
*sys-package-mgr*: processing new jar,'/opt/IBM/WebSphere/AppServer/java/lib/jardiff.jar'
*sys-package-mgr*: processing new jar,'/opt/IBM/WebSphere/AppServer/java/lib/jnlp-servlet.jar'
*sys-package-mgr*: processing new jar,'/opt/IBM/WebSphere/AppServer/java/lib/jnlp.jar'
*sys-package-mgr*: processing new jar,'/opt/IBM/WebSphere/AppServer/lib/rsadbutils.jar'
*sys-package-mgr*: processing new jar,'/opt/IBM/WebSphere/AppServer/lib/rsahelpers.jar'
*sys-package-mgr*: processing new jar,'/opt/IBM/WebSphere/AppServer/lib/launchclient.jar'
*sys-package-mgr*: processing new jar, '/opt/IBM/WebSphere/AppServer/lib/commandlineutils.jar'
*sys-package-mgr*: processing new jar,'/opt/IBM/WebSphere/AppServer/lib/nif.jar'
*sys-package-mgr*: processing new jar,'/opt/IBM/WebSphere/AppServer/lib/installxml.jar'
*sys-package-mgr*: processing new jar, '/opt/IBM/WebSphere/AppServer/lib/pmirm4arm.jar'
*sys-package-mgr*: processing new jar,'/opt/IBM/WebSphere/AppServer/lib/bsf-engines.jar'
*sys-package-mgr*: processing new jar,'/opt/IBM/WebSphere/AppServer/lib/activation-impl.jar'
*sys-package-mgr*: processing new jar,'/opt/IBM/WebSphere/AppServer/lib/mail-impl.jar'
*sys-package-mgr*: processing new jar,'/opt/IBM/WebSphere/AppServer/lib/aspectjrt.jar'
*sys-package-mgr*: processing new jar,'/opt/IBM/WebSphere/AppServer/lib/jacl.jar'
*sys-package-mgr*: processing new jar,'/opt/IBM/WebSphere/AppServer/lib/tcljava.jar'
*sys-package-mgr*: processing new jar,'/opt/IBM/WebSphere/AppServer/lib/pc-appext.jar'
*sys-package-mgr*: processing new jar,'/opt/IBM/WebSphere/AppServer/lib/serviceadapter.jar'
*sys-package-mgr*: processing new jar,'/opt/IBM/WebSphere/AppServer/lib/EJBCommandTarget.jar'
*sys-package-mgr*: processing new jar,'/opt/IBM/WebSphere/AppServer/lib/htmlshell.jar'
*sys-package-mgr*: processing new jar,'/opt/IBM/WebSphere/AppServer/lib/installver.jar'
*sys-package-mgr*: processing new jar,'/opt/IBM/WebSphere/AppServer/lib/iscdeploy.jar'
*sys-package-mgr*: processing new jar,'/opt/IBM/WebSphere/AppServer/lib/IVTClient.jar'
*sys-package-mgr*: processing new jar,'/opt/IBM/WebSphere/AppServer/lib/base.jar'
*sys-package-mgr*: processing new jar,'/opt/IBM/WebSphere/AppServer/lib/spy.jar'
*sys-package-mgr*: processing new jar,'/opt/IBM/WebSphere/AppServer/lib/sqlserver.jar'
*sys-package-mgr*: processing new jar,'/opt/IBM/WebSphere/AppServer/lib/util.jar'
*sys-package-mgr*: processing new jar,'/opt/IBM/WebSphere/AppServer/lib/sljc.jar'
*sys-package-mgr*: processing new jar,'/opt/IBM/WebSphere/AppServer/lib/spy-sl.jar'
*sys-package-mgr*: processing new jar,'/opt/IBM/WebSphere/AppServer/lib/marshall.jar'
*sys-package-mgr*: processing new jar,'/opt/IBM/WebSphere/AppServer/lib/physicalrep.jar'
*sys-package-mgr*: processing new jar,'/opt/IBM/WebSphere/AppServer/lib/wsatlib.jar'
*sys-package-mgr*: processing new jar,'/opt/IBM/WebSphere/AppServer/lib/wsif-compatb.jar'
*sys-package-mgr*: processing new jar,'/opt/IBM/WebSphere/AppServer/lib/rrd-appext.jar'
*sys-package-mgr*: processing new jar,'/opt/IBM/WebSphere/AppServer/lib/ivblogbr.jar'
*sys-package-mgr*: processing new jar,'/opt/IBM/WebSphere/AppServer/lib/ffdcSupport.jar'
*sys-package-mgr*: processing new jar,'/opt/IBM/WebSphere/AppServer/deploytool/itp/plugins/com.ibm.etools.ejbdeploy/runtime/batch.jar'
*sys-package-mgr*: processing new jar,'/opt/IBM/WebSphere/AppServer/deploytool/itp/plugins/com.ibm.etools.ejbdeploy/runtime/ejbdeploy.jar'
*sys-package-mgr*: processing new jar,'/opt/IBM/WebSphere/AppServer/deploytool/itp/plugins/com.ibm.etools.ejbdeploy/runtime/ejbmapvalidate.jar'
WASX7303I: 已将下列选项传递给脚本编制环境,并且作为存储在 argv 变量“[remove]”中的参数提供
Removing Admin Console...
ADMA5017I: 卸载isclite 已启动。
ADMA5104I: 已成功更新
WebSphere:cell=localhostNode01Cell,node=localhostNode01的服务器索引条目。
ADMA5102I: 已成功从配置库删除 isclite 的配置数据。
ADMA5011I: 清除应用程序 isclite 的 temp 目录已完成。
ADMA5106I: 已成功卸载应用程序 isclite。
[root@GDQB bin]#./wsadmin.sh -f deployConsole.py install
WASX7209I: 使用SOAP 连接器连接到节点 localhostNode01 上的进程“server1”;进程的类型为:UnManagedProcess
WASX7303I: 已将下列选项传递给脚本编制环境,并且作为存储在argv 变量“[install]”中的参数提供
Installing Admin Console...
Deploying isclite.ear
ADMA5016I: 安装isclite 已启动。
ADMA5058I: 已使用部署目标的版本验证应用程序和模块版本。
ADMA5005I: 在WebSphere Application Server 存储库中配置了应用程序 isclite。
ADMA5053I: 创建了已安装的任选软件包的库引用。
ADMA5005I: 在WebSphere Application Server 存储库中配置了应用程序 isclite。
ADMA5110I: 应用程序isclite 是作为隐藏应用程序安装的,将不会通过管理界面(如 GUI 客户机、wsadmin或 MBean Java API)显示。为了对此应用程序执行管理操作,必须知道应用程序名。
ADMA5005I: 在WebSphere Application Server 存储库中配置了应用程序 isclite。
EJPPC0011I: 验证portlet.xml 已完成。
SECJ0400I: 成功地用appContextIDForSecurity 信息更新了应用程序 isclite。
CWLAA10007I: 已成功部署了集成解决方案控制台模块的帮助插件。
CWLAA10001I: 已成功部署了集成解决方案控制台模块。
ADMA5011I: 清除应用程序isclite 的 temp 目录已完成。
ADMA5013I: 应用程序isclite 安装成功。
Mapping isclite to admin_host
Updating deployment.xml
Setting IEHS classloader toPARENT_LAST
注意点:需要在was启动的状态下,这两个命令才有效。
最新补丁已到6.1.0.29不存在控制台显示版本错误信息
Websphere 6.0版本的安装补丁需要按顺序一个个安装,有些补丁时可以跳跃的,有些补丁则不行,不能跳跃。
需要从RA系统的管理员签发一个服务器证书,这边我们获取的是jks的密钥库文件。
需要先将证书文件上传到服务器上面,
输入密钥的名称,输入存放密钥库文件的路径,输入密钥的密码,选择密钥的类型,勾选密钥加载的方式。如下图
创建完密钥库后,创建ssl配置,新建输入名称,选择信任库密钥,选择本地密钥库,选择获取证书别名,如下图
创建完后保存,然后再配置【保护(QOS)配置】,
然后在应用服务器,创建一个web传输链,新建443端口的传输链,配置特定于此端点。
备注:如果是Websphere6.1以下的版本如was6.0还需要在虚拟主机的默认host增加443的主机名。
检查一下,是否有如下图的端口
点击左边的菜单【应用服务器】在出来的server1上面,点击进入下一层配置界面
在出来的页面选择,【WEB容易设置】点击进入,
接下来进入【web容器设置】,选择【WEB容器传输链】进入菜单
再出现的界面上面选择【新建】,
输入需要创建的端口,输入传输链的名称,进入下一步
输入端口名称以及端口号。
点击下一步,并点击完成,则创建完成传输链,如下图
JNDI是JAVA命名服务,WebSphere通过服务器上设置的JNDI名称与某个数据源连接;Websphere创建一个JNDI数据源的步骤如下,输入应用服务器中间件websphere的管理控制台地址,HTTP://IP:9060/admin,然后输入用户名和口令如下图:
输入完后选择登陆,选择资源-JDBC提供程序,再点击数据源。
选择新增,输入完点击下一步
然后选择“现有JDBC提供程序”,点击下一步,
输入URL,选择数据源的helper程序,具体视数据库版本而定。
选择下一步,点击完成
点击保存
选择刚才创建好的JDBC数据源,选择JAAS-J2C认证数据,创建一个JASS-J2C认证数据。
选择新建
输入别名,用户标识,密码,最后点击【确定】
最后记得点击保存
回到数据源配置,选择组件管理的认证别名,选择确定
最后保存。
最后测试一下创建的数据源是否正确,勾选需要测试的数据源,选择测试连接按钮,如果出现一行字提示数据源XXX执行的测试操作是成功的,表明创建的数据源正确没有错误。
截止到这一步,一个JDBC数据源就创建完成,就可以在查询配置工具进行数据源添加操作。
备注:websphere连接RAC数据库的JDBC的URL写法如下
jdbc:oracle:thin:@(DESCRIPTION=(ADDRESS =(PROTOCOL = TCP)(HOST=host1)(PORT=1521))(ADDRESS=(PROTOCOL=TCP)(HOST=host2)(PORT=1521))(LOAD_BALANCE=yes)(FAILOVER=ON)(CONNECT_DATA=(SERVER=DEDICATED)(SERVICE_NAME=db.domain)(FAILOVER_MODE=(TYPE=SELECT)(METHOD=BASIC)(RETIRES= 20)(DELAY = 15))))
备注:如果调用请求服务失败的需要修改JAVA的虚拟机参数,如上图中的通用JVM参数,-Dibm.stream.nio=true,设置完成后重启was即可。
建议在类路径的写法上面只写到目录,不具体到文件名称。
Ø 查询配置数据源的连接池
Ø 业务资源数据源
n 操作系统优化【针对Linux系统】
n 内核参数优化 /etc/sysctl.conf
kernel.shmall = 2097152
kernel.shmmax =2147483648 【建议设置:物理内存 *50%】
kernel.shmmni = 4096
kernel.sem = 250 32000100 128 【建议设置:25032000 100 128】
fs.file-max = 65536
n 网络参数优化 /etc/sysctl.conf
net.core.rmem_default =262144
net.core.wmem_default =262144
net.core.rmem_max =262144
net.core.wmem_max =262144
net.core.rmem_default=262144
net.core.wmem_default=262144
net.core.rmem_max=262144
net.core.wmem_max=262144
net.ipv4.ip_local_port_range= 1024 65000
net.ipv4.tcp_syncookies=1
#打开TIME-WAIT套接字重用功能,对于存在大量连接的Web服务器非常有效。
net.ipv4.tcp_tw_recycle=1
net.ipv4.tcp_tw_reuse=1
#减少处于FIN-WAIT-2连接状态的时间,使系统可以处理更多的连接。
net.ipv4.tcp_fin_timeout=30
#减少TCP KeepAlive连接侦测的时间,使系统可以处理更多的连接。
net.ipv4.tcp_keepalive_time=1800
#增加TCP SYN队列长度,使系统可以处理更多的并发连接。
net.ipv4.tcp_max_syn_backlog=8192
n 内存参数优化 /etc/sysctl.conf
在Linux的内核参数文件中增加
vm.min_free_kbytes=409600#至少保留400M内存给系统使用
vm.vfs_cache_pressure=200
vm.swappiness =40【不建议修改此值,系统默认是60,值越高就越容易发生磁盘交换】
n 调整打开的文件的最大数量
vi/etc/security/limits.conf加入以下两行:
* soft nofile 15360
* hard nofile 20480
n 关闭不必要的系统服务,如打印、sendmail等
n 数据库优化
n SGA内存
一般设置为物理内存的1/2、1/3,不建议设置更高的数值
n PGA内存
对于OLTP系统PGA_AGGREGATE_TARGET用以下公式来分配:
PGA_AGGREGATE_TARGET = (
对于OLAP系统,可以按照下面的公式计算:
PGA_AGGREGATE_TARGET = (
n 数据库进程数
数据库依据性能建议设置,根据实际情况设置
编辑启动脚本,起名startwas.sh
脚本内容
export LANG=ZH_CN.GB18030#如果应用对中间件的字符集有要求需要设置。
/opt/IBM/WebSphere/AppServer/bin/startServer.shserver1
exit
修改/etc/rc.d/rc.local添加一行
su - root -c"/root/startwas.sh" #如果was用非root安装,root修改其他用户。