Exchange Server 2016 ကို Step by step installation ပြုလုပ်ခြင်း

Exchange Server 2016 ကို Step by step installation ပြုလုပ်ခြင်း

Exchange Server 2016 ဆိုတာ

       Exchange Server ဆိုတာကတော့ Messaging Server သို့မဟုတ် Mail Server ပဲဖြစ်ပါတယ်။

Mail Server အလုပ်လုပ်ဖို့ရန်အတွက် TCP Protocol ပေါ်မှာအခြေခံပြီးတည်ဆောက်ထားတဲ့ အောက်ပါ TCP Server   နှင့် TCP Client တို့လိုအပ်ပါမယ်။

                      1- POP3 Server နှင့် POP3 Client

                      2- IMAP Server နှင့် IMAP Client

                      3- SMTP Server နှင့် SMTP Client တို့လိုအပ်ပါတယ်။


POP3 Server = tcp/110

IMAP Server = tcp/143

SMTP Server = tcp/25

SPOP3 Server = tcp/995

SIMAP Server = tcp/993


အလုပ်လုပ်ပုံ


SMTP Service နှင့် SMTP Client က mail message outgoing အတွက်အလုပ်လုပ်ပါမယ်

POP3 Service နှင့် POP3 Client က mail message incoming အတွက်အလုပ်လုပ်ပါမယ်

IMAP Service နှင့် IMAP Client က POP3 နဲ့အလုပ်လုပ်ပုံခြင်းအတူတူပဲဖြစ်ပါတယ်



Exchange Server 2016 ကို Install မလုပ်ခင်လိုအပ်ချက်များ
        1- Domain Controller (ADDS) install လုပ်ထားပြီးဖြစ်နေရမယ်
        2- မိမိ Exchange 2016 install လုပ်မယ့် Server ကို Domain လက်အောက်ခံ Membership လုပ်ထားရပါမယ်


Exchange Server install လုပ်မယ့် Topology












အခု နံပါတ် 1 အဆင့်အနေဖြင့် Domain Controller install စလုပ်ပါမယ်။

Server Manager ထဲက Add Role and Features ကိုနိုပ်ပါ။






















Before you begin ေပၚလာပါမယ္ Next


















Select installation Type မွာ Role-based or feature-based installation ကိုေရြး Next
















Select destination server ထဲက မိမိ ရဲ့ Server ကို select လပ္ Next ကိုနိပ္



















Active Directort Domain Service ကို အမွန္ျခစ္ေပးပါ



















Add Features ကိုနိုပ္


























Active Directory Domain Service အမွန္ျခစ္ေပးျပီးသြားပါျပီ Next ကိုနိပ္




















Select features page ေအာက္က Next ကိုနိပ္



















Active Directory Domain Services page မွာ Next ကိုနိုပ္



















Install ကိုဆက္နိုပ္ပါ 



















Promote this server to a domain controller link ကိုနိုပ္ပါ




















Deployment Configuration Box ေပၚလာပါမယ္

Add a new forest ကိုေရြးျပီး Root domain name မွာ မိမိ Domain Name ကိုေပးပါ
ျပီးရင္ Next



















Directory Service Restore Mode ရဲ့ Password ကိုထည့္ျပီး Next ကိုနိပ္ပါ



















DNS Options page မွာ Next ကိုပဲနိပ္ပါ



















မိမိ Domain ရဲ့ NetBIOS domain name ေပၚလာပါမယ္ Next





















Database Path/Log Path/SYSVOL လမ္းေႀကာင္း ကိုထည့္ Next ကိုနိပ္ပါ


















Review Options တြင္ မိမိျပုလုပ္ခဲ့တဲ့ settings ေတြကိုစစ္ပါ အိုေကရင္ Next ကိုနိပ္ပါ


















Next ကိုနိုပ္ပါ


















Active Directory Installation ျပီးေျမာက္ဖို့ Reboot လုပ္ပါမယ္
Reboot လုပ္ျပီးျပန္တက္လာရင္ ADDS installation ျပီးေျမာက္ပါျပီ
























Exchange Server Install လုပ္မယ့္ Computer ကို Domain လက္ေအာက္ခံ Membership လုပ္ပါမယ္
C:\>netdom join %computername% /Domain:loop.com /UserD:administrator /PasswordD:yourpassword (Press Enter Key)
ျပီးရင္ေတာ့ Reboot လုပ္ပါ



Restart လုပ္ျပီး Login Box ေပၚလာရင္ Other ကိုနိပ္ျပီး
Username: administrator@loop.com
Password:Yourpassword
မွတ္ခ်က္ @ sing ေနာက္က loop.com သည္ AD ရဲ့ Domain Name ျဖစ္ပါတယ္













Microsoft .Net Framework 4.5.2 ကို install လုပ္ပါမယ္
























.Net Framework ကို install လုပ္ျပီးသြားရင္ေအာက္ပါေပးထားတဲ့ Powershell command ေတြကို copy ကူး past လုပ္ျပီး Windows Features ေတြကိုinstall လုပ္လိုက္ပါ

Install-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-ADDS








Windows Features install လုပ္တာျပီးရင္ Computer ကို Restart ခ်ပါမယ္

အခု ထပ္ျပီး Microsoft Unified Communication Managed API 4.0 ကို install လုပ္ပါမယ္























အခုထက္ဆက္မယ့္အဆင့္ကေတာ့ Exchange အခြထည့္ပါမယ္
Exchange အေခြထဲက File ေတြကို Copy ကူး ျပီးရင္ D:\Exchange folder ေဆာက္ျပီး past လုပ္ပါ ျပီးရင္ Command Prompt ကိုဖြင့္ျပီးပါ ။ ျပီးရင္ ေအာက္ပါ Exchange Preparation command ေတြကို အဆင့္အတိုင္းရိုက္ပါမယ္

1-  setup.exe /PrepareSchema /IAcceptExchangeServerLicenseTerms
2- setup.exe /PrepareAD /OrganizationName:"Loop Avoidance" /IAcceptExchangeServerLicenseTerms
3- setup.exe /PrepareAllDomains /IAcceptExchangeServerLicenseTerms








































Exchange Preparation command ေတြရိုက္ျပီးသြားရင္ D:\Exchange Folder ေအာက္ကိုသြားျပီး
setup.exe ကို double click လုပ္ခါ install စတင္နိုင္ပါျပီ




















Check for update Page ေပၚလာပါမယ္
update လုပ္ခ်င္ရင္ update ကို ေရြးသြားပါ update မလုပ္ခ်င္ရင္ Do not update ကိုေရြးသြားပါ





















Introduction Page ေပၚလာပါမယ္ Next ကိုနိုပ္ပါ





















License Agreement Page ေပၚလာပါမယ္ I Accept လုပ္ Next ကိုနိပ္ပါ






















Recommended Setting Page တြင္ Use Recommended Settings ကိုေရြးေပးျပီး Next ကို နိပ္ပါ။






















Server Role Selection Page ေပၚလာပါမယ္
Mailbox ကို အမွန္ျခစ္ေပး ျပီးရင္ Automatically install windows server role check box ကို နိုပ္  Next ကိုနိပ္ပါ။






















Installation Space and Location ေပၚပါမယ္ Next ကိုနိပ္ပါ






















Exchange Organization Page ေပၚပါမယ္ Next ကိုနိုပ္ပါ





















Malware Protection Page ေတြ့မယ္ Next ကိုနိပ္





















ခဏေစာင့္ေပးပါ ျပီးရင္ေတာ့ Install ကိုနိပ္ပါ


















Exchange Server Install အဆင့္ဆင့္ကို လုပ္ေဆာင္သြားပါမယ္
အခ်ိန္အားျဖင့္ 1 Hours အထက္ႀကာနိုင္ပါတယ္။ ျပီးရင္ေတာ့ Exchange Server install လုပ္တာျပီးဆံုးသြားပါလိမ့္မယ္
























Microsoft Exchange Server အတွက်အသုံးဝင်သော Command line များ အပိုင်း ၁

Microsoft Exchange Server ကို install လုပ်တာပြီးဆုံးသွားပြီဆိုရင်တော့ email ပို့နိုင်ရန်အတွက် Mail User account အသစ်ကို ဖန်းတီးပါမယ် Power shell ကိုဖွင့်ပါ

>Get-mailboxdatabase

အထက်ပါ command က Mailbox Database Name ကိုမြင်ရပါမယ်

>New-Mailbox -UserPrincipalName nanda@loop.com -Alias nanda -Database "MailboxDatabase" -Name nanda -OrganizationalUnit "loop.com/MyOUName" -FirstName Nanda -DisplayName "Nanda" -ResetPasswordOnNextLogon $false
Password:************

အထက်ပါ command က Mailbox User account အသစ်ကိုဖန်းတီးလိုက်တဲ့ Command ပါ

AD ထဲမှာ User Account တွေ အများကြီးဖန်းတီးလို့ရမယ့် Command
Run box ဖွင့်ပြီး cmd ထဲဝင်ပါ

ပြီးရင် OU အသစ်တခုကိုစဖန်းတီးပါမယ်

>dsadd ou "OU=LAOrg,DC=loop,DC=com"

အထက်ပါ Command တွင် dsadd ou ဆိုတာက OU အသစ်ပြုလုပတဲ့ command ဖြစ်ပါတယ်
OU=LAorg က OU ကို LAOrg လို့ပေးတပါ DC=loop,DC=com ဆိုတာကတော့ မိမိ ADDS ရဲ့ Domain name loop.com ကိုဆိုလိုတာဖြစ်ပါတယ်

>dsadd user "CN=mailuser,OU=LAOrg,DC=loop,DC=com" -upn mailuser@loop.com -pwd YOURPASSWORD -pwdneverexpires yes -disabled no

အထက်ပါ Command သည် ADDS Database ထဲမှာ User Account အသစ်ပြုလုပ်တာဖြစ်ပါတယ်
User Account များများဖန်းတီးမယ်ဆိုရင်တော့ bat file ပြုလုပ်ပါ
Batch File ဖန်းတီးပုံ ဥပမာ

Open Notepad

@echo off
dsadd user "CN=mailuser01,OU=LAOrg,DC=loop,DC=com" -upn mailuser01@loop.com -pwd YOURPASSWORD -pwdneverexpires yes -disabled no
dsadd user "CN=mailuser02,OU=LAOrg,DC=loop,DC=com" -upn mailuser02@loop.com -pwd YOURPASSWORD -pwdneverexpires yes -disabled no
dsadd user "CN=mailuser03,OU=LAOrg,DC=loop,DC=com" -upn mailuser03@loop.com -pwd YOURPASSWORD -pwdneverexpires yes -disabled no
dsadd user "CN=mailuser04,OU=LAOrg,DC=loop,DC=com" -upn mailuser04@loop.com -pwd YOURPASSWORD -pwdneverexpires yes -disabled no
dsadd user "CN=mailuser05,OU=LAOrg,DC=loop,DC=com" -upn mailuser05@loop.com -pwd YOURPASSWORD -pwdneverexpires yes -disabled no
dsadd user "CN=mailuser06,OU=LAOrg,DC=loop,DC=com" -upn mailuser06@loop.com -pwd YOURPASSWORD -pwdneverexpires yes -disabled no

 ပြီးရင် Save As နဲ့သိမ်းပြီး text file ကို .bat ဖြစ်ဖို့ Extenstion ပြောင်းပါမယ်
ပြောင်းပြီးသွားပြီဆိုရင်တော့ Double click ကိုနိုပ်ပြီး Batch File ကို Run လိုက်ရင် ADDS ထဲမှာ User Account တွေဖန်းတီးပြီးသွားပါပြီ

အခုထန်းတီးထားတဲ့ User Account တွေကို Mail ပို့လို့ရအောင် Exchange Server ရဲ့ Powershell ထဲမှာ

>Get-User -organizationunit LAOrg | where-object{$_.RecipientType -eq "User"} | Enable-Mailbox -database "DatabaseName"

ကိုရိုက်မယ်ဆိုရင် Mail ပို့လို့ရမယ့် Mailbox Enabled User များကိုရပါပြီ

Popular posts from this blog

မြန်မာနိုင်ငံမှထူးဆန်းသော မြို့အမည်များ

ဝါယာ

Hacker ဖြစ်ချင်လား

အုိင္ဒီယာကို သေဘာက်လို႔ပါ

စက်

ခေါင်းဆောင်

အငုံစိတ်

အလုပ်အတွက်

မိမိ