一、Linux(红帽6.3)安装websphere(7)

来源:互联网 发布:如今美国有多强大 知乎 编辑:程序博客网 时间:2024/05/02 10:28


在liunux上安装was,网上有很多好的文章,还带贴图,写得真的很好,我之所以再写这个,就是把我的过程也记录一下。

同时也体会到了,看过别人的文章和自己亲自做成功一边真的是大大的不同,如果有人说自己会这个会那个但是从来没有亲身做过或者做成功过,

我敢说他和不会是一样的。在操作中真的会遇到一些别人遇不到的问题,搞明白问题原因并成功解决,那才是真的会了。

我不想详细做个教程了,因为没必要,别人做的更好,只是做个实际的操作记录,并说一点心得,大家共勉。


 

 

 

 

 

一、Linux(红帽6.3)安装websphere(7)

1. 准备安装包和升级程序包

WASND_V7_Linux64_C1G35ML.tar.gz  websphere安装包)

WASND_V7_Linux64_Supplement1_C1G36ML.tar.gz (升级程序安装包)

7.0.0-WS-WAS-LinuxX64-FP0000035.pak  (补丁包,这个会升级到7.0.0.35

补丁包视情况可以不安装。

 

我的操作系统是红帽6.3,是64位的。

Websphere7.0.0也是64位的。

 

 

要使用root用户操作,改变文件可执行权限。

 

[root@localhost ~]# 

[root@localhost ~]# 

[root@localhost ~]# 

[root@localhost ~]# ls -l

total 64

-rw-------. 1 root root  2622 Mar  2 15:20 anaconda-ks.cfg

-rw-r--r--. 1 root root 40730 Mar  2 15:20 install.log

-rw-r--r--. 1 root root  9272 Mar  2 15:18 install.log.syslog

drwxr-xr-x. 2 root root  4096 Mar  3 00:58 myfile

[root@localhost ~]# 

[root@localhost ~]# 

[root@localhost ~]# 

[root@localhost ~]# 

[root@localhost ~]# ls

anaconda-ks.cfg  install.log  install.log.syslog  myfile

[root@localhost ~]# cd myfile

[root@localhost myfile]# 

[root@localhost myfile]# 

[root@localhost myfile]# ls -l

total 1042520

-rw-r--r--. 1 root root 808542203 Mar  3 00:58 WASND_V7_Linux64_C1G35ML.tar.gz

-rw-r--r--. 1 root root 258991551 Mar  3 00:58 WASND_V7_Linux64_Supplement1_C1G36ML.tar.gz

[root@localhost myfile]# 

[root@localhost myfile]# 

[root@localhost myfile]# 

[root@localhost myfile]# 

[root@localhost myfile]# chmod 744 WASND_V7_Linux64_C1G35ML.tar.gz

[root@localhost myfile]# chmod 744 WASND_V7_Linux64_Supplement1_C1G36ML.tar.gz

[root@localhost myfile]# 

[root@localhost myfile]# 

[root@localhost myfile]# 

[root@localhost myfile]# ls -l

total 1042520

-rwxr--r--. 1 root root 808542203 Mar  3 00:58 WASND_V7_Linux64_C1G35ML.tar.gz

-rwxr--r--. 1 root root 258991551 Mar  3 00:58 WASND_V7_Linux64_Supplement1_C1G36ML.tar.gz

[root@localhost myfile]# 

[root@localhost myfile]# 

 

 

 

 

如果浏览器(火狐)的版本安装程序不认识的话就会有下面的错误提示,这个其实影响不大,

不影响安装,因为有些命令和列表需要浏览器展示,你点击就可以操作了,浏览器不认识的话,你就需要手动操作,所以碰到这个问题有2个解决办法:1是安装核合适的火狐浏览器

版本;2手动操作。我选择手动操作,直接到WAS路径下运行./install

 

If you have not upgraded your Web browser recently, upgrade to the latest version.   

 

The latest Microsoft Internet Explorer Web browser can be downloaded from   

http://www.microsoft.com/windows/ie/   

 

The latest Mozilla Firefox Web browser can be downloaded from   

http://www.mozilla.com   

 

On Linux and UNIX platforms, export the location of the supported browser.   

For example:   

export BROWSER=/usr/bin/mozilla  

 

2. If the product CD or DVD is no longer accessible, insert the disk into disk drive. 

 

Mount the drive on Linux and UNIX platforms, if necessary.  

 

3. Restart the launchpad by issuing the following command:   

 

Linux and UNIX platforms: ./launchpad.sh  

Windows platforms: launchpad.exe  

 

 

 

 

 

[root@localhost myfile]# find / -name mozilla

/usr/share/mozilla

/usr/lib/mozilla

/usr/lib64/mozilla

 

 

 

--------------------------------------------------------------

export BROWSER=/usr/lib/mozilla

 

 

 

 

 

其实不用launchpad.sh 直接到WAS路径下运行./install就不会提示浏览器的问题

 

然后就是一直下一步直到最后。

在浏览器输入下面的地址就出转到控制台登录页面。

 

 

https://192.168.29.128:9060/ibm/console/

 

自动跳转到

 

https://192.168.29.128:9043/ibm/console/logon.jsp

 

 

 

 

 

2. 启停

 

 

./startServer.sh  server1

 

 

 

[root@localhost bin]# 

[root@localhost bin]# ./startServer.sh server1

ADMU0116I: Tool information is being logged in file

           /opt/IBM/WebSphere/AppServer/profiles/AppSrv01/logs/server1/startServer.log

ADMU0128I: Starting tool with the AppSrv01 profile

ADMU3100I: Reading configuration for server: server1

ADMU3200I: Server launched. Waiting for initialization status.

ADMU3000I: Server server1 open for e-business; process id is 4505

[root@localhost bin]# 

[root@localhost bin]# 

 

 

 

[root@localhost bin]# 

[root@localhost bin]# 

[root@localhost bin]# ps -ef|grep websphere

root      4505     1  4 23:05 pts/0    00:00:17 /opt/IBM/WebSphere/AppServer/java/bin/java -Declipse.security -Dwas.status.socket=41097 -Dosgi.install.area=/opt/IBM/WebSphere/AppServer -Dosgi.configuration.area=/opt/IBM/WebSphere/AppServer/profiles/AppSrv01/configuration -Djava.awt.headless=true -Dosgi.framework.extensions=com.ibm.cds,com.ibm.ws.eclipse.adaptors -Xshareclasses:name=webspherev70_%g,groupAccess,nonFatal -Xscmx50M -Xbootclasspath/p:/opt/IBM/WebSphere/AppServer/java/jre/lib/ext/ibmorb.jar:/opt/IBM/WebSphere/AppServer/java/jre/lib/ext/ibmext.jar -classpath /opt/IBM/WebSphere/AppServer/profiles/AppSrv01/properties:/opt/IBM/WebSphere/AppServer/properties:/opt/IBM/WebSphere/AppServer/lib/startup.jar:/opt/IBM/WebSphere/AppServer/lib/bootstrap.jar:/opt/IBM/WebSphere/AppServer/lib/jsf-nls.jar:/opt/IBM/WebSphere/AppServer/lib/lmproxy.jar:/opt/IBM/WebSphere/AppServer/lib/urlprotocols.jar:/opt/IBM/WebSphere/AppServer/deploytool/itp/batchboot.jar:/opt/IBM/WebSphere/AppServer/deploytool/itp/batch2.jar:/opt/IBM/WebSphere/AppServer/java/lib/tools.jar -Dibm.websphere.internalClassAccessMode=allow -Xms50m -Xmx256m -Xcompressedrefs -Dws.ext.dirs=/opt/IBM/WebSphere/AppServer/java/lib:/opt/IBM/WebSphere/AppServer/profiles/AppSrv01/classes:/opt/IBM/WebSphere/AppServer/classes:/opt/IBM/WebSphere/AppServer/lib:/opt/IBM/WebSphere/AppServer/installedChannels:/opt/IBM/WebSphere/AppServer/lib/ext:/opt/IBM/WebSphere/AppServer/web/help:/opt/IBM/WebSphere/AppServer/deploytool/itp/plugins/com.ibm.etools.ejbdeploy/runtime -Dderby.system.home=/opt/IBM/WebSphere/AppServer/derby -Dcom.ibm.itp.location=/opt/IBM/WebSphere/AppServer/bin -Djava.util.logging.configureByServer=true -Duser.install.root=/opt/IBM/WebSphere/AppServer/profiles/AppSrv01 -Djavax.management.builder.initial=com.ibm.ws.management.PlatformMBeanServerBuilder -Dwas.install.root=/opt/IBM/WebSphere/AppServer -Dpython.cachedir=/opt/IBM/WebSphere/AppServer/profiles/AppSrv01/temp/cachedir -Djava.util.logging.manager=com.ibm.ws.bootstrap.WsLogManager -Dserver.root=/opt/IBM/WebSphere/AppServer/profiles/AppSrv01 -Dcom.ibm.security.jgss.debug=off -Dcom.ibm.security.krb5.Krb5Debug=off -Djava.security.auth.login.config=/opt/IBM/WebSphere/AppServer/profiles/AppSrv01/properties/wsjaas.conf -Djava.security.policy=/opt/IBM/WebSphere/AppServer/profiles/AppSrv01/properties/server.policy com.ibm.wsspi.bootstrap.WSPreLauncher -nosplash -application com.ibm.ws.bootstrap.WSLauncher com.ibm.ws.runtime.WsServer /opt/IBM/WebSphere/AppServer/profiles/AppSrv01/config localhostNode01Cell localhostNode01 server1

root      5085  3030  0 23:12 pts/0    00:00:00 grep websphere

[root@localhost bin]# 

[root@localhost bin]# 

[root@localhost bin]# 

 

 

 

 

 

通过查询websphere进程可以知道服务已经启动,也可以在浏览器中访问控制台。停止服务./stopServer.sh server1会弹出框让你输入账号密码。

我们也可以在命令中指定账号密码

./stopServer.sh server1 -username was -password was

 

 

 

 

 

 

[root@localhost bin]# 

[root@localhost bin]# 

[root@localhost bin]# ./stopServer.sh server1

ADMU0116I: Tool information is being logged in file

           /opt/IBM/WebSphere/AppServer/profiles/AppSrv01/logs/server1/stopServer.log

ADMU0128I: Starting tool with the AppSrv01 profile

ADMU3100I: Reading configuration for server: server1

ADMU0111E: Program exiting with error: javax.management.JMRuntimeException:

           ADMN0022E: Access is denied for the stop operation on Server MBean

           because of insufficient or empty credentials.

ADMU4113E: Verify that username and password information is correct.  If

           running tool from the command line, pass in the correct -username

           and -password.  Alternatively, update the <conntype>.client.props

           file.

ADMU1211I: To obtain a full trace of the failure, use the -trace option.

ADMU0211I: Error details may be seen in the file:

           /opt/IBM/WebSphere/AppServer/profiles/AppSrv01/logs/server1/stopServer.log

[root@localhost bin]# ./stopServer.sh server1 -username was -password was

ADMU0116I: Tool information is being logged in file

           /opt/IBM/WebSphere/AppServer/profiles/AppSrv01/logs/server1/stopServer.log

ADMU0128I: Starting tool with the AppSrv01 profile

ADMU3100I: Reading configuration for server: server1

ADMU3201I: Server stop request issued. Waiting for stop status.

ADMU4000I: Server server1 stop completed.

 

[root@localhost bin]# 

[root@localhost bin]# 

[root@localhost bin]# 

 

 

 

----------------------------------------------------

 

[root@localhost bin]# 

[root@localhost bin]# ./stopServer.sh server1 -username xxx -password xxxxxxx

ADMU0116I: Tool information is being logged in file

           /opt/IBM/WebSphere/AppServer/profiles/AppSrv01/logs/server1/stopServer.log

ADMU0128I: Starting tool with the AppSrv01 profile

ADMU3100I: Reading configuration for server: server1

ADMU3201I: Server stop request issued. Waiting for stop status.

ADMU4000I: Server server1 stop completed.

 

[root@localhost bin]# 

[root@localhost bin]# 

[root@localhost bin]# ps -ef|grep websphere

root      5525  3030  0 23:17 pts/0    00:00:00 grep websphere

[root@localhost bin]# 

[root@localhost bin]# 

[root@localhost bin]# 

 

 

3. 安装更新

安装更新其实分2步,先安装更新程序,再启动更新程序安装补丁包。

 

1. 安装更新程序

安装更新,这个压缩包是 WASND_V7_Linux64_Supplement1_C1G36ML.tar.gz

解压后会有UpdateInstaller。还有其他目录直接覆盖原来安装包的文件,我们只关注

UpdateInstaller。里面有个install,这个就是安装的启动脚本。

安装升级要保证websphere没有启动。

 

 

 

 

[root@localhost myfile]# 

[root@localhost myfile]# ls

Copyright.txt  launchpad.sh         Version.txt

IHS            non_IBM_license.txt  WAS

JDK            notices.txt          WASND_V7_Linux64_C1G35ML.tar.gz

launchpad      plugin               WASND_V7_Linux64_Supplement1_C1G36ML.tar.gz

launchpad.ini  UpdateInstaller

[root@localhost myfile]# 

[root@localhost myfile]# 

[root@localhost myfile]# cd UpdateInstaller

[root@localhost UpdateInstaller]# ls

docs                  panels                          swg_info_common.css

framework             readme                          updi.primary.pak

install               readme_toc.html                 updi.updi.pak

installRegistryUtils  relabel_java.sh                 version.txt

lafiles               responsefile.updiinstaller.txt

lib                   setup.jar

[root@localhost UpdateInstaller]# ps -ef|grep websphere

root      3126  2984  0 17:23 pts/0    00:00:00 grep websphere

[root@localhost UpdateInstaller]# 

 

 

 

 

 

执行./install就会弹出安状窗口。

一般不用做修改,一直点下一步直到finish。到这里要注意,这个更新实际上是先安装更新

的程序,再启动更新程序安装更新文件(或叫做补丁包)。到finish按钮后更新程序就安装好了,点击finish

会直接弹出安装更新文件的窗口,后面就有一部需要你选择更新文件的路径。我们可以退出

安装更新文件,把我们的更新文件放到一个路径下,

补丁包是以.pak结尾的文件,这个是需要你事先准备好的。安装程序会自动到xxx/IBM/Websphere/UpdateInstaller/maintenance下照这个文件,所以路径你要知道在哪里。

 

2. 安装补丁包

补丁包看可以去官网下载,在支持和下载那个菜单里。

https://www-947.ibm.com/support/entry/portal/support

http://www-01.ibm.com/support/docview.wss?uid=swg24038310

 

在产品输入websphere就会弹出更详细的所搜选项,找到websphere application serrver,

我们要选择版本7.0.0,在选择操作系统linux红帽,然后更新列表就出现了,我们找到我们想升级到的版本,选择。

这时会进入一个列表,对应不同系统有不同的下载版本,选好系统后,在列表后还有3个链接,分别是FC,FTP,DD。我们选择FTP下载。文件名就是

7.0.0-WS-WAS-LinuxX64-FP0000035.pak

 

把补丁包准备好后,要安装补丁包,就到你已经安装好的更新程序的路径下找

update.sh,执行它就会弹出刚才点击finish直接弹出的安装补丁包的窗口,

这时候我们已经准备好补丁包了,所以制定好路径一直到下一步就没问题了。

 

我们安装更新程序的路径是

/opt/IBM/WebSphere/UpdateInstaller

 

 

 

4. 查看websphere版本

注意这个命令脚本的路径在更新程序路径下。

我们可以再安装好不顶饱后查看版本号是否升级成功。

 

[root@localhost bin]# pwd

/opt/IBM/WebSphere/UpdateInstaller/bin

[root@localhost bin]# ./versionInfo.sh

WVER0010I: Copyright (c) IBM Corporation 2002, 2005, 2008; All rights reserved.

WVER0012I: VersionInfo reporter version 1.15.1.26, dated 8/9/08

 

--------------------------------------------------------------------------------

IBM WebSphere Application Server Product Installation Status Report

--------------------------------------------------------------------------------

 

Report at date and time March 3, 2015 6:13:01 PM PST

 

Installation

--------------------------------------------------------------------------------

Product Directory        /opt/IBM/WebSphere/UpdateInstaller

Version Directory        /opt/IBM/WebSphere/UpdateInstaller/properties/version

DTD Directory            /opt/IBM/WebSphere/UpdateInstaller/properties/version/dtd

Log Directory            /opt/IBM/WebSphere/UpdateInstaller/logs

Backup Directory         /opt/IBM/WebSphere/UpdateInstaller/properties/version/nif/backup

TMP Directory            /tmp

 

Product List

--------------------------------------------------------------------------------

UPDI                     installed

 

Installed Product

--------------------------------------------------------------------------------

Name                     IBM Update Installer for WebSphere software

Version                  7.0.0.0

ID                       UPDI

Build Level              r0834.53

Build Date               8/29/08

 

--------------------------------------------------------------------------------

End Installation Status Report

--------------------------------------------------------------------------------

[root@localhost bin]# 

 

 

 

 

 

启停

 

 

./startServer.sh  server1

 

----------------------------

 

 

 

[root@localhost bin]# 

[root@localhost bin]# ./stopServer.sh server1 -username was -password xxxxxxx

ADMU0116I: Tool information is being logged in file

           /opt/IBM/WebSphere/AppServer/profiles/AppSrv01/logs/server1/stopServer.log

ADMU0128I: Starting tool with the AppSrv01 profile

ADMU3100I: Reading configuration for server: server1

ADMU3201I: Server stop request issued. Waiting for stop status.

ADMU4000I: Server server1 stop completed.

 

[root@localhost bin]# 

 

 

5. 访问控制台(防火墙)

https://192.168.29.128:9060/ibm/console/

 

自动跳转到

 

https://192.168.29.128:9043/ibm/console/logon.jsp

 

 

在访问控制台的时候,我在linux中打开浏览器可以访问,但是在外部(不在一台机器上)

想访问的时候就无法打开页面,我想应该是防火墙的原因。

 

 

关于这方面知识,简单写下:

1 重启后永久性生效:

  开启:chkconfig iptables on

  关闭:chkconfig iptables off

2 即时生效,重启后失效:

  开启:service iptables start

  关闭:service iptables stop

  需要说明的是对于Linux下的其它服务都可以用以上命令执行开启和关闭操作。

 

 

[root@localhost ~]# 

[root@localhost ~]# chkconfig --help

chkconfig version 1.3.49.3 - Copyright (C) 1997-2000 Red Hat, Inc.

This may be freely redistributed under the terms of the GNU Public License.

 

usage:   chkconfig [--list] [--type <type>] [name]

         chkconfig --add <name>

         chkconfig --del <name>

         chkconfig --override <name>

         chkconfig [--level <levels>] [--type <type>] <name> <on|off|reset|resetpriorities>

[root@localhost ~]# 

[root@localhost ~]# 

[root@localhost ~]# 

root@localhost ~]# chkconfig --list

kManager  0:off 1:off 2:on 3:on 4:on 5:on 6:off

abrt-ccpp       0:off 1:off 2:off 3:on 4:off 5:on 6:off

abrt-oops       0:off 1:off 2:off 3:on 4:off 5:on 6:off

abrtd           0:off 1:off 2:off 3:on 4:off 5:on 6:off

acpid           0:off 1:off 2:on 3:on 4:on 5:on 6:off

atd             0:off 1:off 2:off 3:on 4:on 5:on 6:off

auditd          0:off 1:off 2:on 3:on 4:on 5:on 6:off

avahi-daemon    0:off 1:off 2:off 3:on 4:on 5:on 6:off

bluetooth       0:off 1:off 2:off 3:on 4:on 5:on 6:off

cpuspeed        0:off 1:on 2:on 3:on 4:on 5:on 6:off

crond           0:off 1:off 2:on 3:on 4:on 5:on 6:off

cups            0:off 1:off 2:on 3:on 4:on 5:on 6:off

dnsmasq         0:off 1:off 2:off 3:off 4:off 5:off 6:off

firstboot       0:off 1:off 2:off 3:on 4:off 5:on 6:off

haldaemon       0:off 1:off 2:off 3:on 4:on 5:on 6:off

httpd           0:off 1:off 2:off 3:off 4:off 5:off 6:off

ip6tables       0:off 1:off 2:on 3:on 4:on 5:on 6:off

iptables        0:off 1:off 2:on 3:on 4:on 5:on 6:off

irqbalance      0:off 1:off 2:off 3:on 4:on 5:on 6:off

kdump           0:off 1:off 2:off 3:on 4:on 5:on 6:off

lvm2-monitor    0:off 1:on 2:on 3:on 4:on 5:on 6:off

mdmonitor       0:off 1:off 2:on 3:on 4:on 5:on 6:off

messagebus      0:off 1:off 2:on 3:on 4:on 5:on 6:off

netconsole      0:off 1:off 2:off 3:off 4:off 5:off 6:off

netfs           0:off 1:off 2:off 3:on 4:on 5:on 6:off

network         0:off 1:off 2:on 3:on 4:on 5:on 6:off

ntpd            0:off 1:off 2:off 3:off 4:off 5:off 6:off

ntpdate         0:off 1:off 2:off 3:off 4:off 5:off 6:off

portreserve     0:off 1:off 2:on 3:on 4:on 5:on 6:off

postfix         0:off 1:off 2:on 3:on 4:on 5:on 6:off

psacct          0:off 1:off 2:off 3:off 4:off 5:off 6:off

quota_nld       0:off 1:off 2:off 3:off 4:off 5:off 6:off

rdisc           0:off 1:off 2:off 3:off 4:off 5:off 6:off

restorecond     0:off 1:off 2:off 3:off 4:off 5:off 6:off

rhnsd           0:off 1:off 2:on 3:on 4:on 5:on 6:off

rhsmcertd       0:off 1:off 2:off 3:on 4:on 5:on 6:off

rngd            0:off 1:off 2:off 3:off 4:off 5:off 6:off

rsyslog         0:off 1:off 2:on 3:on 4:on 5:on 6:off

saslauthd       0:off 1:off 2:off 3:off 4:off 5:off 6:off

smartd          0:off 1:off 2:off 3:off 4:off 5:off 6:off

snmpd           0:off 1:off 2:off 3:off 4:off 5:off 6:off

snmptrapd       0:off 1:off 2:off 3:off 4:off 5:off 6:off

spice-vdagentd  0:off 1:off 2:off 3:off 4:off 5:on 6:off

sshd            0:off 1:off 2:on 3:on 4:on 5:on 6:off

sysstat         0:off 1:on 2:on 3:on 4:on 5:on 6:off

udev-post       0:off 1:on 2:on 3:on 4:on 5:on 6:off

vmware-tools    0:off 1:off 2:on 3:on 4:on 5:on 6:off

vmware-tools-thinprint 0:off 1:off 2:on 3:on 4:on 5:on 6:off

wdaemon         0:off 1:off 2:off 3:off 4:off 5:off 6:off

wpa_supplicant  0:off 1:off 2:off 3:off 4:off 5:off 6:off

[root@localhost ~]# 

 

 

也可以查看某一服务,比如防火墙

 

[root@localhost ~]# 

[root@localhost ~]# 

[root@localhost ~]# 

[root@localhost ~]# chkconfig iptables --list

iptables        0:off 1:off 2:on 3:on 4:on 5:on 6:off

[root@localhost ~]# 

[root@localhost ~]# 

 

 

      等级0表示:表示关机

      等级1表示:单用户模式

      等级2表示:无网络连接的多用户命令行模式

      等级3表示:有网络连接的多用户命令行模式

      等级4表示:不可用

      等级5表示:带图形界面的多用户模式

      等级6表示:重新启动

 

 

这个结果说明:

0:在关机的时候,防火墙iptables关闭;

1:在单用户模式下,防火墙iptables关闭;

 

2:在无网络连接的多用户命令行模式下,防火墙iptables开启!;

3:在有网络连接的多用户命令行模式下,防火墙iptables开启!;

4:在不可用的时候,防火墙iptables开启!;

5:在带图形界面的多用户模式下,防火墙iptables开启!;

 

6:在重新启动的时候,防火墙iptables关闭;

 

 

所以在2345下设置状态的命令比较常用:

chkconfig --level httpd 2345 on        #设置httpd在运行级别为2345的情况下都是on(开启)的状态

 

 

[root@localhost ~]# 

[root@localhost ~]# service iptables stop

iptables: Flushing firewall rules:                         [  OK  ]

iptables: Setting chains to policy ACCEPT: filter          [  OK  ]

iptables: Unloading modules:                               [  OK  ]

[root@localhost ~]# 

[root@localhost ~]# 

[root@localhost ~]# 

[root@localhost ~]# chkconfig iptables --list

iptables        0:off 1:off 2:on 3:on 4:on 5:on 6:off

[root@localhost ~]# 

[root@localhost ~]# 

[root@localhost ~]# 

 

 

可以看到我的防护墙是打开的,在使用service iptables stop后,防火墙关闭了(不是用chkconfig看到的,因为chkconfig重启才会生效)我在另一台机器上可以打开控制台的地址

https://192.168.29.128:9043/ibm/console/logon.jsp

 查看防火墙状态

[root@localhost ~]#
[root@localhost ~]# service iptables status
iptables: Firewall is not running.
[root@localhost ~]#
[root@localhost ~]#

 

所以要想关闭防火墙,最好先service iptables stop(为了马上起到作用),然后chkconfig iptables off(为了重启后自动关闭防火墙)。

 

 

我把一个web应用的war发布到websphere上,可以正常启动和访问。注意端口默认9080

 

http://192.168.29.128:9080/testweb/

 

 


0 0
原创粉丝点击