Check out the whole SharePoint 2013 Solution Series
New Titles Added Weekly!
I wanted to evaluate Office Web Apps Server in SharePoint 2013 so I could see what the document previews would look like and understand the overall editing functionality. Therefore, I hijacked one of my staging servers and decided to install Office Web Apps Server. The server you choose can't have SharePoint running on it or any web application running on port 80. Also, Microsoft Office (or any Office component) cannot be installed.
The OS on my server was Windows Server 2008 R2 so I had to follow those directions. For Windows Server 2008 R2 you need to have the following:
I downloaded the package and ran the installation - pretty straightforward.
Import-Module OfficeWebAppsNew-OfficeWebAppsFarm –InternalURL http://servername –AllowHttp -EditingEnabled
The operation resulting with all of the properties being displayed:
The next step was to test the Office Web Apps server using a browser to confirm that http://servername/hosting/discovery produced a wopi-discovery response. It did:
New-SPWOPIBinding -ServerName <WacServerName> -AllowHTTP
Set the zone:
Set-SPWopiZone –zone “internal-http”
If you are using HTTP, you need to allow OAuth over HTTP by using the following commands:
$config = (Get-SPSecurityTokenServiceConfig)
$config.AllowOAuthOverHttp = $true
I didn't need to do this previously but while I was setting up my production server, I ran into an OWA issue. The answer was to run the above commands which I found in a forum who received the information from here.
That's it! Bring up a document library with Office documents:
Search for Office documents: (may need to perform a full crawl before the preview kicks in)
This was very easy to install and implement! I was very suprised it worked the first time. It took a bit for everything to warm up and work but I really did not have to do much fiddling!