https://developer.aliyun.com/article/1378125
https://cloud.tencent.com/developer/news/1315685
Install-WindowsFeature NET-Framework-45-Features, Server-Media-Foundation, RPC-over-HTTP-proxy, RSAT-Clustering, RSAT-Clustering-CmdInterface, RSAT-Clustering-Mgmt, 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-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
https://dotnet.microsoft.com/zh-cn/download/dotnet-framework/thank-you/net48-web-installer
下载完后文件名为:ndp48-web.exe
安装Visual C++ Redistributable Package for Visual Studio 2013,下载地址:
https://www.microsoft.com/zh-CN/download/details.aspx?id=40784
下载完后文件名为:vcredist_x64.exe
安装Microsoft统一通信托管API 4.0 核心运行时(64 位),下载地址:
https://www.microsoft.com/zh-CN/download/details.aspx?id=34992
下载后文件名为:UcmaRuntimeSetup.exe
安装完以上软件后,重启服务器
三、安装Exchange Server 2016
版本:ExchangeServer2016-x64-cu18.iso
https://www.microsoft.com/zh-cn/download/confirmation.aspx?id=102114
下载iso文件后,用压缩软件解压,会自动将所有安装文件释放出来,双击setup.exe
Error:
The following error was generated when "KaTeX parse error: Expected '}', got 'EOF' at end of input: …ce MpsSvc* | ?{_.Name -eq ‘MpsSvc’})
{
Set-Service MpsSvc -StartupType Automatic
Start-SetupService -ServiceName MpsSvc
}
" was run: “Microsoft.PowerShell.Commands.ServiceCommandException: Service ‘Windows Defender Firewall (MpsSvc)’ cannot be configured due to the following error: Access is denied —> System.ComponentModel.Win32Exception: Access is denied
— End of inner exception stack trace —”.
powershell执行:
sc.exe sdset MpsSvc “D:(A;;CCLCLORC;;;AU)(A;;CCDCLCSWRPLOCRWDWO;;;SY)(A;;CCDCLCSWRPLOCRWDWO;;;BA)(A;;CCLCLO;;;BU)S:(AU;FA;CCDCLCSWRPWPDTLOSDRCWDWO;;;WD)”
Set-Service MpsSvc -StartupType Automatic
Start-Service MpsSvc
Error:
The following error was generated when "KaTeX parse error: Expected '}', got 'EOF' at end of input: …ce MpsSvc* | ?{_.Name -eq ‘MpsSvc’})
{
Set-Service MpsSvc -StartupType Automatic
Start-SetupService -ServiceName MpsSvc
}
" was run: “Microsoft.PowerShell.Commands.ServiceCommandException: Service ‘Windows Defender Firewall (MpsSvc)’ cannot be configured due to the following error: Access is denied —> System.ComponentModel.Win32Exception: Access is denied
— End of inner exception stack trace —”.
Install-WindowsFeature Server-Gui-Mgmt-Infra,Server-Gui-Shell -Restart
https://www.microsoft.com/en-us/download/details.aspx?id=105180
Error:
The ‘IIS URL rewrite module’ isn’t installed on this computer and needs to be installed before Exchange Setup can begin.
For more information, visit: https://learn.microsoft.com/Exchange/plan-and-deploy/deployment-ref/ms-exch-setupreadiness-IISURLRewriteNotInstalled?view=exchserver-2019
https://download.microsoft.com/download/1/2/8/128E2E22-C1B9-44A4-BE2A-5859ED1D4592/rewrite_amd64_en-US.msi
重启
https://learn.microsoft.com/zh-cn/exchange/recipients/create-user-mailboxes?view=exchserver-2019
win10:
https://blog.csdn.net/weixin_55935366/article/details/138202000
网络适配器DNS服务器填AD服务器ip
右键点击“此电脑”,选择“属性”。
点击“更改设置”以更改计算机名、域或工作组。
在“系统属性”窗口中,点击“更改”按钮。
选择“域”,输入 cooltoad.com,然后点击“确定”。
提示输入域管理员的用户名和密码,输入后点击“确定”。
如果加入成功,系统会提示你重启计算机。
关一下域防火墙
Set-ClientAccessService -Identity WIN-GINPCGE6JE4 -AutoDiscoverServiceInternalUri https://autodiscover.cooltoad.com/Autodiscover/Autodiscover.xml
发送连接器(Send Connector):
在 EAC 中,导航到邮件流 -> 发送连接器。
创建新的发送连接器,设置使用的地址空间(如 * 代表所有外部邮件)。
配置发送邮件的出站网关或直接使用 MX 记录发送邮件。
Enable-ExchangeCertificate -Thumbprint [Thumbprint of New Certificate] -Services IIS
iisreset
https://learn.microsoft.com/zh-cn/exchange/plan-and-deploy/post-installation-tasks/configure-mail-flow-and-client-access?view=exchserver-2019
- 打开 DNS 管理器
登录到您的 Windows Server 2022。
按下 Win + R,输入 dnsmgmt.msc,然后按 Enter,以打开 DNS 管理器控制台。
在左侧的控制台树中,展开您的服务器名称,找到并展开 “正向查找区域”。 - 添加新的 DNS 记录
选择您希望添加 DNS 记录的域(例