1. Preparing the server
To prepare a Windows Server R2 server, modify the computer name to join the domain, and if it is caused by a virtual machine replication that causes SID conflicts, you can run C:\windows\system32\sysprep\sysperp.exe to modify the system SID first.
2. Login with domain Controller account
3. Installation preparation (running in PowerShell)
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,net-framework-features,net-framework-core,net-http-activation,net-non-http-activ, Net-wcf-http-activation45,windows-identity-foundation,server-media-foundation
4. Install prerequisite Software
. NET Framework 4.5.2 (must be installed first)
Visual C + + redistributable Packages for Visual Studio 2013 (see Machine)
Visual C + + Redistributable for Visual Studio 2015 (see machine)
Microsoft.IdentityModel.Extention.dll (see machine)
IIS (see machine)
5. Install the Office Web App, install the language pack, install Wacserverlanguagepack.exe
6. Configure the Office Web App
New-officewebappsfarm-internalurl Http://fw001.adtest.com-ExternalURL Http://fw001.adtest.com-AllowHttp- Editingenabled-openfromurlenabled
Set-officewebappsfarm-internalurl Http://fw001.adtest.com-ExternalURL Http://fw001.adtest.com-AllowHttp- Editingenabled-openfromurlenabled
7. Visit iis:http://fw001.adtest.com
Office Web Apps Server Installation