只安裝 WebApplicationServer 與 OrganizationWebService 角色的範例 XML 設定檔
發行︰ 2016年11月
適用於: Dynamics CRM 2015
下列範例只會在本機電腦安裝 Web 應用程式伺服器 和 組織 Web 服務 伺服器角色。 為使用此組態檔,組態資料庫必須已經存在於名為 SQLServer 的 Microsoft SQL Server 上。 此功能會安裝在預設的 IIS 網站。 若要指定其他網站,請使用 <WebsiteUrl> 項目。 如需詳細資訊,請參閱Microsoft Dynamics CRM伺服器 XML 設定檔。
注意
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 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> 值的設定檔具有安全性風險,因為密碼是以純文字儲存。 在使用設定檔安裝 Microsoft Dynamics CRM Server 之後,盡快刪除這些元素。
另請參閱
在命令提示字元安裝 Microsoft Dynamics CRM 伺服器角色
僅安裝 HelpServer 角色的 XML 設定檔範例
© 2016 Microsoft Corporation. 著作權所有,並保留一切權利。 著作權