Exchange Server 2013 部署(二)部署&常規配置命令[一]
阿新 • • 發佈:2018-05-09
Exchange 2013 部署 ExchangeServer 2013 Exchange部署 命令設置Exchange 在Exchange Server 2013 先決條件滿足後,進行Exchange Server 2013 部署及配置。
1.掛載Exchange Server 2013 鏡像,運行,選擇不檢查更新,下一步
2.選擇下一步
3.選擇我接受條款,下一步
4.選擇不使用默認配置,下一步
5.勾選郵箱角色和客戶訪問角色,下一步
6.選擇安裝路徑,下一步
7.選擇不,下一步
8.選擇安裝
9.等待安裝完成
10.選擇關閉,重新啟動計算機
11.在AD服務器上運行命令添加,mail和autodiscover記錄
15.設置組織傳輸大小為30MB,最大收件人為200人
16.設置所有接收連接器的接收大小為30MB
17.去掉默認接收連接器的匿名權限
18.新建發送連接器,發送限制為30MB
19.設置Outlook AnyWhere
20.設置pop3協議為純文本
21.設置pop服務為自動啟動
1.掛載Exchange Server 2013 鏡像,運行,選擇不檢查更新,下一步
2.選擇下一步
3.選擇我接受條款,下一步
4.選擇不使用默認配置,下一步
5.勾選郵箱角色和客戶訪問角色,下一步
6.選擇安裝路徑,下一步
7.選擇不,下一步
8.選擇安裝
9.等待安裝完成
10.選擇關閉,重新啟動計算機
11.在AD服務器上運行命令添加,mail和autodiscover記錄
Add-DnsServerResourceRecordA -ZoneName msftlearn.com -Name mail -IPv4Address 192.168.10.200 Add-DnsServerResourceRecordA -ZoneName msftlearn.com -Name autodiscover -IPv4Address 192.168.10.200
12.使用命令創建接受域New-AcceptedDomain -Name msftlearn.com -DomainName msftlearn.com -DomainType Authoritative
13.使命令創建電子郵件地址策略New-EmailAddressPolicy -Name EmailAddress -IncludedRecipients MailboxUsers -EnabledPrimarySMTPAddressTemplate %[email protected]
14.應用電子郵件地址策略Update-EmailAddressPolicy -Identity EmailAddress
15.設置組織傳輸大小為30MB,最大收件人為200人
Set-TransportConfig -MaxReceiveSize 30MB -MaxSendSize 30MB -MaxRecipientEnvelopeLimit 200
16.設置所有接收連接器的接收大小為30MB
Set-TransportConfig -MaxReceiveSize 30MB -MaxSendSize 30MB -MaxRecipientEnvelopeLimit 200
17.去掉默認接收連接器的匿名權限
Get-ReceiveConnector "Default Frontend SRV12-EX1301" | Set-ReceiveConnector -PermissionGroups ExchangeLegacyServers,ExchangeServers
18.新建發送連接器,發送限制為30MB
New-SendConnector -Name "To Internet" -Internet -MaxMessageSize 30MB -AddressSpaces * -SourceTransportServers "Srv12-ex1301.msftlearn.local"
19.設置Outlook AnyWhere
Get-OutlookAnywhere | Set-OutlookAnywhere -SSLOffloading $true -InternalHostname "mail.msftlearn.com" -ExternalClientsRequireSsl $true -ExternalHostname "mail.msftlearn.com" -InternalClientsRequireSsl $true -InternalClientAuthenticationMethod Basic -ExternalClientAuthenticationMethod Basic
20.設置pop3協議為純文本
Set-PopSettings -Server Srv12-ex1301 -LoginType PlainTextLogin
21.設置pop服務為自動啟動
Set-Service MSExchangePop3 -StartupType Automatic
Set-Service MSExchangePOP3BE -StartupType Automatic
22.啟動POP服務Start-Service MSExchangePop3*
23.設置IMAP協議為純文本Set-ImapSettings -Server Srv12-ex1301 -LoginType PlainTextLogin
24.設置IMAP協議為自動啟動
Set-Service MSExchangeImap4 -StartupType Automatic
set-service MSExchangeIMAP4BE -StartupType Automatic
25.啟動IMAP服務Start-Service MSExchangeImap4*
26.新建數據庫並為數據庫設置脫機地址薄New-MailboxDatabase -Name DB01 -Server Srv12-ex1301 -EdbFilePath C:\DB\DB01.edb -LogFolderPath C:\DB -OfflineAddressBook "Default Offline Address Book"
27.掛載數據庫Mount-Database -Identity DB01
28.批量設置虛擬目錄
Get-OwaVirtualDirectory | Set-OwaVirtualDirectory -InternalUrl https://mail.msftlearn.com/owa -ExternalUrl https://mail.msftlearn.com/owa -LogonFormat UserName -DefaultDomain msftlearn.local
Get-EcpVirtualDirectory | Set-EcpVirtualDirectory -InternalUrl https://mail.msftlearn.com/ecp -ExternalUrl https://mail.msftlearn.com/ecp
Get-ActiveSyncVirtualDirectory | Set-ActiveSyncVirtualDirectory -InternalUrl https://mail.msftlearn.com/Microsoft-Server-ActiveSync -ExternalUrl https://mail.msftlearn.com/Microsoft-Server-ActiveSync
Get-WebServicesVirtualDirectory | Set-WebServicesVirtualDirectory -InternalUrl https://mail.msftlearn.com/EWS/Exchange.asmx -ExternalUrl https://mail.msftlearn.com/EWS/Exchange.asmx
Get-OabVirtualDirectory | Set-OabVirtualDirectory -InternalUrl https://mail.msftlearn.com/oab -ExternalUrl https://mail.msftlearn.com/oab
Get-PowerShellVirtualDirectory | Set-PowerShellVirtualDirectory -InternalUrl http://mail.msftlearn.com/powershell -ExternalUrl https://mail.msftlearn.com/powershell
Get-ClientAccessServer | Set-ClientAccessServer -AutoDiscoverServiceInternalUri https://mail.msftlearn.local/Autodiscover/Autodiscover.xml
未完待續。。。。
Exchange Server 2013 部署(二)部署&常規配置命令[一]