Wednesday, October 14, 2015

Install and configure Office Web Apps 2013

Install and configure Office Web Apps 2013


1. Lab:

All virtual machines are created on Hyper-v:

  • Virtual Machine 1: Active Directory.
  • Virtual Machine 2: Office Web Apps server 2013.
I use Windows Server 2012 R2 Standard Edition.

2. Prepare Office Web Apps Server:

To begin, open a PowerShell command running as an Administrator and execute the following commands to install the required roles and services for Office Web Apps.

Add-WindowsFeature Web-Server,Web-Mgmt-Tools,Web-Mgmt-Console,Web-WebServer,Web-Common-Http,Web-Default-Doc,Web-Static-Content,Web-Performance,Web-Stat-Compression,Web-Dyn-Compression,Web-Security,Web-Filtering,Web-Windows-Auth,Web-App-Dev,Web-Net-Ext45,Web-Asp-Net45,Web-ISAPI-Ext,Web-ISAPI-Filter,Web-Includes,InkandHandwritingServices




3. Office Web Apps Installation

Open and run the Office Web Apps setup.exe media to launch the setup wizard.


When Setup finishes installing Office Web Apps Server, choose Close. It's better to reboot the server.

4. Configuring Office Web Apps:

4.1. Configuring Office Web Apps Server Certificate:

This step is importing for Office Web Apps Server.
Open console MMC and add the certificates menu: File - Add or Remove Snap-ins


Select Computer account

Select Local computer

Select Certificates - Add

Go to Personal folder

Right click All Tasks - Advanced  Operations - Create Custom Request

Click Next

Click Next

Select Web Server Template and Next

Click on Properties

In Subject name, choose Common name and enter the Office Web Apps Server name
In Alternative name, choose DNS and enter the Office Web Apps Server name

In General tab, Enter a Friendly name. We will use it in the next configuration step

In Private Key tab, check Make private key exportable

Specify the path to save the request file

Open the request file with Notepad and copy the code inside

Now, open the URL of the Certification server. Click on Request a certificate

Go to Advanced certificate request

Click on Submit a certificate request

Past the request code into the box and choose Web Server template

Download the certificate

Now the certificate is ready, we need to import it into the Office Web Apps Server

In MMC console, right click on personal folder All Tasks - Import...

Select the office web apps certificate

Click Next
 


4.2. Configuring Office Web Apps Server:

On the Office Web Apps server, execute the following PowerShell command to provision the farm:

New-OfficeWebAppsFarm -InternalUrl "https://SRVOFFICEWEBAPP.itgration.internal" -ExternalUrl "https://SRVOFFICEWEBAPP.itgration.internal"  -CertificateName "OfficeWebAppsCert" -AllowHttp

 

You can test the Office Web Apps configuration by navigating to this URL and verifying it displays a Web app Open Platform Interface (WOPI)-discovery XML file:

https://OWA_FQDN/hosting/discovery

In our case: https://SRVOFFICEWEBAPP.itgration.internal/hosting/discovery



No comments:

Post a Comment