ibm web sphere_portal_v6_安装指南

41
Portal V6.0 安安安安 1Portal V6 安 目目 目目 目目目目目 W- Setup WebSphere Portal V6.0 and Workplace Web Content Management V6.0 - Portal Install V6.0 Multilingual C93LQML W-1 WebSphere Portal V6.0 and Workplace Web Content Mgmt V6.0 - WebSphere Application Server Network Deployment for Windows, V6.0.2.9 Multilingual C93LWML W-2 WebSphere Portal V6.0 and Workplace Web Content Mgmt V6.0 - WebSphere Process Server for WIndows, V6.0.1.1 Multilingual C93LRML W-3 WebSphere Portal V6.0 and Workplace Web Content Mgmt V6.0 - Portal Server (Disc 1 of 2), V6.0 Multillingual C93LSML W-4 WebSphere Portal V6.0 and Workplace Web Content Mgmt V6.0 - Portal Server (Disc 2 of 2), V6.0 Multillingual C93M4ML W-5 WebSphere Portal V6.0 and Workplace Web Content Mgmt V6.0 - Personalization, V6.0 Multillingual C93LUML W-6 WebSphere Portal V6.0 and Workplace Web Content Mgmt V6.0 - IBM Tivoli Directory Server for WIndows V6.0 Multilingual C93LXML W-7 WebSphere Portal V6.0 and Workplace Web Content Mgmt V6.0 - IBM Tivoli Directory Server Fixpack for Windows V6.0.0.1 Multilingual C93LYML W-8 WebSphere Portal V6.0 and Workplace Web Content Mgmt V6.0 - DB2 UDB Enterprise Server Edition for Windows, V8.2.5 Multilingual C93LVML W-9 WebSphere Portal V6.0 and Workplace Web Content Mgmt V6.0 - Edge Components for WebSphere Application Server Network C93LZML

Upload: mycoolmen1987

Post on 17-Dec-2014

1.040 views

Category:

Documents


5 download

DESCRIPTION

 

TRANSCRIPT

Page 1: Ibm web sphere_portal_v6_安装指南

Portal V6.0 安装指南

1、Portal V6 介质包一览

目录 产品 压缩包名称W-Setup WebSphere Portal V6.0 and Workplace Web Content Management

V6.0 - Portal Install V6.0 Multilingual

C93LQML

W-1 WebSphere Portal V6.0 and Workplace Web Content Mgmt V6.0 -

WebSphere Application Server Network Deployment for Windows,

V6.0.2.9 Multilingual

C93LWML

W-2 WebSphere Portal V6.0 and Workplace Web Content Mgmt V6.0 -

WebSphere Process Server for WIndows, V6.0.1.1 Multilingual

C93LRML

W-3 WebSphere Portal V6.0 and Workplace Web Content Mgmt V6.0 -

Portal Server (Disc 1 of 2), V6.0 Multillingual

C93LSML

W-4 WebSphere Portal V6.0 and Workplace Web Content Mgmt V6.0 -

Portal Server (Disc 2 of 2), V6.0 Multillingual

C93M4ML

W-5 WebSphere Portal V6.0 and Workplace Web Content Mgmt V6.0 -

Personalization, V6.0 Multillingual

C93LUML

W-6 WebSphere Portal V6.0 and Workplace Web Content Mgmt V6.0 -

IBM Tivoli Directory Server for WIndows V6.0 Multilingual

C93LXML

W-7 WebSphere Portal V6.0 and Workplace Web Content Mgmt V6.0 -

IBM Tivoli Directory Server Fixpack for Windows V6.0.0.1

Multilingual

C93LYML

W-8 WebSphere Portal V6.0 and Workplace Web Content Mgmt V6.0 -

DB2 UDB Enterprise Server Edition for Windows, V8.2.5

Multilingual

C93LVML

W-9 WebSphere Portal V6.0 and Workplace Web Content Mgmt V6.0 -

Edge Components for WebSphere Application Server Network

Deployment for Windows, V6.0 Multilingual

C93LZML

W-10 WebSphere Portal V6.0 and Workplace Web Content Mgmt V6.0 -

WebSphere Application Server Toolkit for Windows, V6.0

Multilingual

C93M0ML

2、安装步骤

运行W-SETUP目录中的 install.bat,按以下步骤执行

Page 2: Ibm web sphere_portal_v6_安装指南

初学者可以点击“启动信息中心”按钮获取帮助

接受许可证协议

选择标准安装或客户化安装

Page 3: Ibm web sphere_portal_v6_安装指南

指定WebSphere Application Server(WAS)的安转路径

指定节点名和主机名

Page 4: Ibm web sphere_portal_v6_安装指南

指定WAS的管理员表示符和口令,例如:wasadmin 或者 wpsadmin

选择是否安装WebSphere Process Server,若要使用 Portal 6中新的工作流功能请选择“是”

Page 5: Ibm web sphere_portal_v6_安装指南

指定 Portal的安装路径

指定 Portal的管理员表示符和口令,例如:wpsadmin

Page 6: Ibm web sphere_portal_v6_安装指南

选择是否将WAS和 Portal作为Windows的服务来启动

安装确认提示

Page 7: Ibm web sphere_portal_v6_安装指南

如果没有将安装文件放在第一章所指定的目录中,将会出现目录选择提示

开始安装

Page 8: Ibm web sphere_portal_v6_安装指南

整个安装过程将持续 1 - 1.5个小时,安装完成

验证 Portal,通过浏览器打开 http://portal:10038/wps/portal

Page 9: Ibm web sphere_portal_v6_安装指南

输入用户名和口令

Page 10: Ibm web sphere_portal_v6_安装指南

3、配置Web Content Management

停止 Portal Server

编辑/PortalServer/config目录下的wpconfig.properties文件,设置管理员口令PortalAdminPwd=passw0rd

Open a command prompt.

Go to the /PortalServer/config

Run the following command:

Windows: WPSconfig.bat configure-wcm-authoring

确认已成功执行

Page 11: Ibm web sphere_portal_v6_安装指南

登陆 Portal,在启动菜单中可见“Web内容” ,点击 启动—Web内容

在Web Content Management页面包含了管理和创作

Page 12: Ibm web sphere_portal_v6_安装指南

在配置中,可以对库选择,预览选项,用户界面选项,富文本格式选项进行设置

在内容预览页面中可以查看创作的结果

Page 13: Ibm web sphere_portal_v6_安装指南

Note:关于WCM使用及开发请参阅 Portal开发文档

4、配置数据库

以DB2为例,配置步骤如下:

如果你使用 DB2 Fix Pack 10或者 DB2 Fix Pack 11或者 DB2 Fix Pack 12,你必须在迁移数据库之前完成以下步骤: 1. 找到文件: * UNIX: /home/db2inst1/sqllib/cfg/db2cli.ini

* Windows: db2home/sqllib/db2cli.ini

2. 编辑文件,在文件的最后添加下列参数:

DB2 Fix Pack 10或者DB2 Fix Pack 11: [COMMON]

DYNAMIC=1

DB2 Fix Pack 12:[COMMON]

ReturnAliases=0

Page 14: Ibm web sphere_portal_v6_安装指南

注意:在文件的最后必须添加一个空行.

我们会创建下列 7个表实例 release

community

customization

wmmdb

jcrdb

fdbkdb

lkmddb

找到下列文件,并在修改参数之前创建一个备份拷贝 portal_server_root/config/wpconfig.properties

portal_server_root/config/wpconfig_dbdomain.properties

portal_server_root/config/wpconfig_dbtype.properties

Page 15: Ibm web sphere_portal_v6_安装指南

编辑修改以下参数:

Properties File Property Value

wpconfig-dbtype.properties Db2.DbLibrary <DB2_HOME>/java/db2java.zip

wpconfig-dbdomain.properties release.DbType db2

release.DbName wpsreldb

release.DataSourceName wpreldbDS

release.DbUrl jdbc:db2:wpsreldb

release.DbUser db2admin

release.DbPassword passw0rd

customization.DbType db2

customization.DbName wpscusdb

customization.DataSourceName wpcusdbDS

customization.DbUrl jdbc:db2:wpscusdb

customization.DbUser db2user

customization.DbPassword passw0rd

community.DbType db2

community.DbName wpscomdb

Page 16: Ibm web sphere_portal_v6_安装指南

community.DataSourceName wpcomdbDS

community.DbUrl jdbc:db2:wpscomdb

community.DbUser db2admin

community.DbPassword passw0rd

jcr.DbType db2

jcr.DbName wpsjcrdb

jcr.DataSourceName wpjcrdbDS

jcr.DbUrl jdbc:db2:wpsjcrdb

jcr.DbUser db2admin

jcr.DbPassword passw0rd

wmm.DbType db2

wmm.DbName wpswmmdb

wmm.DataSourceName wpwmmdbDS

wmm.DbUrl jdbc:db2:wpswmmdb

wmm.DbUser db2admin

wmm.DbPassword passw0rd

feedback.DbType db2

feedback.DbName wpsfbkdb

feedback.DataSourceName wpfdbkdbDS

feedback.DbUrl jdbc:db2:wpsfbkdb

feedback.DbUser db2admin

feedback.DbPassword passw0rd

likeminds.DbType db2

likeminds.DbName wpslmdb

likeminds.DbDataSourceName lmdbDS

likeminds.DbUrl jdbc:db2:wpslmdb

likeminds.DbUser db2admin

likeminds.DbPassword passw0rd

打开命令窗口,转到路径<WP_ROOT>\config

执行:WPSconfig create-local-database-db2

Page 17: Ibm web sphere_portal_v6_安装指南

确认成功执行后,接着执行:WPSconfig database-transfer

整个过程持续 1个小时左右

Page 18: Ibm web sphere_portal_v6_安装指南

启动 Portal Server,即可访问

5、启用 LDAP(支持 realm)

"realm"的概念是指特定的用户访问特定的门户配置。 主要用于为一个组织中的不同用户群创建分离的信息和客户化门户而用到的多个虚拟门户功能。

注意: 通常推荐配置是启用支持 realm的 LDAP,这个将允许你在今后创建虚拟门户。

我们用Domino 7.0.1 做为 LDAP,配置如下:

(1)禁用安全性

由于 Portal 6在安装的时候已经启用了安全性,所以首先我们必须取消安全性

停止应用服务器 server1 和 WebSphere_Portal

启动命令窗口,切换到路径:<wps_root>\config ,执行以下命令:WPSconfig.bat disable-security -DWasPassword=password -DPortalAdminPwd=password -Dwmm.DbPassword=password

Page 19: Ibm web sphere_portal_v6_安装指南

此过程将花费 1.5-2个小时成功执行后,访问 server1的控制台时将不提示输入口令

Page 20: Ibm web sphere_portal_v6_安装指南

(2)准备Domino环境

在Domino中添加个人:wpsadmin/ibm, user1/ibm, user2/ibm

在 Domino 中 添 加 群 组 : wpsadmins, wcmadmins, wpsContentAdministrators,

wpsDocReviewer, 并添加成员,例如:wpsadmin

编辑Domino目录中的服务器配置文档中的 LDAP

Page 21: Ibm web sphere_portal_v6_安装指南

添加匿名用户可以查询的属性类型dominoCertificate , dominoUNID , HTTP-HostName , HTTP-

Port,MailFile,MailServer,NetAddresses,PublicKey,Sametime

设置:允许 LDAP用户具有写权限 为 是;是否全文索引Domino目录 为 是。

Page 22: Ibm web sphere_portal_v6_安装指南

更新Domino目录的ACL

要验证 LDAP服务,可以通过浏览器访问一下URL:

Page 23: Ibm web sphere_portal_v6_安装指南

ldap://portal.ibm.com:389/cn=wpsadmin,o=ibm

ldap://portal.ibm.com:389/cn=wpsadmins

(3)配制参数并启用安全性

在目录<WP_HOME>/config/helpers下找到文件 security_domino.properties

根据你的Domino环境配置该文件

Property Value

WasUserid cn=wpsadmin,o=ibm

WasPassword passw0rd

wmm.DbPassword passw0rd

PortalAdminId cn=wpsadmin,o=ibm

PortalAdminPwd passw0rd

PortalAdminGroupId cn=wpsadmins,o=ibm

LTPAPassword passw0rd

Page 24: Ibm web sphere_portal_v6_安装指南

LTPATimeout 120

SSORequiresSSL false

SSODomainName ibm.com

useDomainQualifiedUserNames false

cacheTimeout 600

issuePermissionWarning true

activeProtocol BOTH

activeAuthMechanism LTPA

LookAside false

LDAPHostName portal.ibm.com

LDAPPort 389

LDAPAdminUId cn=wpsadmin,o=ibm

LDAPAdminPwd passw0rd

LDAPServerType DOMINO502

LDAPBindID cn=wpsadmin,o=ibm

LDAPBindPassword passw0rd

LDAPSuffix

LdapUserPrefix cn

LDAPUserSuffix o=ibm

LdapGroupPrefix cn

LDAPGroupSuffix

LDAPUserObjectClass dominoPerson

LDAPGroupObjectClass dominoGroup

LDAPGroupMember uniqueMember

LDAPUserFilter (&(uid=%v)(objectclass=inetOrgPerson))

LDAPGroupFilter (&(cn=%v)(objectclass=groupOfUniqueNames))

LDAPGroupMinimumAttributes

LDAPUserBaseAttributes givenName,sn,preferredLanguage

LDAPUserMinimumAttributes

LDAPsearchTimeout 120

LDAPreuseConnection true

LDAPIgnoreCase true

LDAPsslEnabled false

WpsContentAdministrators cn=wpsContentAdministrators,o=ibm

WpsContentAdministratorsShort wpsContentAdministrators

WpsDocReviewer cn=wpsDocReviewer,o=ibm

WpsDocReviewerShort wpsDocReviewer

WcmAdminGroupId cn=wcmadmins,o=ibm

Page 25: Ibm web sphere_portal_v6_安装指南

WcmAdminGroupIdShort wcmadmins

启动应用服务器“server1”,停止应用服务器“WebSphere_Portal”

切换到 <wp_root>/config 目录,使用以下命令将修改的属性导入到文件 wpconfig.propertiesWPSconfig -DparentProperties="<full_path_to_this_file>" -DSaveParentProperties=true

确认成功后,执行:WPSconfig.bat validate-wmmur-ldap进行校验,此时Domino

应该已在运行

Page 26: Ibm web sphere_portal_v6_安装指南

确认成功后,执行:WPSconfig.bat enable-security-wmmur-ldap

执行成功后,请重新启动所有服务器。

Page 27: Ibm web sphere_portal_v6_安装指南

WebSphere_Portal 重新启动后,访问门户中人员查找

存在于Domino目录的个人文档中的信息将被显示

Page 28: Ibm web sphere_portal_v6_安装指南

以上所有配置过程若执行失败,请仔细核对相关配置文件中的参数是否正确。

6、配置Domino Portlets

(1)配制 Portal和Domino的 SSO

启用安全性后,重启 server1,打开控制台

Page 29: Ibm web sphere_portal_v6_安装指南

接受证书

用管理员登陆

Page 30: Ibm web sphere_portal_v6_安装指南

点击 安全性——全局安全性

选择“认证机制——LTPA”

Page 31: Ibm web sphere_portal_v6_安装指南

输入导出的文件名,点击导出密钥

点击 保存

Page 32: Ibm web sphere_portal_v6_安装指南

然后打开Domino Administrator

创建WEB SSO配置

Page 33: Ibm web sphere_portal_v6_安装指南

引入WebSphere LTPA密钥

输入全路径文件名

Page 34: Ibm web sphere_portal_v6_安装指南

输入口令

输入其它项:DNS网络域,Domino服务器名称,到期时间。 然后保存退出并重启HTTP

Page 35: Ibm web sphere_portal_v6_安装指南

(2)配置Domino邮件 Portlet

用“wpsadmin”登陆到 Portal,点击 开始——消息传递

Page 36: Ibm web sphere_portal_v6_安装指南

点击邮件

点击配置

Page 37: Ibm web sphere_portal_v6_安装指南

选择 IBM Lotus Notes —— 配置

输入Domino 主机名 和 认证

Page 38: Ibm web sphere_portal_v6_安装指南

点击 完成

Page 39: Ibm web sphere_portal_v6_安装指南

(3)配制 Sametime Portlets

修改wpconfig.properties 文件中的 LCC部分

关闭WebSphere_Portal 服务器

在<portal_root>\config下面运行命令 wpsconfig lcc_configurate_sametime

运行成功后,检查 <portal_root>\shared\app\config\CSEnvironment.properties 文件其中 Sametime的相关配制是否正确

Page 40: Ibm web sphere_portal_v6_安装指南

启动WebSphere_Portal

访问 启动—Domino集成—我的工作

可以看到感知功能已经启用

Page 41: Ibm web sphere_portal_v6_安装指南

点击 我的团队