您的位置:首页 > 游戏 > 游戏 > 在建项目查询在哪里查_义乌公司网站_资源网站快速优化排名_品牌推广的方式

在建项目查询在哪里查_义乌公司网站_资源网站快速优化排名_品牌推广的方式

2025/5/3 5:48:42 来源:https://blog.csdn.net/cleverstronge/article/details/146938750  浏览:    关键词:在建项目查询在哪里查_义乌公司网站_资源网站快速优化排名_品牌推广的方式
在建项目查询在哪里查_义乌公司网站_资源网站快速优化排名_品牌推广的方式

服务器配置

配置参数
OSThe 64-bit edition of Windows Server 2016
CPU4
RAM8G
Network开启
Hard disk80G
Port80, 443, 809

执行命令

PowerShell中添加Windows服务:

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

安装配件

.NET Framework 4.5.2
Visual C++ Redistributable Packages for Visual Studio 2013
Visual C++ Redistributable for Visual Studio 2015
Microsoft.IdentityModel.Extention.dll
Office Online Server
Office Online Server Language Socket

创建自签名CA证书

修改下面的 serveername

New-SelfSignedCertificate –FriendlyName OOS -DnsName serveername -KeyUsage DigitalSignature -NotAfter (Get-Date).AddYears(20)

添加Office Online Server Scene:

修改下面的servername,这里 InternalURL 是内网访问的地址,ExternalURL 是用于外网访问本机的Office Online Server的公网ip地址

New-OfficeWebAppsFarm -InternalURL "http://servername" –EditingEnabled -ExternalURL "https://ip" -CertificateName "OfficeOnlineServer" -AllowHTTP

开启编辑功能

Set-OfficeWebAppsFarm -OpenFromUrlEnabled:$true

开发端口安全组

ports: 80,443,809
PS:注意需要在本机的防火墙里开启上述端口,同时也要在服务器提供商开启端口

设置个人自签名证书

PowerShell中输入:

New-SelfSignedCertificate -FriendlyName OfficeOnlineServer -DnsName servername -KeyUsage DigitalSignature -NotAfter (Get-Date).AddYears(20)

绑定证书到Office Online Server

在服务器上,单击任务栏的“开始”,然后单击“控制面板”。单击“系统和安全”,然后单击“管理工具”,点击Internet Information Services(llS)管理器,将证书绑定到Office Online Server服务器的https请求

测试访问

打开其他可以联网的机器浏览器访问如下地址,如果有内容不被拦截则成功

https://ip/hosting/discovery
https://ip/op/generate.aspx

版权声明:

本网仅为发布的内容提供存储空间,不对发表、转载的内容提供任何形式的保证。凡本网注明“来源:XXX网络”的作品,均转载自其它媒体,著作权归作者所有,商业转载请联系作者获得授权,非商业转载请注明出处。

我们尊重并感谢每一位作者,均已注明文章来源和作者。如因作品内容、版权或其它问题,请及时与我们联系,联系邮箱:809451989@qq.com,投稿邮箱:809451989@qq.com