一样,新手建议选择安装样板
下面是我们选择的信息,需要我们确认后才能继续
、
好了,我们可以泡杯茶小酣一会,这里需要20—30分钟左右的时间,具体以机器性能而视。但是真正的挑战才真正开始。我说的可是真的哈!!呵呵
当出现Success的字眼是说明我们安装成功。下面开始配置WAS
确保出现类似下图表示成功。
这里记着下面两个端口号。在后面要用到 SOAP_CONNECTOR_ADDRESS=8884 WC_adminhost=9064
在IE地址栏输入http://IP:Port/admin(port默认是9060,我们可以在$was/profiles/dmgr001/properties/portdef.props查看各概要文件相应端口号)即可进入图形化管理界面。因为我的系统是64 位的不支持PTM图形工具创建概要文件。只能通过命令行来创建。这里我也建议大家也在命令行来创建。因为在图形化界面中会有延迟,并且有时候不能及时正确的显示我们所需信息。正常启动的界面如下:
注意:我们首次建立的应用程序服务器只能通过手动重启,在WEB中试无法启动的!!
命令:
表 1 manageprofiles 的模式 -create: 创建一个新的概要。
-augment 使用给定的概要模板,扩充某个特定的概要。 -delete 删除一个概要。
-unaugment: 取消对概要的扩充。 -deleteAll 删除所有已注册的概要。 -listProfiles 列出概要注册中心中的概要。 -getName 返回指定路径下的概要的名称。 -getPath 返回指定概要名称的路径。
-validateRegistry 验证概要注册中心,并返回一个无效概要的列表。
-validateAndUpdateRegistry 验证概要注册中心,列出被清除的无效概要。 -getDefaultName 返回缺省概要的名称。 -setDefaultName 设置缺省概要。
-backupProfile 将指定的概要备份到一个 zip 文件。 -restoreProfile 从 zip 文件中恢复指定的概要。 -response 在一个响应文件中管理概要。 -help 显示帮助。
Profile模板:概要是根据随产品提供的模板创建的。这些模板位于
* Managed(对于自定义概要) * Cell(对于单元概要)
下面是在命令行中添加概要文件方式(大家一定注意路径): [root@shasys01 bin]# pwd $was/bin
[root@shasys01 bin]# ./manageprofiles.sh -create -profileName dmgr001 -templatePath $was/profileTemplates/dmgr -nodeName dnmgr001node -cellName dmgr001cell
INSTCONFSUCCESS: Success: Profile dmgr001 now exists. Please consult /list/opt/IBM/WebSphere/AppServer/profiles/dmgr001/logs/AboutThisProfile.txt for more information about this profile. [root@shasys01 bin]# pwd $was/bin
[root@shasys01 bin]# ./manageprofiles.sh -create -profileName app001 -templatePath $was/profileTemplates/default/ -nodeName default001node
INSTCONFSUCCESS: Success: Profile app001 now exists. Please consult /list/opt/IBM/WebSphere/AppServer/profiles/app001/logs/AboutThisProfile.txt for more information about this profile. [root@shasys01 bin]# pwd $was/profiles/app001/bin
[root@shasys01 properties]# pwd $was/profiles/dmgr001/properties
[root@shasys01 properties]# vim portdef.props
相关推荐: