OWA INStALLAtION The following installation instructions assume that SharePoint Server 2010 has not been installed yet, or that you have begun the installation but have not yet run the C
Trang 1Feature Activation
Each site collection that will host the OWA functionality needs to be confi gured This is accomplished
by activating the OWA feature The activation process can be done manually by browsing to each and every site collection’s Site Collection Features page and activating the feature or by running a Windows PowerShell script It is also possible to activate the feature for every site collection in the farm at once using a PowerShell script
OWA INStALLAtION
The following installation instructions assume that SharePoint Server 2010 has not been installed yet, or that you have begun the installation but have not yet run the Confi guration Wizard If you have already run the Confi guration Wizard, proceed to the “OWA PowerShell Activation” section
at the end of the chapter
Single‑Server Farm Install
Install SharePoint Server 2010 according to the instructions in Chapter 4 and using the settings described earlier for the Server Farm and Complete Install options In the dialog shown in Figure 19-3, leave the checkbox to automatically run PSConfi g blank This will postpone running PSConfi g; the administrator may choose to run it later after the OWA are installed
installing the offi ce Web applications
1 Make sure the user performing the installation is logged on with the built-in administrator account
2 Extract the OWA fi les to a folder on your system by using the /extract:c:\OWAfiles
switch, where c:\OWAfiles is the location to extract the fi les
3 At the root of the OWAfile folder, run the OWA setup application setup.exe, which will display the Enter your Product Key dialog, shown in Figure 19-4
4 After your key has been verifi ed, click Continue to display the Microsoft Software License Terms dialog Check the box to accept the terms and then click Continue
5 On the Choose a fi le location dialog, shown in Figure 19-5, click Install Now to install to the default location The Installation Progress dialog will be displayed during the installation
6 The setup process should take only a few minutes Once it is complete, the Run Confi guration Wizard dialog (refer to Figure 19-3) will be displayed Be sure that the “Run the SharePoint Products and Technologies Confi guration Wizard now” checkbox is selected, and then click Close to start the confi guration wizard
Step 6 assumes that the SharePoint Post-Setup Confi guration Wizard has not
been run after the original SharePoint server setup If the wizard has already
been run, then the OWA services need to be created and activated, either
man-ually as described in Chapter 7 or using the PowerShell scripts provided at the
end of this chapter.
Trang 4FIguRE 19-8
11 The Specify Farm Security Settings dialog shown in Figure 19-9 asks you to enter a passphrase The purpose of the passphrase is to ensure that no other SharePoint servers can join the farm unless they have the proper credentials Enter whatever you like here or enter something like the administrator account password You can change this password later if you choose
FIguRE 19-9
Trang 512 Figure 19-10 shows that the administrator can define a specific port for the Central Administration web application or utilize a randomly generated port number The option
to choose NTLM or Kerberos is also presented It is usually best to choose Kerberos for SharePoint web sites but NTLM will suffice for the administration web site Enter the appropriate information and click Next
Trang 614 The Confi guring SharePoint Products screen displays the progress for the confi guration cess Once confi guration is complete, you will receive confi rmation stating that the confi gura-tion was successful Click Finish on the Confi guration Successful dialog to display the Central Administration dialog shown in Figure 19-12 This completes the confi guration.
pro-FIguRE 19-12
Open SQL Server Management Studio and view the two different databases that
have been created, SharePoint_Confi g and SharePoint_Admincontent, which
represent the confi guration database and the Central Administration web site
databases, respectively.
service activation
From the Central Administration web site, click the “Manage servers in this farm” link located beneath the System Settings heading to see the Servers in Farm information shown in Figure 19-13 You can see that SharePoint Server 2010 and the Offi ce Web Applications are installed The next step is to create and confi gure the necessary services to support the web applications You can do this task using the Farm Confi guration Wizard, via manual confi guration, or using PowerShell commands
Trang 7FIguRE 19-13
The following steps take you through the Farm Confi guration Wizard This procedure must be completed only if the wizard has not been previously run If the wizard has already been run, the OWA can be activated using the PowerShell scripts at the end of the chapter
You can also confi gure the services manually See the “Manual Activation” section
earlier in this chapter.
1 On the SharePoint Central Administration home page, click the Confi guration Wizards hyperlink in the lower right-hand corner of the page On the Confi guration Wizards page, shown in Figure 19-14, click Launch the Farm Confi guration Wizard hyperlink
2 The Farm Confi guration Wizard welcome page is shown in Figure 19-15 Choose “Walk me through the settings using this wizard,” and then click Next
3 The purpose of running the wizard is to confi gure the desired services On the Confi gure your SharePoint Farm page, in the Service Account section, make sure “Create new managed account” is selected and type a username and password for the service account If you have not previously created an account specifi cally for services, then create the following account
in Active Directory for use as your service account: contoso\sp_admin
Trang 8FIguRE 19-14
FIguRE 19-15
Trang 94 The contents of the Configure your SharePoint farm web page are shown in Figure 19-16 and Figure 19-17 In the Services section, select as many services as you would like, but specifically ensure that the PowerPoint service application and the Word Viewing Service checkboxes are selected For this install, select all the checkboxes except the one for the Lotus Notes Connector and then click Next.
FIguRE 19-16
The next screen displayed indicates that processing is in progress Service instances and their corresponding proxies are being created during this time
5 At this point, the services have been created and the administrator now has the option to create
a new top-level web site On the Create Site Collection page, shown in Figure 19-18, add the necessary information and click OK when you are finished
6 On the Configure your SharePoint Farm page, shown in Figure 19-19, review the list of services and click Finish
This completes the OWA setup Next you will proceed with testing the web applications to ensure they are working
The installed service application instances can be viewed from the Manage Service Applications web page in Central Administration Make sure that the PowerPoint service application and proxy instances are listed and the services are started Also, make sure the Word Viewing Service and proxy instances have been created and started
Trang 10FIguRE 19-17
FIguRE 19-18
Trang 11FIguRE 19-19
feature activation and oWa Testing
The last step in the installation and configuration is to activate the Office Web Apps feature at the site collection level and ensure that the apps are functioning properly
1 Using the newly created site collection as the test case, navigate to the Features page for the site collection and confirm that the Office Web Apps feature has been activated, as shown in Figure 19-20
FIguRE 19-20
2 The administrator should also confirm that the Shared Documents library that has been provisioned as part of the new web site in the site collection has been configured to open documents in the browser by default, as shown in Figure 19-21 Do this by navigating to the Advanced Settings page for the Shared Documents library
Trang 12FIguRE 19-21
3 Add a document to the Shared Documents library so that the View in Browser functionally can be tested You can do this by either creating a new document from scratch and then sav-ing the document to the Shared Documents library or uploading a document to the library directly Then select the View in Browser menu option from the drop-down menu, as shown
in Figure 19-22 This will open the document in the web browser using the Office Web
Application functionality
FIguRE 19-22
4 If everything has been configured properly, the Word document will open in the browser (see Figure 19-23), indicating that the Word web application is functioning properly The browser may also display the banner shown here above the document, indicating that the Word view-ing experience can be improved by installing the Silverlight plug-in To do so, click the link and complete the steps on the corresponding web pages
Trang 131 Open the SharePoint 2010 Management Shell from the Start menu in the Microsoft
SharePoint 2010 Products heading Type and execute the following two sets of commands:
See Chapter 10 for a refresher on running PowerShell commands.
Trang 14FIguRE 19-24
The first command, Get-SPServiceApplication, will provide a list of the installed service application instances This command needs to be run first so that the correct names of the ser-vice application instances can be determined Keep in mind that in different languages, service application names could be localized These service application names are then utilized in the second set of PowerShell commands In this case, the Word Viewing Service and PowerPoint service application are the services of interest
2 Type and execute the following two PowerShell commands to activate the PowerPoint service application Respond to the prompts with a “Y” for yes after each command is executed, as shown in Figure 19-25 (Each of these commands belongs on a single line; they are broken here to fit on the page.)
GetSPPowerPointServiceApplication | SetSPPowerPointServiceApplication EnableSandboxedViewing $false
GetSPPowerPointServiceApplication | SetSPPowerPointServiceApplication EnableSandboxedEditing $false
Trang 15-FIguRE 19-25
3 Navigate to the following location:
c:\windows\system32\inetsrv\config\applicationHost.config
Add the following XML to the end of the dynamicTypes section:
<add mimeType=”application/zip” enabled=”false” />
4 Execute an IISRESET command
This completes the manual confi guration necessary to activate the OWA on a server that is also functioning as a domain controller Proceed with testing the Excel and PowerPoint web applications
to ensure that they are functioning properly
Keep in mind that installing the OWA on a domain controller is not a supported
confi guration for a production environment It is to be used as a development
environment only.
PowerPoint Broadcast slide show
The Offi ce 2010 Broadcast Slide Show (BSS) capability enables presenters to broadcast a PowerPoint
2010 slide show to remote users who can view the slide show using their web browser The BSS service
is hosted on a SharePoint server with the OWA installed and utilizes the PowerPoint service tion You create one or more broadcast services by creating sites that use the PowerPoint Broadcast site template, and set permissions for those individuals who can use the service through group membership
applica-on the site
Installation and Confi guration
The BSS requires that the PowerPoint service application be created and started As demonstrated earlier, this is accomplished by running the Farm Confi guration Wizard after the OWA have been
Trang 16installed OWA installation adds the PowerPoint Broadcast site template to the server A SharePoint site collection created from this template is required to utilize the BSS capability Users who will utilize the BSS connect to the URL of this site collection to start a broadcast, and attendees also utilize this link to view the presentation in their browser Multiple BSS sites may be created, each with its own URL.
As part of the OWA installation, a default BSS site collection is created within the default web
application at http://<default web application>/sites/broadcast, which may be this URL:
http://<server name>/sites/broadcast, where <server name> refers to the name of the server
In our specific installation, Figure 19-26 displays this default site collection’s home page
Trang 172 Create a new site collection using the PowerPoint Broadcast Site template, which is located
on the Enterprise tab of the Template Selection section, shown in Figure 19-29 Once the new site collection has been created, the administrator should confirm that no permissions are granted by default, and assign permissions manually
3 The broadcast site administrator must assign users permissions to broadcast and attend slide show broadcasts as recommended below Permission assignment is done from the People and Groups web page (refer to Figure 19-27)
Users who need to broadcast should be added to the Broadcast Presenters group
Trang 18FIguRE 19-28
FIguRE 19-29
Once security is configured, the broadcast service needs to be made available to individual PowerPoint 2010 users Presenters can connect to the site and start a broadcast from their desktop PowerPoint 2010 application, and viewers can see the presentation from their browsers Group policy can also be used to advertise the service to users so they don’t need
to enter the broadcast site URL manually Those interested in using group policy should download the PowerPoint 2010 Administrative template and follow the instructions in the article “Enforce settings by using Group Policy in the 2007 Office System,” located at
http://technet.microsoft.com/en-us/library/cc179081.aspx Group policy can also be used to disable the broadcast capability
Trang 194 Open a PowerPoint slide deck On the Slide Show tab, click the Broadcast Slide Show button
on the ribbon to display the Broadcast Slide Show dialog, shown in Figure 19-30
FIguRE 19-30
5 Click the Change Broadcast Service button, and then click the Add a new service… link Type the URL of the new site in the Add Broadcast Service dialog and click the Add button The result
of adding the http://sharepoint2010/sites/broadcast site is shown in Figure 19-31
6 Click the Start Broadcast button The Connecting to SharePoint2010 dialog will appear as shown in Figure 19-32
7 The final screen before starting the slide show provides the presenter with an option to copy the URL of the broadcast site or send an e-mail so that attendees can be informed This screen is shown in Figure 19-33 To start the slide show, click the Start Slide Show button
8 The slide show should begin, as shown in Figure 19-34 The presenter can press the Escape key to exit the presentation but won’t be able to edit it until the broadcast is ended This completes the configuration