In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-03-01 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/03 Report--
Continue to use the command to set up the general configuration of Exchange Server 2013.
1. Use the command to create a certificate request file
New-ExchangeCertificate-GenerateRequest-FriendlyName "Mail-Cert"-DomainName mail.msftlearn.com,autodiscover.msftlearn.com-PrivateKeyExportable $true-KeySize 2048-RequestFile C:\ mailcert.req
two。 Enter the certificate server IP address / certsrv in the IE browser
3. Enter the user name and password that have the authority to issue the certificate, and make sure
4. Select to apply for certificate
5. Select Advanced Certificate request
6. Select CMC or PKCS#10 file submission using base64 encoding
7.Copy binary certificate request content
8. Paste into the Base-64 text box, select the Web server for the certificate template, and submit
9. Select the Base64 code to download the certificate
10. Save the certificate location
11. Use the command to import certificates and assign services
Import-ExchangeCertificate-FileName C:\ mailcert.cer | Enable-ExchangeCertificate-Services "iis,smtp,pop,imap"
twelve。 The choice is all yes
The basic configuration of Exchange Server 2013 has been completed.
The following is the Exchange PowerShell script used, please refer to:
Prerequisite script
Install-WindowsFeature RSAT-ADDSImport-Module ServerManagerInstall-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 RSAT-ADDSRestart-ComputerD:.\ setup / PrepareSchema / IAcceptExchangeServerLicenseTerms.\ setup / Preparead / IAcceptExchangeServerLicenseTerms / OrganizationName:Msftlearn.\ setup / Preparealldomains / IAcceptExchangeServerLicenseTermsAdd-DnsServerResourceRecordA-ZoneName msftlearn.com-Name mail-IPv4Address 192.168.10.200Add-DnsServerResourceRecordA-ZoneName msftlearn.com-Name autodiscover-IPv4Address 192.168.10.200
Basic configuration script
# load Exchange module Add-PSSnapin microsoft.exchange.*# New accepted domain New-AcceptedDomain-Name msftlearn.com-DomainName msftlearn.com-DomainType Authoritative# New email address policy New-EmailAddressPolicy-Name EmailAddress-IncludedRecipients MailboxUsers-EnabledPrimarySMTPAddressTemplate% m@msftlearn.com# apply email address policy Update-EmailAddressPolicy-Identity EmailAddress# set organizational transmission size Set-TransportConfig-MaxReceiveSize 30MB-MaxSendSize 30MB-MaxRecipientEnvelopeLimit 20 sets the size limit of the receive connector Get-ReceiveConnector | Set -ReceiveConnector-MaxMessageSize 30MB# removes anonymous Get-ReceiveConnector "Default Frontend SRV12-EX1301" | Set-ReceiveConnector-PermissionGroups ExchangeLegacyServers ExchangeServers# New send Connector New-SendConnector-Name "To Internet"-Internet-MaxMessageSize 30MB-AddressSpaces *-SourceTransportServers "Srv12-ex1301.msftlearn.local" # Settings Exchange Server license Set-ExchangeServer-Identity Srv12-ex1301-ProductKey XXXX-XXXX-XXXX-XXXX# Settings OutlookAnywhere Get-OutlookAnywhere | Set-OutlookAnywhere-SSLOffloading $true-InternalHostname "mail.msftlearn.com"-ExternalClientsRequireSsl $true-ExternalHostname "mail.msftlearn.com"-InternalClientsRequireSsl $true-InternalClientAuthenticationMethod Basic-ExternalClientAuthenticationMethod Basic# Settings POP Service Set- PopSettings-Server Srv12-ex1301-LoginType PlainTextLogin# set pop service to automatically start and run pop service Set-Service MSExchangePop3-StartupType AutomaticSet-Service MSExchangePOP3BE-StartupType AutomaticStart-Service MSExchangePop3* # set IMAP service Set-ImapSettings-Server Srv12-ex1301-LoginType PlainTextLogin# set IMAP service to automatically start and run pop service Set-Service MSExchangeImap4-StartupType Automaticset-service MSExchangeIMAP4BE-StartupType AutomaticStart-Service MSExchangeImap4*# create a new database and set offline address book New-MailboxDatabase-Name DB01-Server Srv12-ex1301 -EdbFilePath C:\ DB\ DB01.edb-LogFolderPath C:\ DB-OfflineAddressBook "Default OfflineAddressBook" Mount-Database-Identity DB01# sets the virtual directory Get-OwaVirtualDirectory | Set-OwaVirtualDirectory-InternalUrl https://mail.msftlearn.com/owa-ExternalUrl https://mail.msftlearn.com/owa-LogonFormat UserName-DefaultDomain msftlearn.localGet-EcpVirtualDirectory | Set-EcpVirtualDirectory-InternalUrl https://mail.msftlearn.com/ecp-ExternalUrl https://mail.msftlearn.com/ecpGet-ActiveSyncVirtualDirectory | Set-ActiveSyncVirtualDirectory-InternalUrl https: / / mail.msftlearn.com/Microsoft-Server-ActiveSync-ExternalUrl https://mail.msftlearn.com/Microsoft-Server-ActiveSyncGet-WebServicesVirtualDirectory | Set-WebServicesVirtualDirectory-InternalUrl https://mail.msftlearn.com/EWS/Exchange.asmx-ExternalUrl https://mail.msftlearn.com/EWS/Exchange.asmxGet-OabVirtualDirectory | Set-OabVirtualDirectory-InternalUrl https://mail.msftlearn.com/oab-ExternalUrl https://mail.msftlearn.com/oabGet-PowerShellVirtualDirectory | Set-PowerShellVirtualDirectory-InternalUrl http://mail.msftlearn.com/ Powershell-ExternalUrl https://mail.msftlearn.com/powershellGet-ClientAccessServer | Set-ClientAccessServer-AutoDiscoverServiceInternalUri https://mail.msftlearn.local/Autodiscover/Autodiscover.xml# apply for certificate New-ExchangeCertificate-GenerateRequest-FriendlyName "Mail-Cert"-DomainName mail.msftlearn.com Autodiscover.msftlearn.com-PrivateKeyExportable $true-KeySize 2048-RequestFile C:\ mailcert.reqImport-ExchangeCertificate-FileName C:\ mailcert.cer | Enable-ExchangeCertificate-Services "iis,smtp,pop,imap"
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.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.