Install Exchange 2019 on Windows Server 2019 Core
1.Install Windows Server 2019 Corehttp://i2.运维网.com/images/blog/201812/25/4b5c6c73c2d0248fe1ea9b3a8afe9778.png
http://i2.运维网.com/images/blog/201812/25/a263b80ed21c5bb1002968a7724eebb7.png
http://i2.运维网.com/images/blog/201812/25/3e8328faf324f2275bf67985ae3cb0de.png
Run sconfig.cmd to configure the server (in this order):
[*]2) Change Computer Name and restart. You must do this first if you're recovering an existing Exchange 2019 server.
[*]8) Configure Network Settings (it's currently using DHCP). Set static IP, netmask, and default gateway. Then configure the DNS Servers.
[*]7) Enable Remote Desktop (optional)
[*]5) Configure Windows Update Settings (Automatic, DownloadOnly, or Manual)
[*]6) Download and Install Updates
[*]10) Configure Telemetry settings (optional)
[*]1) Change Domain/Workgroup to join a domain. Restart.
http://i2.运维网.com/images/blog/201812/25/2cfb28780fc6a28ada4b838c5e56cd3d.png
install on win2019 Server Core:
Install-WindowsFeature Server-Media-Foundation, NET-Framework-45-Features, RPC-over-HTTP-proxy, RSAT-Clustering, RSAT-Clustering-CmdInterface, RSAT-Clustering-PowerShell, 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-Metabase, Web-Mgmt-Service, Web-Net-Ext45, Web-Request-Monitor, Web-Server, Web-Stat-Compression, Web-Static-Content, Web-Windows-Auth, Web-WMI, RSAT-ADDS
http://i2.运维网.com/images/blog/201812/25/f318c3a48e37c0ceb5f48e1f285f44be.png
Setup will tell you to download UCMA 4.0 from a URL, but that setup won't work on Server Core. Instead, install the version included in the Exchange Server 2019 ISO in the UCMARedist folder.
http://i2.运维网.com/images/blog/201812/25/f65bdbecfe234c6faa91770b913ac457.png
http://i2.运维网.com/images/blog/201812/25/cbf56e5033af89c9ad13cf60c765d74d.png
http://i2.运维网.com/images/blog/201812/25/6631408bd1dca24bbfaa390395fd86c7.png
1)扩展 AD
.\Setup.exe /PrepareSchema /IAcceptExchangeServerLicenseTerms
http://i2.运维网.com/images/blog/201812/25/88b937266b21da1fc4376cbbbacd358d.png
失败的原因是forest level 要win 2012 r2 以上:
下面去提升森林和域的级别:
http://i2.运维网.com/images/blog/201812/25/b53df6391749263a4d2d5dc2ac85bb02.png
http://i2.运维网.com/images/blog/201812/25/b247327fe9086d986d3c1c3bf64fdd93.png
http://i2.运维网.com/images/blog/201812/25/bec6d81a24f7eaeab0a8a7c2daebdd44.png
重新运行扩展:
http://i2.运维网.com/images/blog/201812/25/a259a45aa4b68bd1dedb8235ba1a7218.png
AD架构扩展完成。
.\Setup.exe /PrepareAD /OrganizationName:"NOS" /IAcceptExchangeServerLicenseTerms
http://i2.运维网.com/images/blog/201812/25/a53fe00608a94b737ba7279a2e35bab2.png
组织准备完成后,就可以安装了:
d:\Setup.exe /m:install /roles:m /IAcceptExchangeServerLicenseTerms /InstallWindowsComponents /CustomerFeedbackEnabled:false
http://i2.运维网.com/images/blog/201812/25/db4f8dfeca13493984b8f8010375e37a.png
没有安装 visual c++ 2013:https://www.microsoft.com/download/details.aspx?id=40784
Start-BitsTransfer -Source https://download.microsoft.com/download/2/E/6/2E61CFA4-993B-4DD4-91DA-3737CD5CD6E3/vcredist_x64.exe -Destination c:\vcredist_x64.exe
c:\vcredist_x64.exe
http://i2.运维网.com/images/blog/201812/25/e1bf7fd0d369369cd2d1dbd79f47e486.png
http://i2.运维网.com/images/blog/201812/25/b73103be2cb803bff94236c51f6801b2.png
http://i2.运维网.com/images/blog/201812/25/145a2d4e034a6d6d6b94207bf831ffb8.png
重新运行安装Exchange 2019
http://i2.运维网.com/images/blog/201812/25/03be20b7e211a55ac2d9c0ef94035e78.png
重新启动服务器:
shutdown –r –t 0
再次重新运行安装:d:\Setup.exe /m:install /roles:m /IAcceptExchangeServerLicenseTerms /InstallWindowsComponents /CustomerFeedbackEnabled:false
http://i2.运维网.com/images/blog/201812/25/1a7d8686ddb2f662212c4124f35c2159.png
http://i2.运维网.com/images/blog/201812/25/2c3d335c2c097195d1153cc539cf1d22.png
经过漫长的等待,安装完成。按要求重启。
Before you can run Exchange Powershell commands from a regular Powershell console, you need to do the following:
[*]Install the Exchange Management Tools (if not already installed) from the Exchange installation media
[*]Import the Exchange module into your Powershell session
The command to import the Exchange modules is different for each version – use the appropriate command below:
Exchange 2007
Add-PSSnapin Microsoft.Exchange.Management.PowerShell.Admin;
Exchange 2010
Add-PSSnapin Microsoft.Exchange.Management.PowerShell.E2010;
Exchange 2013 & 2016&2019
Add-PSSnapin Microsoft.Exchange.Management.PowerShell.SnapIn;
. Post-Installation Tasks:
Add-PSSnapin Microsoft.Exchange.Management.PowerShell.SnapIn; Set-ExchangeServer veeam-ex19 -ProductKey G3FMN-FGW6B-MQ9VW-YVFV8-292KP
Restart-Service MSExchangeIS
页:
[1]