2022年12月12日 星期一

[研究] Exchange Server 2019 電子郵件伺服器(Mail Server)安裝(一)(Windows 2022)

[研究] Exchange Server 2019 電子郵件伺服器(Mail Server)安裝(一)(Windows Server 2022)

2022-12-09

Click圖片可以看100%原始圖

Exchange Server檔 | Microsoft Learn

Exchange Server 2019-Step by Step Installation on Windows Server 2019.pdf
https://gallery.technet.microsoft.com/office/Exchange-Server-2019-Step-d6f6fc48/file/205474/1/Exchange%20Server%202019-Step%20by%20Step%20Installation%20on%20Windows%20Server%202019.pdf

Exchange 2019 架構
https://docs.microsoft.com/zh-tw/Exchange/architecture/architecture?view=exchserver-2019

Exchange Server 2019 安裝
https://technet.microsoft.com/zh-tw/library/mt170645(v=exchg.160).aspx
https://docs.microsoft.com/zh-tw/Exchange/exchange-server?view=exchserver-2019
https://gallery.technet.microsoft.com/office/Exchange-Server-2019-Step-d6f6fc48

下載
https://docs.microsoft.com/zh-tw/exchange/exchange-server?view=exchserver-2019

系統需求
https://technet.microsoft.com/zh-tw/library/aa996719(v=exchg.160).aspx
https://docs.microsoft.com/zh-tw/Exchange/plan-and-deploy/system-requirements?view=exchserver-2019
.NET Framework 需要 4.7.2 版
Mailbox: 128GB minimum recommended (系統效能不足時,有時候會出現「要求已經逾時」的畫面,2 vCPU + 10GB vRAM 的 VM 可能會如此)

安裝先決條件
https://technet.microsoft.com/zh-tw/library/bb691354(v=exchg.160).aspx
https://docs.microsoft.com/zh-tw/Exchange/plan-and-deploy/prerequisites?view=exchserver-2019

這裡要注意一下,網頁上說執行 Install-WindowsFeature RSAT-ADDS 安裝 AD,這是在已經有 AD 主機和 AD 環境的情況下

如果目前沒有 AD 環境,測試安裝的這台要當 AD 主機 + Exchange Server 2019,要先在 PowerShell 執行 Install-WindowsFeature  AD-Domain-Services 來安裝 AD,然後再  Install-WindowsFeature RSAT-ADDS。

前一次因此安裝出問題

[研究] Exchange Server 2016 安裝 (Windows 2012 R2)(失敗)
http://shaurong.blogspot.tw/2016/05/exchange-server-2016-windows-2012-r2.html

1.安裝 .NET 4.7.2

Exchange Server 2019 只支援 .NET Framework 4.7.2,不支援更早版本。
Windows Server 2019 預設已經安裝 .NET Framework 4.7.2,所以不用再安裝。

2.安裝 AD

在 PowerShell 執行 Install-WindowsFeature  AD-Domain-Services 來安裝 AD (註1),然後再  Install-WindowsFeature RSAT-ADDS (註2)。

[研究] Install-WindowsFeature RSAT-ADDS 在伺服器管理員安裝畫面勾選了甚麼

(下圖)Windows Server 2022上



(註1) 用圖形介面安裝亦可
[研究] Active Directory 網域服務安裝 (Windows Server 2019)
https://shaurong.blogspot.com/2018/12/active-directory-windows-server-2019.html




(註2)
在 PowerShell 執行下面命令
Install-WindowsFeature RSAT-ADDS





[研究] Install-WindowsFeature RSAT-ADDS 在伺服器管理員安裝畫面勾選了甚麼
http://shaurong.blogspot.com/2016/05/install-windowsfeature-rsat-adds.html

3.安裝信箱伺服器角色

Install-WindowsFeature 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, RSAT-ADDS


4.安裝 Unified Communications Managed API 4.0 Runtime (UCMA)
https://www.microsoft.com/zh-tw/download/details.aspx?id=34992






下載安裝
Visual C++ Redistributable Packages for Visual Studio 2013
https://www.microsoft.com/en-us/download/details.aspx?id=40784


安裝 IIS URL 重寫模組

6.放入 Exchange Server 2019 iso

6.1 Extend the Active Directory schema 安裝

「系統管理員:命令提示字元」下,執行
Setup.exe /PrepareSchema /IAcceptExchangeServerLicenseTerms

如果是 Exchange Server 2019 CU12 版 (累績更新 12 版),參數為
Setup.exe /PrepareSchema /IAcceptExchangeServerLicenseTerms_DiagnosticDataON





電腦必須重新啟動才可以繼續安裝程式
http://technet.microsoft.com/library(EXCHG.150)/ms.exch.setupreadiness.RebootPending.aspx


6.2 Prepare Active Directory 安裝

「系統管理員:命令提示字元」下,執行
Setup.exe /PrepareAD /OrganizationName:”MSTechGuru” /IAcceptExchangeServerLicenseTerms

Exchange Server 2019 CU12 請改執行
Setup.exe /PrepareAD /OrganizationName:"MSTechGuru" /IAcceptExchangeServerLicenseTerms_DiagnosticDataON

未偵測到 Exchange 2013 伺服器 [NoE15ServerWarning]
http://technet.microsoft.com/library(EXCHG.150)/ms.exch.setupreadiness.NoE15ServerWarning.aspx



6.3 Prepare Active Directory domains 安裝

「系統管理員:命令提示字元」下,執行
Setup.exe /PrepareAllDomains /IAcceptExchangeServerLicenseTerms

Exchange Server 2019 CU12版請改用
Setup.exe /PrepareAllDomains /IAcceptExchangeServerLicenseTerms_DiagnosticDataON






6.4 開始安裝 Exchange Server 2019

























**********



Exchange Server 安裝後工作
2022/11/09


**********

建議可直接看這篇,不用 PowerShell

[研究] Exchange Server 2019 v15.2電子郵件伺服器(Mail Server)安裝(二)(Windows 2022)

(完)

相關

[研究]Exchange Server 2019 v15.2電子郵件伺服器(Mail Server)安裝(二)(Windows 2022)

[研究]Exchange Server 2019 電子郵件伺服器(Mail Server)安裝(一)(Windows 2022)

[研究]Exchange Server 2019 v15電子郵件伺服器(Mail Server)安裝必要條件 (Windows 2022)
https://shaurong.blogspot.com/2022/12/exchange-server-2019-v15-mail-server.html

[研究] Exchange Server 2019 郵件伺服器 (Mail Server) 安裝 (Windows Server 2019)
https://shaurong.blogspot.com/2018/12/exchange-server-2019-mail-server.html

[研究] Exchange Server 2016 郵件伺服器 (Mail Server) 安裝 (Windows 2012 R2)
http://shaurong.blogspot.com/2016/05/exchange-server-2016-windows-2012-r2_13.html

[研究 Exchange Server 2013 with Service Pack 1 郵件伺服器 (Mail Server) 安裝 (Windows 2012 R2)
http://shaurong.blogspot.com/2016/05/exchange-server-2013-with-service-pack.html


沒有留言:

張貼留言