首页 > 代码库 > office web apps server安装

office web apps server安装

1.准备服务器

 准备一台windows server 2012 R2服务器,修改计算机名称加入域,如果是通过虚拟机复制导致sid冲突,可以先运行 c:\windows\system32\sysprep\sysperp.exe 修改系统sid.

2.使用域控制器账号登陆

3.安装准备(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.安装必备软件

.NET Framework 4.5.2(必须先安装)

Visual C++ Redistributable Packages for Visual Studio 2013(看机器)

Visual C++ Redistributable for Visual Studio 2015(看机器)

Microsoft.IdentityModel.Extention.dll(看机器)

IIS(看机器)

5.安装office web app ,安装语言包,安装wacserverlanguagepack.exe

6.配置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.访问IIS: http://fw001.adtest.com

office web apps server安装