2016年5月10日 星期二

[研究] Exchange Server 2013 with Service Pack 1 (x64) - (Multiple Languages) 郵件伺服器架設 (Windows 2012 R2)

[研究] Exchange Server 2013 with Service Pack 1 (x64) - (Multiple Languages) 郵件伺服器架設 (Windows Server 2012 R2)

2015-05-02

Exchange 2013 必要條件
https://technet.microsoft.com/library/bb691354%28EXCHG.150%29

先不要急著安裝,稍後會把安裝 Exchange 2013 的基本要求合併執行

(一)安裝 Active Directory 和先決條件

1. 安裝 Active Directory

請參考

[研究] Active Directory 網域服務安裝 (Windows Server 2012 R2)
http://shaurong.blogspot.tw/2015/05/active-directory-windows-server-2012-r2.html

2. 安裝 .NET 4.5.2 framework
http://go.microsoft.com/fwlink/p/?LinkId=518380

PS:本來應該接下來安裝 Windows Management 4.0 Framework,Windows Server 2012 R2 已經內建

Windows Management 4.0 Framework(隨附Windows Server 2012 R2)
http://go.microsoft.com/fwlink/p/?LinkId=390234

3.安裝 Remote Tools Administration Pack
開啟 [Windows PowerShell],執行 Install-WindowsFeature RSAT-ADDS

(二) 安裝 Windows Server 2012 R2 先決條件

1. 安裝 Mailbox 或 Client Access server role

1.1 安裝 Windows 元件
開啟 [Windows PowerShell]。執行下列命令來安裝所需的 Windows 元件。
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

1.2. 安裝 Microsoft Unified Communications Managed API 4.0, Core Runtime 64-bit
http://go.microsoft.com/fwlink/p/?linkId=258269

安裝 Microsoft Unified Communications Managed API 4.0, Core Runtime 64-bit 前,必須先安裝 "媒體基礎",否則無法安裝

[研究] 媒體基礎 安裝(Windows Server 2012 R2)
http://shaurong.blogspot.com/2015/05/windows-server-2012-r2.html

若要使用 Windows PowerShell 安裝媒體基礎,請使用下列命令:
Import-Module ServerManager
Install-WindowsFeature Server-Media-Foundation

2.安裝 Edge Transport server role

開啟 [Windows PowerShell]。執行下列命令來安裝所需的 Windows 元件。
Install-WindowsFeature ADLDS

*************************************************************************

上面所有步驟合併為

1.安裝.NET 4.5.2
http://go.microsoft.com/fwlink/p/?LinkId=518380





2.啟動 PowerShell,整合所有 Install-WindowsFeature 命令參數並執行,安裝 "媒體基礎"、Remote Tools Administration Pack、Mailbox 或 Client Access server role、Edge Transport server role,彙整成如下2個命令:

Import-Module ServerManager

Install-WindowsFeature  RSAT-ADDS, 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, Server-Media-Foundation, ADLDS

Success Restart Needed Exit Code      Feature Result
------- -------------- ---------      --------------
True    Yes            SuccessRest... {Active Directory 輕量型目錄服務, 應用程式...
警告: 您必須重新啟動此伺服器才能完成安裝程序。
警告: 若要在伺服器上建立新的 AD LDS 執行個體,請登入目的地伺服器,然後執行「Active Directory
輕量型目錄服務安裝精靈」。如需詳細資訊,請參閱 http://go.microsoft.com/fwlink/?LinkId=224859。





3.安裝 Microsoft Unified Communications Managed API 4.0, Core Runtime 64-bit
http://go.microsoft.com/fwlink/p/?linkId=258269

如果沒先安裝 "媒體基礎",會出現錯誤畫面


安裝畫面




Active Directory 準備

您要用於為 Exchange 2013 準備 Active Directory 的電腦必須滿足一些特定先決條件。
顯示,將會用來準備Active Directory之電腦上的順序安裝下列軟體:
  1. .NET 4.5.2 framework
  2. Windows Management 4.0 Framework(隨附Windows Server 2012 R2)
在 您安裝完上述軟體後,請完成下列步驟,安裝 Remote Tools Administration Pack。
安裝 Remote Tools Administration Pack 之後,您就可以使用此電腦來準備 Active Directory。
如需有關準備 Active Directory 的詳細資訊,請參閱<準備 Active Directory 及網域>。

  1. 開啟 [Windows PowerShell]。
  2. 安裝 Remote Tools Administration Pack。
    • 在 Windows Server 2012 R2 或 Windows Server 2012 電腦上,執行下列命令。
      Install-WindowsFeature RSAT-ADDS
      
    • 在 Windows Server 2008 R2 SP1 電腦上,執行下列命令。
      Add-WindowsFeature RSAT-ADDS
      

Windows Server 2012 R2 和 Windows Server 2012 先決條件

在 Windows Server 2012 R2 或 Windows Server 2012 電腦上安裝 Exchange 2013 所需的先決條件,視您想要安裝的 Exchange 角色而定。閱讀以下與您要安裝的角色相符之區段。

Mailbox 或 Client Access server role

在您想要執行下列其中一個動作的 Windows Server 2012 R2 或 Windows Server 2012 電腦上,
依照本節的指示來安裝先決條件:

  • 僅於電腦上安裝 Mailbox server role。
  • 僅於電腦上安裝 Client Access server role。
  • 在同一台電腦安裝信箱與用戶端存取伺服器角色。
執行下列操作來安裝所需的 Windows 角色和功能:
  1. 開啟 [Windows PowerShell]。
  2. 執行下列命令來安裝所需的 Windows 元件。
    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
    
安裝作業系統角色與功能後,請依照以下顯示順序安裝軟體:
  1. .NET 4.5.2 framework
  2. Windows Management 4.0 Framework(隨附Windows Server 2012 R2)
  3. Microsoft Unified Communications Managed API 4.0, Core Runtime 64-bit

Edge Transport server role

在您想要在電腦上安裝 Edge Transport server role 的 Windows Server 2012 R2 或 Windows Server 2012 上,依照本節的指示來安裝先決條件:
執行下列操作來安裝所需的 Windows 角色和功能:
  1. 開啟 [Windows PowerShell]。
  2. 執行下列命令來安裝所需的 Windows 元件。
    Install-WindowsFeature ADLDS
    
安裝 Microsoft.NET Framework 對應的版本為您要安裝的 Exchange 2013 版本:
  1. .NET 4.5.2 framework
  2. Windows Management 4.0 Framework(隨附Windows Server 2012 R2)

Error:
This computer isn't part of an Active Directory domain.
For more information, visit: http://technet.microsoft.com/library(EXCHG.150)/ms.exch.setupreadiness.ComputerNotPartofDomain.aspx

Error:
The user isn"t logged on to an Active Directory domain.
For more information, visit: http://technet.microsoft.com/library(EXCHG.150)/ms.exch.setupreadiness.LoggedOntoDomain.aspx

Error:
This computer doesn't belong to a valid Active Directory site. Check the site and subnet definitions.
For more information, visit: http://technet.microsoft.com/library(EXCHG.150)/ms.exch.setupreadiness.InvalidADSite.aspx

Error:
There is a pending reboot from a previous installation of a Windows Server role or feature. Please restart the computer and then run Setup again.
For more information, visit: http://technet.microsoft.com/library(EXCHG.150)/ms.exch.setupreadiness.PendingRebootWindowsComponents.aspx

Error:
You must be a member of the 'Organization Management' role group or a member of the 'Enterprise Admins' group to continue.
For more information, visit: http://technet.microsoft.com/library(EXCHG.150)/ms.exch.setupreadiness.GlobalServerInstall.aspx

Error:
You must use an account that's a member of the Organization Management role group to install or upgrade the first Mailbox server role in the topology.
For more information, visit: http://technet.microsoft.com/library(EXCHG.150)/ms.exch.setupreadiness.DelegatedBridgeheadFirstInstall.aspx

Error:
You must use an account that's a member of the Organization Management role group to install the first Client Access server role in the topology.
For more information, visit: http://technet.microsoft.com/library(EXCHG.150)/ms.exch.setupreadiness.DelegatedCafeFirstInstall.aspx

Error:
You must use an account that's a member of the Organization Management role group to install the first Client Access server role in the topology.
For more information, visit: http://technet.microsoft.com/library(EXCHG.150)/ms.exch.setupreadiness.DelegatedFrontendTransportFirstInstall.aspx

Error:
You must use an account that's a member of the Organization Management role group to install or upgrade the first Mailbox server role in the topology.
For more information, visit: http://technet.microsoft.com/library(EXCHG.150)/ms.exch.setupreadiness.DelegatedMailboxFirstInstall.aspx

Error:
You must use an account that's a member of the Organization Management role group to install or upgrade the first Client Access server role in the topology.
For more information, visit: http://technet.microsoft.com/library(EXCHG.150)/ms.exch.setupreadiness.DelegatedClientAccessFirstInstall.aspx

Error:
You must use an account that's a member of the Organization Management role group to install the first Mailbox server role in the topology.
For more information, visit: http://technet.microsoft.com/library(EXCHG.150)/ms.exch.setupreadiness.DelegatedUnifiedMessagingFirstInstall.aspx

Error:
Setup encountered a problem while validating the state of Active Directory: Active Directory server  is not available. Error message: Active directory response: LDAP 伺服器無法使用。  See the Exchange setup log for more information on this error.
For more information, visit: http://technet.microsoft.com/library(EXCHG.150)/ms.exch.setupreadiness.AdInitErrorRule.aspx

Error:
The 'IIS 7 Dynamic Content Compression' component is required. Install the component via Server Manager.
For more information, visit: http://technet.microsoft.com/library(EXCHG.150)/ms.exch.setupreadiness.LonghornIIS7HttpCompressionDynamicNotInstalled.aspx

Error:
The 'IIS 7 Digest Authentication' component is required. Install the component via Server Manager.
For more information, visit: http://technet.microsoft.com/library(EXCHG.150)/ms.exch.setupreadiness.LonghornIIS7DigestAuthNotInstalled.aspx

Error:
The 'IIS 6 WMI Compatibility' component is required. Install the component via Server Manager.
For more information, visit: http://technet.microsoft.com/library(EXCHG.150)/ms.exch.setupreadiness.LonghornIIS6WMICompatibility.aspx

Error:
The 'Client Certificate Mapping Authentication' component is required. Install the component via Server Manager.
For more information, visit: http://technet.microsoft.com/library(EXCHG.150)/ms.exch.setupreadiness.LonghornClientCertificateMappingAuthentication.aspx

Error:
The 'HTTP Redirection' component is required. Install the component via Server Manager.
For more information, visit: http://technet.microsoft.com/library(EXCHG.150)/ms.exch.setupreadiness.LonghornHttpRedirect.aspx

Error:
The 'Tracing' component is required. Install the component via Server Manager.
For more information, visit: http://technet.microsoft.com/library(EXCHG.150)/ms.exch.setupreadiness.LonghornHttpTracing.aspx

Error:
The 'Request Monitor' component is required. Install the component via Server Manager.
For more information, visit: http://technet.microsoft.com/library(EXCHG.150)/ms.exch.setupreadiness.LonghornRequestMonitor.aspx

Error:
This computer requires the Microsoft Unified Communications Managed API 4.0, Core Runtime 64-bit. Please install the software from http://go.microsoft.com/fwlink/?LinkId=260990.
For more information, visit: http://technet.microsoft.com/library(EXCHG.150)/ms.exch.setupreadiness.UcmaRedistMsi.aspx

Error:
Either Active Directory doesn't exist, or it can't be contacted.
For more information, visit: http://technet.microsoft.com/library(EXCHG.150)/ms.exch.setupreadiness.CannotAccessAD.aspx

















(下圖) 點選上圖的 Exchange Administrative Center 可以啟動 Web-Based 管理介面


(下圖) 若是點選 Exchange Management Shell ,畫面如下

(下圖) 因為 VM 只設定 2GB RAM,放了一天沒動,出現記憶體不足的例外

查了一下

記憶體,取決於已安裝的Exchange角色:
https://technet.microsoft.com/zh-tw/library/aa996719(v=exchg.150).aspx
信箱需要 8 GB 最小值
用戶端存取4GB 最小值
Mailbox 和 Client Access 合併使用需要 8 GB 最小值
Edge Transport 4GB 最小值

(完)

沒有留言:

張貼留言