《系统工程师实战培训》

-07-部署邮件系统

-01-Exchange Server 2019 on Win 2019 Core

作者:学 无 止 境

QQ交流群:454544014


07-01-安装-Exchange Server 2019 on Win 2019 Core_第1张图片

07-01-安装-Exchange Server 2019 on Win 2019 Core_第2张图片

07-01-安装-Exchange Server 2019 on Win 2019 Core_第3张图片

https://docs.microsoft.com/zh-cn/Exchange/plan-and-deploy/prerequisites?view=exchserver-2019

http://www.exchangecn.com/exchange2019/20181125_6001.html

//创建共享

\\10.1.1.100\Soft

.NET Framework 4.7.2

Visual C++ Redistributable Packages for Visual Studio 2013

Unified Communications Managed API 4.0

//映射网络共享(在三台Exchange 2019服务器上)

PS C:\> net use M: \\10.1.1.100\Soft /user:i-x-Cloud\administrator

命令成功完成。

07-01-安装-Exchange Server 2019 on Win 2019 Core_第4张图片

用于准备 Active Directory 的 Exchange 2019 必备组件

a. .NET Framework 4.7.2 或更高版本

Windows 2019 Core 不需要安装配置 .NET Framework 4.7.2(默认)

b. Visual C++ Redistributable Packages for Visual Studio 2013

07-01-安装-Exchange Server 2019 on Win 2019 Core_第5张图片

C:\Users\Administrator.i-x-Cloud>net use M: \\10.1.1.100\Soft /user:i-x-Cloud\administrator

命令成功完成。

C:\Users\Administrator.i-x-Cloud>M:

M:\>cd "Visual C++ Redistributable Packages for Visual Studio 2013"

M:\Visual C++ Redistributable Packages for Visual Studio 2013>.\vcredist_x64.exe

07-01-安装-Exchange Server 2019 on Win 2019 Core_第6张图片

07-01-安装-Exchange Server 2019 on Win 2019 Core_第7张图片

07-01-安装-Exchange Server 2019 on Win 2019 Core_第8张图片

Install-WindowsFeature Server-Media-Foundation

07-01-安装-Exchange Server 2019 on Win 2019 Core_第9张图片

c. 安装 Unified Communications Managed API 4.0。

此程序包可供下载并位于 Exchange Server 媒体的 \UCMARedist 文件夹中。

//挂载Exchange 2019 ISO

mu_exchange_server_2019_x64_dvd_5fa4d915.iso

PS Z:\> cd .\UCMARedist\

PS Z:\UCMARedist> .\Setup.exe

PS Z:\UCMARedist>

clip_image020

07-01-安装-Exchange Server 2019 on Win 2019 Core_第10张图片

07-01-安装-Exchange Server 2019 on Win 2019 Core_第11张图片

07-01-安装-Exchange Server 2019 on Win 2019 Core_第12张图片

PowerShell

cd \

Install-WindowsFeature RSAT-ADDS

07-01-安装-Exchange Server 2019 on Win 2019 Core_第13张图片

服务器核心:(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

clip_image030

07-01-安装-Exchange Server 2019 on Win 2019 Core_第14张图片

如果遇到以下情况,请重启,再安装。(有的重启一次,可以。)

如果重启5次不能解决,请退域,再加域(或者恢复快照),再次重做以上步骤。

07-01-安装-Exchange Server 2019 on Win 2019 Core_第15张图片

恢复快照,开机,再做以下步骤后,解决问题。

07-01-安装-Exchange Server 2019 on Win 2019 Core_第16张图片

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

下载软件

Exchange Server 内部版本号和发行日期

https://docs.microsoft.com/zh-cn/Exchange/new-features/build-numbers-and-release-dates?view=exchserver-2019

Get-ExchangeServer | Format-List Name,Edition,AdminDisplayVersion

产品名称 发布日期 内部版本号 (短格式) 内部版本号 (长格式)

Exchange Server 2019 CU1 2019 年 2 月 12 日 15.2.330.5 15.02.0330.005

挂载ISO ,三台机一样操作。

mu_exchange_server_2019_x64_dvd_5fa4d915.ISO

PS C:\Users\Administrator.i-x-Cloud> z:

PS Z:\>

//创建目录,三台机一样操作。

md C:\Program Files\Microsoft\Exchange Server\V15

PowerShell

md D:\'Program Files'

md D:\'Program Files\Microsoft'

md D:\'Program Files\Microsoft\Exchange Server'

md D:\'Program Files\Microsoft\Exchange Server\V15'

07-01-安装-Exchange Server 2019 on Win 2019 Core_第17张图片

安装第1台Exchange 2019

07-01-安装-Exchange Server 2019 on Win 2019 Core_第18张图片

挂载Exchange 2019 IS0

PowerShell

Z:

Extend the Active Directory schema
The first step in getting your organization ready for Exchange 2019 is to extend the Active
Directory schema by running the following command:
“.\Setup.exe /PrepareSchema /IAcceptExchangeServerLicenseTerms”

07-01-安装-Exchange Server 2019 on Win 2019 Core_第19张图片

Prepare Active Directory
The second step that Exchange will create containers, objects, and other items in Active
Directory that Exchange Server will use to store information by running the following command:
“.\Setup.exe /PrepareAD /OrganizationName:”i-x-Cloud” /IAcceptExchangeServerLicenseTerms”

07-01-安装-Exchange Server 2019 on Win 2019 Core_第20张图片

Prepare Active Directory domains
The final step is to prepare the Active Directory domains where Exchange will be installed or
where mail-enabled users will be located by running the following command:
“.\Setup.exe /PrepareAllDomains /IAcceptExchangeServerLicenseTerms”

07-01-安装-Exchange Server 2019 on Win 2019 Core_第21张图片

Installation of Exchange Server 2019
After rebooting the server mount the Exchange Server 2019 ISO image in your VM.
Use the following command to start Exchange Server installation. The PowerShell command will
also install the required OS components for Exchange:
.\Setup.exe /m:install /roles:m /IAcceptExchangeServerLicenseTerms /InstallWindowsComponents //参考

.\Setup.exe /M:Install /Roles:Mailbox /TargetDir:"D:\Program Files\Microsoft\Exchange Server\V15" /IAcceptExchangeServerLicenseTerms /InstallWindowsComponents

12:10 开始

13:45 开始

07-01-安装-Exchange Server 2019 on Win 2019 Core_第22张图片

07-01-安装-Exchange Server 2019 on Win 2019 Core_第23张图片

07-01-安装-Exchange Server 2019 on Win 2019 Core_第24张图片

重启

https://051-ex01.i-x-cloud.com/ECP

07-01-安装-Exchange Server 2019 on Win 2019 Core_第25张图片

07-01-安装-Exchange Server 2019 on Win 2019 Core_第26张图片

07-01-安装-Exchange Server 2019 on Win 2019 Core_第27张图片

07-01-安装-Exchange Server 2019 on Win 2019 Core_第28张图片

07-01-安装-Exchange Server 2019 on Win 2019 Core_第29张图片

07-01-安装-Exchange Server 2019 on Win 2019 Core_第30张图片

07-01-安装-Exchange Server 2019 on Win 2019 Core_第31张图片

//新建发送连接器

07-01-安装-Exchange Server 2019 on Win 2019 Core_第32张图片

07-01-安装-Exchange Server 2019 on Win 2019 Core_第33张图片

07-01-安装-Exchange Server 2019 on Win 2019 Core_第34张图片

07-01-安装-Exchange Server 2019 on Win 2019 Core_第35张图片

07-01-安装-Exchange Server 2019 on Win 2019 Core_第36张图片

07-01-安装-Exchange Server 2019 on Win 2019 Core_第37张图片

07-01-安装-Exchange Server 2019 on Win 2019 Core_第38张图片

07-01-安装-Exchange Server 2019 on Win 2019 Core_第39张图片

07-01-安装-Exchange Server 2019 on Win 2019 Core_第40张图片

07-01-安装-Exchange Server 2019 on Win 2019 Core_第41张图片

07-01-安装-Exchange Server 2019 on Win 2019 Core_第42张图片

安装第2台Exchange 2019

07-01-安装-Exchange Server 2019 on Win 2019 Core_第43张图片

挂载Exchange 2019 IS0

PowerShell

C:

Z:

Installation of Exchange Server 2019
After rebooting the server mount the Exchange Server 2019 ISO image in your VM.
Use the following command to start Exchange Server installation. The PowerShell command will
also install the required OS components for Exchange:
.\Setup.exe /m:install /roles:m /IAcceptExchangeServerLicenseTerms /InstallWindowsComponents

.\Setup.exe /M:Install /Roles:Mailbox /TargetDir:"D:\Program Files\Microsoft\Exchange Server\V15" /IAcceptExchangeServerLicenseTerms /InstallWindowsComponents

07-01-安装-Exchange Server 2019 on Win 2019 Core_第44张图片

重启

https://052-ex02.i-x-cloud.com/ecp

[email protected]

07-01-安装-Exchange Server 2019 on Win 2019 Core_第45张图片

07-01-安装-Exchange Server 2019 on Win 2019 Core_第46张图片

07-01-安装-Exchange Server 2019 on Win 2019 Core_第47张图片

07-01-安装-Exchange Server 2019 on Win 2019 Core_第48张图片

07-01-安装-Exchange Server 2019 on Win 2019 Core_第49张图片

07-01-安装-Exchange Server 2019 on Win 2019 Core_第50张图片

07-01-安装-Exchange Server 2019 on Win 2019 Core_第51张图片

07-01-安装-Exchange Server 2019 on Win 2019 Core_第52张图片

07-01-安装-Exchange Server 2019 on Win 2019 Core_第53张图片

07-01-安装-Exchange Server 2019 on Win 2019 Core_第54张图片

07-01-安装-Exchange Server 2019 on Win 2019 Core_第55张图片

07-01-安装-Exchange Server 2019 on Win 2019 Core_第56张图片

07-01-安装-Exchange Server 2019 on Win 2019 Core_第57张图片

07-01-安装-Exchange Server 2019 on Win 2019 Core_第58张图片

07-01-安装-Exchange Server 2019 on Win 2019 Core_第59张图片

安装第3台Exchange 2019

挂载Exchange 2019 IS0

PowerShell

C:

Z:

Installation of Exchange Server 2019
After rebooting the server mount the Exchange Server 2019 ISO image in your VM.
Use the following command to start Exchange Server installation. The PowerShell command will
also install the required OS components for Exchange:
.\Setup.exe /m:install /roles:m /IAcceptExchangeServerLicenseTerms /InstallWindowsComponents

.\Setup.exe /M:Install /Roles:Mailbox /TargetDir:"D:\Program Files\Microsoft\Exchange Server\V15" /IAcceptExchangeServerLicenseTerms /InstallWindowsComponents

07-01-安装-Exchange Server 2019 on Win 2019 Core_第60张图片

https://053-ex03.i-x-cloud.com/ecp

[email protected]

07-01-安装-Exchange Server 2019 on Win 2019 Core_第61张图片

07-01-安装-Exchange Server 2019 on Win 2019 Core_第62张图片

07-01-安装-Exchange Server 2019 on Win 2019 Core_第63张图片

07-01-安装-Exchange Server 2019 on Win 2019 Core_第64张图片

07-01-安装-Exchange Server 2019 on Win 2019 Core_第65张图片

07-01-安装-Exchange Server 2019 on Win 2019 Core_第66张图片

07-01-安装-Exchange Server 2019 on Win 2019 Core_第67张图片

07-01-安装-Exchange Server 2019 on Win 2019 Core_第68张图片

07-01-安装-Exchange Server 2019 on Win 2019 Core_第69张图片

07-01-安装-Exchange Server 2019 on Win 2019 Core_第70张图片

07-01-安装-Exchange Server 2019 on Win 2019 Core_第71张图片

07-01-安装-Exchange Server 2019 on Win 2019 Core_第72张图片

07-01-安装-Exchange Server 2019 on Win 2019 Core_第73张图片

关机

快照

011-DC01

012-DC02

013-DC03

021-CA01

031-WSUS01

041-OOS01

051-Ex01

052-Ex02

053-Ex03

100-Admin01

006-041-051-052-053-OK

接下去配置3台Exchange 2016服务器,以及高可用。


本文已完成!