Office Online Server online editing Office documents, installation and deployment

Office Online Server installation deployment

 

Deployment environment

Two servers windows server2016

Ip Address:

Domain Server: 192.168.1.173

Office online server:192.168.1.196

 

 

 

AD domain server deployment

(192.168.1.173)

Adding roles and functions

 

 

Default Next

 

 

 

 

 

Adding AD domain server

 

 

Installation .net3.5

 

 

 

Default Next

 

 

Click Install to install the feature.

 

After the installation is complete, click on "to a domain controller";

 

 

Into the AD domain (oos.com) Server Configuration Wizard, select Add New Forest, root and enter the domain name, the next step;

 

 

Enter a password, the next step; password: hq.123 password required on the line, I was hq.123

 

 

Tip DNS can not be created, not control, continue to the next step;

 

 

Auto-fill (oos), the next step;

 

 

Installation path, by default, the next step;

 

 

Viewing options, the default, the next step;

 

 

Click installation, reboot the system after installation

 

 

Third, join the server to the domain

Operation 192.168.1.196

Change the dns address

 

 

Change the name of the domain-joined computer

 

 

Enter the domain server administrator account password

 

 

Welcome to emerge successfully join the domain interface representation

 

 

After the restart the system enters into a domain environment

 

 

After the restart was found to have entered the domain environment

 

 

 

192.168.1.196:

1. Configure Group Policy settings:

 

 

Open the Group Policy Editor:

 

 

The component repair function is enabled:

 

 

shell :( Refresh Group Policy)

gpupdate / force

 

 

 

2. Install the roles and services

Shell: Run as administrator

 

 

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,NET-Framework-Features,NET-Framework-45-Features,NET-Framework-Core,NET-Framework-45-Core,NET-HTTP-Activation,NET-Non-HTTP-Activ,NET-WCF-HTTP-Activation45,Windows-Identity-Foundation,Server-Media-Foundation

 

2.1按回车如下图

 

 

2.3安装完成如下图

 

 

 

三、完成后,下载安装以下软件

 

NET Framework 4.5.2

 

---- http://www.microsoft.com/zh-cn/download/details.aspx?id=42643

 

Visual C++ Redistributable Packages for Visual Studio 2013

 

---- https://www.microsoft.com/en-us/download/details.aspx?id=40784

 

Visual C++ Redistributable for Visual Studio 2015

 

---- http://www.microsoft.com/en-us/download/details.aspx?id=48145

 

Microsoft.IdentityModel.Extention.dll

 

---- https://go.microsoft.com/fwlink/p/?LinkId=620072

1、Microsoft .NET Framework4.5.2

 

运行Microsoft .NET Framework4.5.2安装包,勾选“我已阅读并接受许可条款”点击“安装”。

 

 

点击“完成”,完成Microsoft.NET Framework 4.5.2的安装。

 

 

 

2、Visual C++ Redistributable Packages for Visual Studio 2013

 

运行Visual C++ Redistributable Packages for Visual Studio 2013安装包,勾选“我已阅读并接受许可条款”点击“安装”。

 

点击“关闭”,完成Visual C++ Redistributable Packages for Visual Studio 2013的安装。

 

 

 

 

3、Visual C++ Redistributable for Visual Studio 2015

 

运行Visual C++ Redistributable for Visual Studio 2015安装包,勾选“我已阅读并接受许可条款”点击“安装”。

 

 

点击“关闭”,完成Visual C++ Redistributable Packages for Visual Studio 2013的安装。

 

 

 

4 Microsoft.IdentityModel.Extention.dll

 

运行Microsoft.IdentityModel.Extention.dll 安装包,勾选“I accept the terms in the License Agreement”点击“install”。

 

点击“关闭”,完成Visual C++ Redistributable Packages for Visual Studio 2013的安装。

 

 

 

四、安装office online

 

1、将下载好的office online server 2016的安装包解压好,并点击图中标注文件夹

 

2、点击setup.exe

 

 

 

3、勾选“我接受此协议的条款”点击“继续”。

 

 

4、默认安装路径,点击“立即安装”

 

 

5、 安装进行中,待进度完成;安装完成,关闭。

 

 

6、安装中文语言包

 

 

7、安装完成,关闭

 

 

五、相关配置

1、office online server 配置

 

1.1、安装完成后,打开PowerShell,开始配置office online server

 

输入:

 

New-OfficeWebAppsFarm -InternalURL "http://192.168.128.160"-AllowHttp –EditingEnabled

 

注:若http:// 192.168.128.160/hosting/discovery 能登录,http://192.168.128.160/op/generate.aspx显示“服务器错误”,控制台输入:Set-OfficeWebAppsFarm -OpenFromUrlEnabled:$true即可访问成功

 

注:192.168.128.160为当前服务器的ID

 

 

 

 

 

1.2、

 

打开http://192.168.128.160/hosting/discovery链接,如下图则表示office online server安装部署成功

 

打开http://192.168.128.160/op/generate.aspx 链接,如下图则表示office online server安装部署成功

 

 

 

 

 

 

 

2、部署网站

 

2.1 打开IIS,右键点击网站-->添加网站

 

 

修改的地方1:App_Data/Discovery.xml

 

修改网站名(标记)

 

 

 

 

 

 

修改地方2:Web.config

 

修改标记的地方(仅修改网站名及端口)

 

 

 

 

2.2、预览网站

 

 

2.3、网站首页

 

 

2.4、预览页面

 

 

Guess you like

Origin www.cnblogs.com/guarderming/p/10984175.html