Exchange server is one of the popular messaging platform in enterprise. Today I will show you steps to install Exchange server 2010 in Windows Server 2008 R2. There are some operating system prerequisites that must be fulfilled to install the Exchange server successfully. Basic hardware requirements are 64-bit processor with at least 2 GB of RAM (1 GB per core is recommended) and 1.6 GB of free disk space where Exchange will be installed. The operating system prerequisites are different for different Windows Server versions and service packs.
Install Exchange Server 2010 in Windows Server 2008 R2
The diagram below shows our network scenario. We don’t have any existing Exchange instance. So we will install Exchange server in fresh environment.
- The forest functional level of the DC must be at least Server 2003 or later.
- Active Directory Schema master must be running in Server 2003 or later.
- Exchange Server must be member of DC but not Edge Transport Server.
- The Domain Controller must be a Global Catalog server in this (local) domain.
- Install .Net Framework 3.5 from Server Manager Add New Features wizard in MBG-Mail Server.
- Download and install 2007 Office System Converter: Microsoft Filter Pack in MBG-Mail.
Exchange Server 2010 Installation Steps
Now, insert Exchange server installation disc or ISO Image into the drive. Then open command prompt from start menu as Administrator. Move your root directory to drive where Exchange media resides. Mine is in drive D,
C:\Users\Administrators> D: [Enter]. (Moves the prompt to drive D:)
The first step is to extend the existing Active Directory Schema. This requires installation of RSAT-ADDS tool. Open PowerShell and hit the following command to install RSAT-ADDS.
After installing RSAT-ADDS tool, restart the server. Open Command Prompt. Type following command to prepare active directory for installing Exchange Server.
D:\> setup /prepareschema [Enter]
The second step is to prepare Active Directory for Exchange installation. Type your organization name in Organization Name switch. Hit the following command in command prompt.
D:\> setup /prepareAD /OrganizationName:MustBeGeek [Enter]
Now to prepare this domain for Exchange server installation, hit the following commands in command prompt.
D:\> setup /PrepareDomain [Enter]
Now open Windows Powershell and import Server Manager Module,
C:\> Import-Module ServerManager
Run the following command. This command will start mode for the Net. Tcp port sharing service to automatic.
C:\> Set-Service NetTcpPortSharing -StartupType Automatic
Now, we will install typical Exchange server that includes, Hub Transport, Client Access and Mailbox. These roles are typical if you are installing only one Exchange server for small environment. Log on to MBG-Mail server with domain administrator account.
Now copy and paste the following command in PowerShell. Simply copy the command and right-click the mouse button to paste on PowerShell Window. The CTRL+C and CTRL+V doesn’t work inside PowerShell. These command will install all the prerequisites in this server. Different set of commands are available for different Windows Server versions and different Exchange requirement.
Add-WindowsFeature NET-Framework,RSAT-ADDS,Web-Server,Web-Basic-Auth,Web-Windows-Auth,Web-Metabase,Web-Net-Ext,Web-Lgcy-Mgmt-Console,WAS-Process-Model,RSAT-Web-Server,Web-ISAPI-Ext,Web-Digest-Auth,Web-Dyn-Compression,NET-HTTP-Activation,Web-Asp-Net,Web-Client-Auth,Web-Dir-Browsing,Web-Http-Errors,Web-Http-Logging,Web-Http-Redirect,Web-Http-Tracing,Web-ISAPI-Filter,Web-Request-Monitor,Web-Static-Content,Web-WMI,RPC-Over-HTTP-Proxy -Restart
After completing the installation, the server restarts. After starting the server open the Exchange setup from installation media. You will then see following screen.
As step 1 and step 2 is already completed. Now click the language to install. I will click to install only languages from the DVD. Then click step 4 to install Microsoft Exchange. You will soon see the following box,
Read the introduction and click Next button. Then choose to accept the license agreement and click Next button. Choose No for error reporting to Microsoft and click Next button. Choose the installation type as Typical.
Then click Next button. Type the organization name and click Next.
Select No for Exchange client settings,
In configure client access server external domain option. Type the domain name that will be used to access Mail server from Internet, for example, mail.mustbegeek.com.
Click Next. Under Customer Experience Improvement Program, choose I don’t wish to join the program at this time and click Next button.
The installation will now go through readiness checks. If there are some errors then it will notify you. Go back and correct those errors if any. If every checks succeeds then you will see similar screen,
Click Install button to begin installing Exchange server.
After installation completes click Finish. You can now configure Exchange server to send and receive external mails.