2024年2月9日发(作者:)

如何创建My Sites(Sharepoint Server 2010)

Table of Contents

如何创建My Sites(Sharepoint Server 2010) ............................................................................................................................ 1

准备工作 ................................................................................................................................................................................... 2

创建My Site host site collection ............................................................................................................................................... 3

向Web application中添加 wildcard inclusion managed path ................................................................................................ 4

连接Web application to service applications ........................................................................................................................... 5

为Web application 开启self-service site creation .................................................................................................................. 5

为User Profile service application设置My Site settings ......................................................................................................... 6

Enable the User Profile Service Activity Feed Job ..................................................................................................................... 7

Next Steps .................................................................................................................................................................................. 9

1

在Microsoft SharePoint Server 2010中,My Site为来自同一个organization的不同用户提供了一个个人站点,方便用户分享他们的个人信息及工作信息,用户可以通过在sharepoint Server page的右上角点击他(她)的名字然后点击My Site便可查看其站点。默认情况下。每一个My Site包含My Newsfeeds,My Content以及My

Profile三个模块,其中My Newsfeeds是默认登录页面,显示用户所关注的最新消息;My Content显示用户保存在My Site中的内容;My Profile显示用户的profile信息。前两个模块只会被登录用户自己看到,而第三个模块是organization里的其他用户查看My Site时看到的。

以下列出了在企业版Sharepoint中创建My sites的准备工作和操作步骤。

在创建My Sites之前,需要确保你所使用的是Sharepoint Server 2010企业或标准版并且进行操作的用户需要有Farm Administration权限。

准备工作

在正式创建My sites之前需要完成以下准备工作:

1、 建议开启Managed Metadata service 和Search service,否则My Sites的一些功能将有可能受到影响。

Central Administration-> System Settings-> Manage services on server,开启Managed Metadata service

和Search service,其中开启Search service时可能会提示要求先新建Search Services Application,则需在Central Administration-> Application Management-> Manage service applications-> Service

Applications 中新建一Search Services Application。

2、Web application

为保证安全性和良好的性能,尽管可以使用已存在的Web application,但是最好新建一个全新的Web Application2

用来专门创建My site host site collection, My site host site collection必需是root site,本文所使用的root site为e33-wfe1:12530。

Notes:如果在初始化deployment和configuration时创建过My Sites,由于它是在默认的Web Application上创建的,所以建议不适用,应将该site collection删除并创建一个新的专门建立My Sites的Web App,之后在这个Web App上新建My Site host site collection。

3、用CA创建User Profile service application

a) Central Administration-> Application Management-> Manage service applications-> Service

Applications ,New-> User Profile Service Application

b) 在Create New User Profile Service Application界面,填写Name等信息,点击save

Notes:在填写Create New User Profile Service Application时需将My Site Host UR和Personal Site

Location中的默认信息置为空,其他填写信息均可默认,接下来的操作里会单独进行设置。

创建My Site host site collection

My Site host site collection是一个使用My Site Host模板的site collection。一般情况下,可以在Web

application的root path下创建。

3

1、

Central Administration-> Application Management-> Create site collections

2、

选择刚才创建的全新的Web application(e33-wfe1:12530),填写Title and Description,在Web

application的root path下创建以My Site Host为模板的site collection,点击create。

向Web application中添加 wildcard inclusion managed

path

wildcard inclusion managed path是每个用户第一次点击My Content的链接时生成的,在该路径下将不同用户的site collections分开。

1、Central Administration-> Application Management-> Manage Web applications

2、选择刚才创建的Web App,点击Managed Paths,在Define Managed Paths中的Add a New Path中输入Path并在Type的下拉菜单中选择wildcard inclusion ,点击Add Path,再点击OK。如果Web application地址是

e33-wfe1:12530/ 并且想在一个叫“personal”的路径下创建用户的个人站点,那么在Path中应填入“personal”,在e33-wfe1:12530/personal/下便会生成对应的站点.

4

连接Web application to service applications

用来建立My sites的Web application必须与SharePoint Server中的service applications 连接。

1、 Central Administration-> Application Management-> Manage Web applications

2、 选择之前创建的Web App,选择Service Connections,在Configure Service Application Associations

中Edit the following group of connections list选择Default。点击ok。

为Web application 开启self-service site creation

每个用户第一次点击 My Content连接时,self-service site creation 会为其自动创建site collection。

5

1、Central Administration-> Application Management-> Manage Web applications

2、选择之前创建的Web App,点击Self-Service Site Creation,在Self-Service Site Creation Management中勾选on,点击ok。

在User Profile service application中设置My Site

在创建了My Site host site collection和wildcard inclusion managed path之后就可以在User Profile

service application中对My Sites进行设置。

1、Central Administration-> Application Management-> Manage service applications,点击之前创建的User

Profile service application,在My Site Settings下点击Setup my sites。

3、 在My Site Settings界面输入My Site Host Location及Personal Site Location,分别为之前创建的My Site

Host site collection的URL:e33-wfe1:12530/和Path:personal。若之前创建过以Basic search center为模板的site collection,则Preferred Search Center中默认填写了URL:e33-wfe1:36243/sites/bsc。6

(Search Center 指引用户搜索其他用户或在各自My Profile page中搜索文件,创建方法:开启Search

Services Application之后,在站点下新建以Basic search center为模板的site collection)。

Enable the User Profile Service Activity Feed Job

在设置完My Sites后,应开启 User Profile Service activity feed job ,这样用户会在他们各自的My Sites的My Newsfeed 中收到更新消息。(This procedure is required to enable newsfeeds before SharePoint Server

2010 with SP1. After you apply SharePoint Server 2010 with SP1, configure the activity feed job and the

additional Newsfeed option as described in Configure My Site settings for the User Profile service

application above. You might still refer to this procedure after you apply SharePoint Server 2010 with

SP1 to change the schedule of the activity feed timer job or to force the job to run between its scheduled

intervals.)

1、

Central Administration-> Monitoring-> Review job definitions

2、

在job definitions页面的右上角的View 下拉菜单中选择 Service,有时在service界面信息为空,此时需要选择Service下的Change Service,在Select Service page中选择User Profile Service。

7

3、

选择之前设置的User Profile service application的activity feed job ,(格式为:User Profile Service

name - Activity Feed Job)

4、

在打开的Edit Timer Job page中进行schedule设置,点击ok,也可以Run Now直接跑job。

8

打开My site host site collection的URL:e33-wfe1:12530/,至此,一个基本的My Sites诞生了!

Next Steps

可根据具体需要决定是否进行一下可选的 procedures:

Configure trusted My Site host locations

Trusted My Site Host Locations是一个可选则的feature,它可以阻止一个用户使用multiple User Profile

Service applications在一个organization创建两个或两个以上的My Site。

9

Configure links to Office client applications

一个用户的My Site是一个便于用户使用像Microsoft Office Word以及 PowerPoint 等office办公软件保存文件的地方,在配置好My Sites后,用户可以在Favorite Links中添加链接,在使用office办公软件Save as时在对话框中便会看到该链接。用户可以选择他(她)的My Sites并且向各自My Content中的Shared Documents library,

Personal Documents library或者其他libraries保存文件。

Add personalization site links on My Sites

如果用户的organization想为用户提供重要的信息,可通过为该用户的My Site添加personalization site links实现。

Start related services

如果My Sites的相关services 未被开启,需要在环境中开启这些服务。

10