Taylor 365

[OOS] Office Online Server 구성 본문

Windows and Server

[OOS] Office Online Server 구성

TaylorAn 2023. 9. 6. 09:43
728x90

Production 환경이 아닌 테스트 환경의 구성 방법임을 참고하시기 바랍니다.

- OOS Server: Windows Server 2016 Dtc

- 최신 업데이트

- 도메인 멤버 조인

- OOS 서버 로컬 administrators 그룹에 SharePoint Server 및 도메인 관리자(설치) 계정 추가

  1. 기능 설치

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. 추가 소프트웨어 설치

.NET Framework 4.5.2

파일명: NDP452-KB2901954-Web

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

 

Visual Studio 2013용 Visual C++ 재배포 가능 패키지

파일명: vcredist_x64

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

 

Visual Studio 2015용 Visual C++ 재배포 가능

파일명: vc_redist.x64

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

 

Microsoft.IdentityModel.Extention.dll

파일명: MicrosoftIdentityExtensions-64

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

3. Office Online Server 설치

New-OfficeWebAppsFarm -InternalURL "http://oos.twan.lab" -AllowHttp -EditingEnabled

브라우저 실행 후 http://oos.twan.lab/hosting/discovery 접속

SharePoint mgmt shell 실행

New-SPWOPIBinding -ServerName oos.twan.lab -AllowHTTP

- SharePoint 바인딩에 대한 WOPI 영역 확인

> Get-SPWOPIZone

- WOPI 영역을 internal-http로 변경

> Set-SPWOPIZone -zone "internal-http"

- WOPI 영역 확인 (https -> http 변경.)

> Get-SPWOPIZone

Excel SOAP API 사용

 

$Farm = Get-SPFarm

$Farm.Properties.Add("WopiLegacySoapSupport", "http://oos.twan.lab/x/_vti_bin/ExcelServiceInternal.asmx");

$Farm.Update();

7. Client OWA 동작 확인

※ 디자인상 시스템 계정으로 SharePoint Server 로그인 후 OWA에서 문서 오픈 시 오류 발생하므로 Client 계정으로 테스트 진행.

728x90