Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Install exchange 2013 cu23 on

2025-03-28 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/03 Report--

1.1 deployment and configuration of Exchange server 2013 server

Install Exchange 2013 under windows server 2012:

1) system component preparation (execute the following command in Windows Server 2012 PowerShell)

Install-WindowsFeature AS-HTTP-Activation, Desktop-Experience, NET-Framework-45-Features, RPC-over-HTTP-proxy, RSAT-Clustering, RSAT-Clustering-CmdInterface, 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-Restart

Nip-exch23

Execute the following command in Windows Server 2008 R2 PowerShell

Powershell:

Import-Module ServerManager

Add-WindowsFeature Desktop-Experience, NET-Framework, NET-HTTP-Activation, RPC-over-HTTP-proxy, RSAT-Clustering, RSAT-Web-Server, WAS-Process-Model, Web-Asp-Net, 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-Ext, Web-Request-Monitor, Web-Server, Web-Stat-Compression, Web-Static-Content, Web-Windows-Auth, Web-WMI, RSAT-ADDS-Restart

Start-BitsTransfer-Source http://download.microsoft.com/download/2/C/4/2C47A5C1-A1F3-4843-B9FE-84C0032C61EC/UcmaRuntimeSetup.exe-Destination c:\ temp

C:\ temp\ UcmaRuntimeSetup.exe / Q

Install Visual C++ 2013 Redistributable Package

Install Windows6.1-KB974405-x64.msu

Install Windows6.1-KB2819745-x64-MultiPkg

.\ Setup.exe / PrepareSchema / IacceptExchangeServerLicenseTerms

.\ Setup.exe / PrepareAD / IacceptExchangeServerLicenseTerms

.\ Setup.exe / PrepareDomain / IAcceptExchangeServerLicenseTerms

Mkdir C:\ Exchange\ v15\ MDB\ DBFiles

Mkdir C:\ Exchange\ v15\ MDB\ LogFiles

.\ Setup.exe / Mode:Install / Roles:Mailbox,ClientAccess / Mdbname:MDB13 / DbFilePath:C:\ Exchange\ v15\ MDB\ DBFiles\ MDB13.edb / LogFolderPath:C:\ Exchange\ v15\ MDB\ LogFiles / DomainController:nip-dc01 / InstallWindowsComponents / IAcceptExchangeServerLicenseTerms

Set-exchangeserver-Identity 'NIP-EXCH13'-ProductKey' CPJFG-C9D94-J7F4K-T9Q48-FWKP7'

4) Configuring SSL certificates

$Data = New-ExchangeCertificate-FriendlyName "NIP ExchangeCertificate"-GenerateRequest-SubjectName "c=CN, o=NIP, cn=mail.nip.com.cn"-DomainName mail.nip.com.cn,autodiscover.nip.com.cn,mx1.nip.com.cn,exchange.nip.com.cn,nip-exch08.nipc.com.cn,nip-exch35.nipc.com.cn,nip-exch75.nipc.com.cn,nip-exch23.nipc.com.cn,localhost-PrivateKeyExportable $true

Set-Content-path "\\ NIP-Exch23\ C$\ SSLCertRequest.req"-Value $Data

You can use the contents of the SSLCertRequest.req file to request an SSL certificate from a certificate authority (CA), open web: http://192.168.20.17/Certsrv To Request an SSL Certificate and save to\\ NIP-Exch23\ C$\ Excertnew.cer

Import-ExchangeCertificate-Server nip-Exch23-FileData ([Byte []] $(Get-Content-Path "\\ NIP-Exch23\ C$\ Excertnew.cer"-Encoding byte-ReadCount 0)) | Enable-ExchangeCertificate-Server NIP-Exch23-Services "IIS,POP,IMAP,SMTP"

5) Configuring Outlook Anywhere

Get-OutlookAnywhere-Server NIP-Exch23 | Set-OutlookAnywhere-ExternalHostname mail.nip.com.cn-ExternalClientsRequireSsl:$true-ExternalClientAuthenticationMethod:Basic-InternalHostName nip-exch23.nipc.com.cn-InternalClientsRequireSsl:$true-InternalClientAuthenticationMethod:Basic

6) Enabling MapiHttp

MapiHttp is the new protocol for Outlook that was introduced in Exchange 2013 SP1. For Outlook, you need to use Outlook 2013 SP1 as well,To enable MapiHttp for Exchange 2013 SP1:

Set-OrganizationConfig-MapiHttpEnabled $true

That it can take up to three hours for the changes to take effect

Enable imap4 and pop3

Set-ADServerSettings-PreferredServer "nip-dc01.nipc.com.cn"

Set-ExchangeServer-Identity NIP-Exch23

-StaticGlobalCatalogs "nip-dc01.nipc.com.cn"

-StaticDomainControllers "nip-dc01.nipc.com.cn,NIP-DC05.nipc.com.cn"

-StaticConfigDomainController "NIP-DC01.nipc.com.cn"

Get-exchangeserver-identity NIP-Exch23-status | fl current,static

Get-mailbox-database 'Mailbox Database 0650590826'

Get-Mailbox-Database "MDB01"-Arbitration | New-MoveRequest-TargetDatabase "MDB25"

Search-mailbox-identity username-deletecontent

[PS] C:\ Windows\ system32 > Get-Mailbox-Database mdb13

[PS] C:\ Windows\ system32 > Get-Mailbox-Database mdb13-Arbitration

Name Alias ServerName ProhibitSendQuota

-

SystemMailbox {bb558c35... SystemMailbox {bb5... Nip-exch23 Unlimited

Migration.8f3e7716-201... Migration.8f3e771... Nip-exch23 300 MB (314572800 bytes)

[PS] C:\ Windows\ system32 > Get-Mailbox-Database mdb13-PublicFolder

[PS] C:\ Windows\ system32 > Get-Mailbox-Database mdb13-Archive

[PS] C:\ Windows\ system32 > Get-Mailbox-Database mdb13-Arbitration

Name Alias ServerName ProhibitSendQuota

-

SystemMailbox {bb558c35... SystemMailbox {bb5... Nip-exch23 Unlimited

Migration.8f3e7716-201... Migration.8f3e771... Nip-exch23 300 MB (314572800 bytes)

[PS] C:\ Windows\ system32 > Get-Mailbox-Database mdb13-Arbitration | Disable-Mailbox-Arbitration-DisableArbitrationMailboxWithOABsAllowed

Error:

Setup can't continue with the uninstall because the powershell (10408) has open files. Close the process, and then restart Setup.

For more information, visit: http://technet.microsoft.com/library(EXCHG.150)/ms.exch.setupreadiness.ProcessNeedsToBeClosedOnUninstall.aspx

Error:

Uninstall can't continue. Errors:

This mailbox database contains one or more mailboxes, mailbox plans, archive mailboxes, public folder mailboxes or arbitration mailboxes, Audit mailboxes. To get a list of all mailboxes in this database, run the command Get-Mailbox-Database. To get a list of all mailbox plans in this database, run the command Get-MailboxPlan. To get a list of archive mailboxes in this database, run the command Get-Mailbox-Database-Archive. To get a list of all public folder mailboxes in this database, run the command Get-Mailbox-Database-PublicFolder. To get a list of all arbitration mailboxes in this database, run the command Get-Mailbox-Database-Arbitration. To get a list of all Audit mailboxes in this database, run the command Get-Mailbox-Database-AuditLog. To disable a non-arbitration mailbox so that you can delete the mailbox database, run the command Disable-Mailbox. To disable an archive mailbox so you can delete the mailbox database, run the command Disable-Mailbox-Archive. To disable a public folder mailbox so that you can delete the mailbox database, run the command Disable-Mailbox-PublicFolder. To disable an Audit mailbox so that you can delete the mailbox database, run the command Get-Mailbox-AuditLog | Disable-Mailbox. Arbitration mailboxes should be moved to another server; to do this, run the command New-MoveRequest. If this is the last server in the organization, run the command Disable-Mailbox-Arbitration-DisableLastArbitrationMailboxAllowed to disable the arbitration mailbox. Mailbox plans should be moved to another server; to do this, run the command Set-MailboxPlan-Database. It was running the command 'Remove-MailboxDatabase' CN=MDB13,CN=Databases,CN=Exchange Administrative Group (FYDIBOHF23SPDLT), CN=Administrative Groups,CN=First Organization,CN=Microsoft Exchange,CN=Services,CN=Configuration,DC=nipc,DC=com,DC=cn'-whatif'.

For more information, visit: http://technet.microsoft.com/library(EXCHG.150)/ms.exch.setupreadiness.UnwillingToRemoveMailboxDatabase.aspx

Warning:

There are messages waiting in the following queues: "nip-exch23\ Shadow\ 3". If you proceed with the removal of Exchange Server, data loss may result.

For more information, visit: http://technet.microsoft.com/library(EXCHG.150)/ms.exch.setupreadiness.MessagesInQueue.aspx

1) preparation of system components:

Powershell:

Import-Module ServerManager

Add-WindowsFeature Desktop-Experience, NET-Framework, NET-HTTP-Activation, RPC-over-HTTP-proxy, RSAT-Clustering, RSAT-Web-Server, WAS-Process-Model, Web-Asp-Net, 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-Ext, Web-Request-Monitor, Web-Server, Web-Stat-Compression, Web-Static-Content, Web-Windows-Auth, Web-WMI, RSAT-ADDS-Restart

2) Software preparation:

Start-BitsTransfer-Source http://download.microsoft.com/download/2/C/4/2C47A5C1-A1F3-4843-B9FE-84C0032C61EC/UcmaRuntimeSetup.exe-Destination c:\ temp

C:\ temp\ UcmaRuntimeSetup.exe / Q

Install Windows6.1-KB2819745-x64-MultiPkg

.\ Setup.exe / PrepareSchema / IacceptExchangeServerLicenseTerms

.\ Setup.exe / PrepareAD / IacceptExchangeServerLicenseTerms

.\ Setup.exe / PrepareDomain / IAcceptExchangeServerLicenseTerms

Mkdir C:\ Exchange\ v15\ MDB\ DBFiles

Mkdir C:\ Exchange\ v15\ MDB\ LogFiles

.\ Setup.exe / Mode:Install / Roles:Mailbox,ClientAccess / Mdbname:MDB13 / DbFilePath:C:\ Exchange\ v15\ MDB\ DBFiles\ MDB13.edb / LogFolderPath:C:\ Exchange\ v15\ MDB\ LogFiles / DomainController:nip-dc01 / InstallWindowsComponents / IAcceptExchangeServerLicenseTerms

Set-exchangeserver-Identity 'NIP-EXCH13'-ProductKey' CPJFG-C9D94-J7F4K-T9Q48-FWKP7'

4) Configuring SSL certificates

$Data = New-ExchangeCertificate-FriendlyName "NIP SSL Certificate"-GenerateRequest-SubjectName "c=CN, o=NIP, cn=mail.nip.com.cn"-DomainName mail.nip.com.cn,autodiscover.nip.com.cn,mx1.nip.com.cn,exchange.nip.com.cn,nip-exch08.nipc.com.cn,nip-exch35.nipc.com.cn,nip-exch75.nipc.com.cn,nip-exch23.nipc.com.cn-PrivateKeyExportable $true

Set-Content-path "\\ NIP-Exch23\ C$\ SSLCertRequest.req"-Value $Data

You can use the contents of the SSLCertRequest.req file to request an SSL certificate from a certificate authority (CA), open web: http://192.168.20.17/Certsrv To Request an SSL Certificate and save to\\ NIP-Exch23\ C$\ Excertnew.cer

Import-ExchangeCertificate-Server NBIS-Exch01-FileData ([Byte []] $(Get-Content-Path "\\ NIP-Exch23\ C$\ Excertnew.cer"-Encoding byte-ReadCount 0)) | Enable-ExchangeCertificate-Server NIP-Exch23-Services "IIS,POP,IMAP,SMTP"

5) Configuring Outlook Anywhere

Get-OutlookAnywhere-Server NIP-Exch23 | Set-OutlookAnywhere-ExternalHostname mail.nip.com.cn-ExternalClientsRequireSsl:$true-ExternalClientAuthenticationMethod:Basic-InternalHostName nip-exch23.nipc.com.cn-InternalClientsRequireSsl:$true-InternalClientAuthenticationMethod:Basic

6) Enabling MapiHttp

MapiHttp is the new protocol for Outlook that was introduced in Exchange 2013 SP1. For Outlook, you need to use Outlook 2013 SP1 as well,To enable MapiHttp for Exchange 2013 SP1:

Set-OrganizationConfig-MapiHttpEnabled $true

That it can take up to three hours for the changes to take effect

Enable imap4 and pop3

Set-ADServerSettings-PreferredServer "nip-dc01.nipc.com.cn"

Set-ExchangeServer-Identity NIP-Exch23

-StaticGlobalCatalogs "nip-dc01.nipc.com.cn"

-StaticDomainControllers "nip-dc01.nipc.com.cn,NIP-DC05.nipc.com.cn"

-StaticConfigDomainController "NIP-DC01.nipc.com.cn"

Get-exchangeserver-identity NIP-Exch23-status | fl current,static

Get-mailbox-database 'Mailbox Database 0650590826'

Get-Mailbox-Database "MDB01"-Arbitration | New-MoveRequest-TargetDatabase "MDB25"

Search-mailbox-identity username-deletecontent

[PS] C:\ Windows\ system32 > Get-Mailbox-Database mdb13

[PS] C:\ Windows\ system32 > Get-Mailbox-Database mdb13-Arbitration

Name Alias ServerName ProhibitSendQuota

-

SystemMailbox {bb558c35... SystemMailbox {bb5... Nip-exch23 Unlimited

Migration.8f3e7716-201... Migration.8f3e771... Nip-exch23 300 MB (314572800 bytes)

[PS] C:\ Windows\ system32 > Get-Mailbox-Database mdb13-PublicFolder

[PS] C:\ Windows\ system32 > Get-Mailbox-Database mdb13-Archive

[PS] C:\ Windows\ system32 > Get-Mailbox-Database mdb13-Arbitration

Name Alias ServerName ProhibitSendQuota

-

SystemMailbox {bb558c35... SystemMailbox {bb5... Nip-exch23 Unlimited

Migration.8f3e7716-201... Migration.8f3e771... Nip-exch23 300 MB (314572800 bytes)

[PS] C:\ Windows\ system32 > Get-Mailbox-Database mdb13-Arbitration | Disable-Mailbox-

Arbitration-DisableArbitrationMail

BoxWithOABsAllowed

Error:

Setup can't continue with the uninstall because the powershell (10408) has open files. Close

The process, and then restart Setup.

For more information, visit: http://technet.microsoft.com/library

(EXCHG.150) / ms.exch.setupreadiness.ProcessNeedsToBeClosedOnUninstall.aspx

Error:

Uninstall can't continue. Errors:

This mailbox database contains one or more mailboxes, mailbox plans, archive mailboxes

Public folder mailboxes or arbitration mailboxes, Audit mailboxes. To get a list of all

Mailboxes in this database, run the command Get-Mailbox-Database. To get a

List of all mailbox plans in this database, run the command Get-MailboxPlan. To get a list

Of archive mailboxes in this database, run the command Get-Mailbox-Database

-Archive. To get a list of all public folder mailboxes in this database, run the command

Get-Mailbox-Database-PublicFolder. To get a list of all arbitration

Mailboxes in this database, run the command Get-Mailbox-Database-

Arbitration. To get a list of all Audit mailboxes in this database, run the command Get-

Mailbox-Database-AuditLog. To disable a non-arbitration mailbox so that you

Can delete the mailbox database, run the command Disable-Mailbox. To disable an

Archive mailbox so you can delete the mailbox database, run the command Disable-Mailbox

-Archive. To disable a public folder mailbox so that you can delete the mailbox

Database, run the command Disable-Mailbox-PublicFolder. To disable an Audit

Mailbox so that you can delete the mailbox database, run the command Get-Mailbox-AuditLog |

Disable-Mailbox. Arbitration mailboxes should be moved to another server; to do this, run

The command New-MoveRequest. If this is the last server in the organization

Run the command Disable-Mailbox-Arbitration-

DisableLastArbitrationMailboxAllowed to disable the arbitration mailbox. Mailbox plans

Should be moved to another server; to do this, run the command Set-MailboxPlan-Database. It was running the command 'Remove-MailboxDatabase

'CN=MDB13,CN=Databases,CN=Exchange Administrative Group (FYDIBOHF23SPDLT), CN=Administrative

Groups,CN=First Organization,CN=Microsoft

Exchange,CN=Services,CN=Configuration,DC=nipc,DC=com,DC=cn'-whatif'.

For more information, visit: http://technet.microsoft.com/library

(EXCHG.150) / ms.exch.setupreadiness.UnwillingToRemoveMailboxDatabase.aspx

Warning:

There are messages waiting in the following queues: "nip-exch23\ Shadow\ 3". If you proceed

With the removal of Exchange Server, data loss may result.

For more information, visit: http://technet.microsoft.com/library

(EXCHG.150) / ms.exch.setupreadiness.MessagesInQueue.aspx

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report