共用方式為


只安裝 WebApplicationServer 與 OrganizationWebService 角色的範例 XML 設定檔

本文不適用於 Dynamics 365 Customer Engagement (on-premises) 9.1 版更新。 有關 9.1 版更新中的新功能資訊,請參閱最新功能

有關 Dynamics 365 Customer Engagement (on-premises) 9.0 版的此主題資訊,請選擇位於左導航窗格上方的版本。

版本選取器

下列範例僅將 Web 應用程式伺服器和組織 Web 服務伺服器角色安裝到本機電腦上。 為了使用此設定檔,設定資料庫必須已經存在於名為 SQLServer 的 SQL Server 中。 此功能會安裝在預設 IIS 網站。 若要指定其他網站,請使用 <WebsiteUrl> 項目。 如需詳細資訊,請參閱 Microsoft Dynamics 365 Server XML 設定檔

Note

Web 應用程式伺服器需要組織 Web 服務。 因此,即使僅指定 WebApplicationServer 角色名稱,組織 Web 服務 (OrganizationWebService) 也會自動安裝。

<CRMSetup>  
<Server>  
<Patch update="true">\\server\share\patchfile.msp</Patch>  
<LicenseKey>XXXXX-XXXXX-XXXXX-XXXXX-XXXXX</LicenseKey>  
<SqlServer>SQLServer</SqlServer>  
<Database create="false" />  
<InstallDir>c:\Program Files\Microsoft Dynamics CRM</InstallDir>  
<WebsiteUrl create="true" port="5555"> </WebsiteUrl>  
<Roles>  
   <Role name="WebApplicationServer"/>  
</Roles>  
<SQM optin="true" />  
<MUoptin optin="true" />  
<CrmServiceAccount type="DomainUser">  
   <ServiceAccountLogin>contoso\user1</ServiceAccountLogin>  
   <ServiceAccountPassword>password</ServiceAccountPassword>  
</CrmServiceAccount>  
<MonitoringServiceAccount type=”DomainUser”>  
<ServiceAccountLogin>Contoso\CRMMonitoringService</ServiceAccountLogin>  
<ServiceAccountPassword>password</ServiceAccountPassword>  
</MonitoringServiceAccount>  
</Server>  
</CRMSetup>  

注意

維護已指定 <ServiceAccountLogin> 和 <ServiceAccountPassword> 值的設定檔具有安全性風險,因為密碼是以純文字儲存。 使用設定檔安裝 Dynamics 365 Server 之後,盡快刪除這些元素。

請參閱

安裝 Microsoft Dynamics 365 角色
僅安裝 HelpServer 角色的範例 XML 設定檔