Windows Server + Exchange +office365 Hybrid deployment (i)
Long time no some blog, recently busy with other work, so take some time to hurry to write a few articles about Office365, hoping to help the needy friends; in fact, Office365 has been out for a long period, My previous article also wrote a number of articles about Azure and Office365, but later in the country (21st century connected) Azure and Office365 have updated versions, some of which have changed a bit. So here we re-comb, at the same time compare the difference between the pre-update and after the update, we have a few articles behind us mainly introduce Office365 and local exchange to do hybrid deployment, while configuring ADFS for single Sign-on, and so on, today this article we first prepare the next pre-mail environment, specifically see below:
Hostname:g-dc
DomainName:byssoft.com
ip:192.168.5.61
Role:ad, DNS, CA
Hostname:g-ex
ip:192.168.5.62
role:exchange2016
Hostname:g-sync
ip:192.168.5.63
Role:azure Active Directory Connect
Hostname:g-adfs
ip:192.168.5.65
Role:adfs
Because the environment above is relatively simple, the configuration skips the
DC Environment we have configured the relevant policies and user account information;
We will synchronize the specified OU later
650) this.width=650; "title=" image "style=" border-top:0px;border-right:0px;background-image:none;border-bottom:0 px;padding-top:0px;padding-left:0px;border-left:0px;margin:0px;padding-right:0px; "border=" 0 "alt=" image "src=" Http://s3.51cto.com/wyfs02/M01/06/1E/wKiom1myATnTSF3TAAFKW1O0v5U698.png "height=" 378 "/>
Then we look at the Exchange Server and we install all the services on a single machine for testing, and the prerequisites for installing Exchange;
Https://technet.microsoft.com/zh-cn/library/bb691354.aspx#WS2016MBX
It is not possible to install the original version of ExchangeServer2016 directly on the WindowsServer2016. You must use ExchangeServer2016 CU3 above, CU3 is cumulative update 3. This person is directly loaded CU5. So we download the latest version directly
exchange2016 CU5 installation files;
http://www.microsoft.com/zh-CN/download/details.aspx?id=54930
Preparing the installation role
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
Install the following tools first
https://www.microsoft.com/zh-cn/download/details.aspx?id=53344
Because Windows Server 2016 already has the latest version of the. NET schema installed, you can do so without installing
Then install the following tools
https://www.microsoft.com/zh-cn/download/details.aspx?id=34992
650) this.width=650; "title=" image "style=" border-top:0px;border-right:0px;background-image:none;border-bottom:0 px;padding-top:0px;padding-left:0px;border-left:0px;margin:0px;padding-right:0px; "border=" 0 "alt=" image "src=" Http://s3.51cto.com/wyfs02/M02/06/1E/wKiom1myAT6jhPXFAAEDtDQJ3ys789.png "height=" 465 "/>
Start installing exchange2016 CU5
650) this.width=650; "title=" image "style=" border-top:0px;border-right:0px;background-image:none;border-bottom:0 px;padding-top:0px;padding-left:0px;border-left:0px;margin:0px;padding-right:0px; "border=" 0 "alt=" image "src=" Http://s3.51cto.com/wyfs02/M01/06/1E/wKiom1myAT6yMle1AACpPOqLzWw514.png "height=" 484 "/>
Prompt error, we are looking at one less patch file
650) this.width=650; "title=" image "style=" border-top:0px;border-right:0px;background-image:none;border-bottom:0 px;padding-top:0px;padding-left:0px;border-left:0px;margin:0px;padding-right:0px; "border=" 0 "alt=" image "src=" Http://s3.51cto.com/wyfs02/M01/A4/CF/wKioL1myAR2gtWahAAGNMg9l-bw636.png "height=" 484 "/>
We look at the error
650) this.width=650; "title=" image "style=" border-top:0px;border-right:0px;background-image:none;border-bottom:0 px;padding-top:0px;padding-left:0px;border-left:0px;margin:0px;padding-right:0px; "border=" 0 "alt=" image "src=" Http://s3.51cto.com/wyfs02/M00/06/1E/wKiom1myAT_z4BhiAADICqD3doY107.png "height="/>
We will update the system to the latest problem resolution and continue the installation through the system's own system update;
650) this.width=650; "title=" image "style=" border-top:0px;border-right:0px;background-image:none;border-bottom:0 px;padding-top:0px;padding-left:0px;border-left:0px;padding-right:0px; "border=" 0 "alt=" image "src=" http:// S3.51cto.com/wyfs02/m01/06/1e/wkiom1myat_hfnv_aabujgd7yak749.png "height=" 484 "/>
Installation Complete
650) this.width=650; "title=" image "style=" border-top:0px;border-right:0px;background-image:none;border-bottom:0 px;padding-top:0px;padding-left:0px;border-left:0px;margin:0px;padding-right:0px; "border=" 0 "alt=" image "src=" Http://s3.51cto.com/wyfs02/M02/06/1E/wKiom1myAUDBhGmSAABfwIlDbHE975.png "height=" 289 "/>
Here we have the main two aspects, the first one is to create a send linker;
650) this.width=650; "title=" image "style=" border-top:0px;border-right:0px;background-image:none;border-bottom:0 px;padding-top:0px;padding-left:0px;border-left:0px;margin:0px;padding-right:0px; "border=" 0 "alt=" image "src=" Http://s3.51cto.com/wyfs02/M01/A4/CF/wKioL1myAR_xCJvQAACPLw588JY886.png "height=" 484 "/>
650) this.width=650; "title=" image "style=" border-top:0px;border-right:0px;background-image:none;border-bottom:0 px;padding-top:0px;padding-left:0px;border-left:0px;margin:0px;padding-right:0px; "border=" 0 "alt=" image "src=" Http://s3.51cto.com/wyfs02/M00/06/1E/wKiom1myAUGix5GbAAC1sPM3zpo159.png "height=" 484 "/>
650) this.width=650; "title=" image "style=" border-top:0px;border-right:0px;background-image:none;border-bottom:0 px;padding-top:0px;padding-left:0px;border-left:0px;margin:0px;padding-right:0px; "border=" 0 "alt=" image "src=" Http://s3.51cto.com/wyfs02/M01/06/1E/wKiom1myAULxj9UpAAC1z0eqoko563.png "height=" 484 "/>
The other is to create a certificate, because we want to do a hybrid deployment, so the certificate must be public network trusted, so we need to apply for a certificate on the public network;
After applying for the certificate, we start importing to the server.
650) this.width=650; "title=" image "style=" border-top:0px;border-right:0px;background-image:none;border-bottom:0 px;padding-top:0px;padding-left:0px;border-left:0px;margin:0px;padding-right:0px; "border=" 0 "alt=" image "src=" Http://s3.51cto.com/wyfs02/M01/06/1E/wKiom1myAUWjQCyNAACGJoLjnc8233.png "height="/>
650) this.width=650; "title=" image "style=" border-top:0px;border-right:0px;background-image:none;border-bottom:0 px;padding-top:0px;padding-left:0px;border-left:0px;margin:0px;padding-right:0px; "border=" 0 "alt=" image "src=" Http://s3.51cto.com/wyfs02/M02/06/1E/wKiom1myAUbBkv9MAACeNE_-SCQ961.png "height=" 319 "/>
Assigning services
650) this.width=650; "title=" image "style=" border-top:0px;border-right:0px;background-image:none;border-bottom:0 px;padding-top:0px;padding-left:0px;border-left:0px;padding-right:0px; "border=" 0 "alt=" image "src=" http:// S3.51cto.com/wyfs02/m01/a4/cf/wkiol1myasxsomjcaacm54wgwue259.png "height=" 294 "/>
After the import, is to begin to modify the acceptance of the linker, turn on the anonymous check, if not checked, will not receive external mail;
We need to open the anonymous check of two connectors that start with default X
650) this.width=650; "title=" image "style=" border-top:0px;border-right:0px;background-image:none;border-bottom:0 px;padding-top:0px;padding-left:0px;border-left:0px;margin:0px;padding-right:0px; "border=" 0 "alt=" image "src=" Http://s3.51cto.com/wyfs02/M02/06/1E/wKiom1myAUfSOUPLAAC50FsmNLI892.png "height=" 311 "/>
650) this.width=650; "title=" image "style=" border-top:0px;border-right:0px;background-image:none;border-bottom:0 px;padding-top:0px;padding-left:0px;border-left:0px;margin:0px;padding-right:0px; "border=" 0 "alt=" image "src=" Http://s3.51cto.com/wyfs02/M02/A4/CF/wKioL1myASeiGRg6AACtT341YxQ158.png "height=" 484 "/>
After saving, we can start to test the internal and external send and receive mail;
We first create a DNS record before sending the message;
650) this.width=650; "title=" image "style=" border-top:0px;border-right:0px;background-image:none;border-bottom:0 px;padding-top:0px;padding-left:0px;border-left:0px;margin:0px;padding-right:0px; "border=" 0 "alt=" image "src=" Http://s3.51cto.com/wyfs02/M00/A4/CF/wKioL1myATTgcVbsAAG0G18cyC8367.png "height=" 386 "/>
First Test sent to QQ mailbox from U1
650) this.width=650; "title=" image "style=" border-top:0px;border-right:0px;background-image:none;border-bottom:0 px;padding-top:0px;padding-left:0px;border-left:0px;padding-right:0px; "border=" 0 "alt=" image "src=" http:// S3.51cto.com/wyfs02/m00/a4/cf/wkiol1myatxrw_k_aadse6usnii481.png "height=" "/>"
QQ Mailbox Received mail
650) this.width=650; "title=" image "style=" border-top:0px;border-right:0px;background-image:none;border-bottom:0 px;padding-top:0px;padding-left:0px;border-left:0px;margin:0px;padding-right:0px; "border=" 0 "alt=" image "src=" Http://s3.51cto.com/wyfs02/M02/06/1E/wKiom1myAVqAMBSfAAGu8cF7PJo742.png "height="/>
QQ Mailbox reply Internal mailbox U1 user
650) this.width=650; "title=" image "style=" border-top:0px;border-right:0px;background-image:none;border-bottom:0 px;padding-top:0px;padding-left:0px;border-left:0px;margin:0px;padding-right:0px; "border=" 0 "alt=" image "src=" Http://s3.51cto.com/wyfs02/M00/06/1E/wKiom1myAYfS2H59AADVHlvl1tQ919.png "height=" 356 "/>
This entire messaging system has been set up to lay the groundwork for our later hybrid deployments. Our next article will cover the configuration of ADFS and sync
This article from "Gao Wenrong" blog, declined reprint!
Windows Server + Exchange +office365 Hybrid deployment (i)