5 准备站点Default-Site-Name
5.1 安装域控
域控IP地址通过虚拟网络自动获取。手动配置域控主机名后,使用如下命令安装主域控。
Add-WindowsFeature -Name ad-domain-services –IncludeManagementTools
Install-ADDSDomainController -DomainName itservice.vip -InstallDns -SafeModeAdministratorPassword (ConvertTo-SecureString -String "[email protected]!" -AsPlainText -Force) -DatabasePath c:\windows\NTDS -LogPath C:\WINDOWS\NTDS -NoRebootOnCompletion:$FALSE -Confirm:$FALSE
5.2 林域架构扩展
需要将Exchange 2016 CU6安装介质
1、域功能扩展
Setup /prepareAD /OrganizationName:"exchange" /IAcceptExchangeServerLicenseTerms
2、林功能扩展
Setup /prepareschema /IAcceptExchangeServerLicenseTerms
3、域扩展
Setup /preparedomain /IAcceptExchangeServerLicenseTerms
5.3 安装Exchange
手动将Exchange服务器重命名后加入域。使用如下命令安装。
5.3.1 Exchange前提条件准备
1、安装Microsoft Unified Communications Managed API 4.0, Core Runtime 64-bit
2、安装必要组件
Install-WindowsFeature AS-HTTP-Activation,Desktop-Experience,NET-Framework-45-Features,RPC-over-HTTP-proxy,RSAT-Clustering,RSAT-Clustering-CmdInterface,RSAT-Clustering-Mgmt,RSAT-Clustering-PowerShell,Web-Mgmt-Console,WAS-Process-Model,Web-Asp-Net45,Web-Basic-Auth,Web-Client-Auth,Web-Digest-Auth,Web-Dir-Browsing, Web-Dyn-Compression,Web-Http-Errors,Web-Http-Logging,Web-Http-Redirect,Web-Http-Tracing,Web-ISAPI-Ext,Web-ISAPI-Filter,Web-Lgcy-Mgmt-Console,Web-Metabase,Web-Mgmt-Console,Web-Mgmt-Service,Web-Net-Ext45,Web-Request-Monitor,Web-Server,Web-Stat-Compression,Web-Static-Content,Web-Windows-Auth,Web-WMI,Windows-Identity-Foundation
5.3.2 安装Exchange 2016服务器角色
Setup /mode:install /role:mb /mdbname:DB01 /IAcceptExchangeServerLicenseTerms /InstallWindowsComponents