The following will show you how to install Lync 2013 preview on Windows Server 2012:
- Install Lync Prerequisites
- Prepare Active Directory
- Create and Publish Lync Topology
- Install Lync Standard Server
-
Configure DNS for Automatic Sign in and Simple URLS
Install Lync Prerequisites
Office Wep App Server
Office App Server is a new Office server product that delivers browser-based versions of Word, PowerPoint, Excel, and OneNote. A single Office Web Apps Server farm can support users who access Office files through SharePoint 2013 Preview, Lync Server 2013 Preview, Exchange Server 2013 Preview, shared folders, and websites.
Follow below steps to install Office Wep App Server:
Open Windows power shell as Administrator and write
Import-Module ServerManager
Then Copy the below and press Enter
Add-WindowsFeature Web-Server,Web-Mgmt-Tools,Web-Mgmt-Console,Web-WebServer,Web-Common-Http,Web-Default-Doc,Web-Static-Content,Web-Performance,Web-Stat-Compression,Web-Dyn-Compression,Web-Security,Web-Filtering,Web-Windows-Auth,Web-App-Dev,Web-Net-Ext45,Web-Asp-Net45,Web-ISAPI-Ext,Web-ISAPI-Filter,Web-Includes,InkandHandwritingServices

Download Office Wep App Server 2013 Preview and install it with default settings.

Install Certificate for Office Web Apps Server, by opening ISS Manager and click on Server name in the left bane , then click on Server Certificate , then from Action Menu , create certificate request.


Save the certificate request that you will use in the next step.

Open your CA server from the web and Click on Request a certificate

Then click on or, submit an advanced certificate request

Click on Submit a certificate request by using ……. .

Open the saved request file in notepad and copy all contents and past in next screen


Under Certificate Template, choose Web Server and click submit.

Select DER encode and Click Download certificate.

Save the certificate as .cer file

Open IIS Manager and click on Create Certificate Request

Then Specify certificate Authority Response and Enter Friendly name OfficeWebApp Certificate and select to save in Personal and click OK.

Now follow below steps to install Office Web App Server:
Open Windows power shell as Administrator and type
Import-Module OfficeWebApps
Then configure the Internal URL ( Server FQDN name) and external URL ( FQDN name accessible on the internet);here we use same URL for both.
New-OfficeWebAppsFarm -InternalUrl “https://webapp.ucbox.lab” -ExternalUrl “https://owas.ucbox.lab” –CertificateName “OfficeWebApp Certificate” –EditingEnabled

Verify that the Office Web Apps Server farm was created successfully by opening Internet Explorer an type https://wac.ucbox.lab/hosting/discovery and you should see the page below :

After we prepare Office WebApps Server , now we will install Lync Server software preqrequisites :
Installing Windows Roles and Features
Open Server Manager and Click Add roles and features then click next .




Under Servers Roles check Web Server and select the components below:



Under Features select the components below:



Note: If you face error during .Net Framework 3.5 installation, run the wizard again and specify the Source\sxs folder of the Original Windows 2012 DVD as below :


Prepare Active Directory
Download Lync 2013 Preview and click Setup then Yes to install Visual C++

Click install to accept default location

Click I accept the terms …. .and click Ok

Now deployment Wizard will open to start Lync Active Directory preparation and Server installation

Click on Prepare Active Directory.And go for each step of Prepare Schema, Prepare Current Forest and finally Prepare current domain with leaving all default settings the click back until you finish all.

Now you completed Active Directory Preparation


Now OpenActive Directory Users and Computers and add the Admin account you us as member of the Groups CSAdministrator and RTCuniversalServerAdmins

Click Prepare single Standard Edition Server

Click Finish.

Now Click on Install Administrative Tools to install Lync administration tools.

Create and Publish Lync Topology
Now click on the Lync Server Topology builder

Select New Topology and click OK .

Save the New Topology

Enter the ucbox.lab as SIP domain.

Leave additional sip domain blank and click next

Enter Site Name and description

Enter Site details

Click finish to open New Front End wizard

Click Next to define new Front End Pool

Select Standard Edition Server and Enter Server FQDN Name w2012-ls2013.ucbox.lab .

Select Conferencing as we here will deploy conferencing additional to main core feature of Lync (Presence & Instant messaging)that automatically will be installed.

leave Collocate Mediation Server blank and click next (No need to select this role in our lab because we will not deploy Enterprise Voice)

leave Edge pool selection blank and click next (no need to select this role in our lab because we will not deploy External access)

Click next for SQL express edition installation .

Click next to accept the default share location,

Enter lsweb.ucbox.lab as an External URL. (Note: This URL can be changed later)

Click new to add the Office Web Apps Server we installed above (wac.ucbox.lab)


Now, we will add the Simple URL Administrator access

Add Administrative access URL: https://admin.ucbox.lab

Now, we will Add our Exchange 2013 preview server as a trusted application pool for outlook web application integration with Lync sever.


Then right click on the created trusted application pool and uncheck the Enable replication of configuration data to this pool and click OK.

Now publish the new topology by click Action, Topology then Publish

Click next to start publishing

When it successfully completed, click Finish

After we create and publish the topology , now we will start Lync standard edition server installation
Install Lync 2013 preview Standard Server.
Step1 : Open Lync deployment Wizard, if it’s not opened, start Click Run in Install Local Configuration Store

Select Retrive directly from the Centeral Management store or… . and click next. (Note, if you deploy lync Edge role for External Access , you need to select second option to import exported topology and this because Edge server is always a workgoup server and has no access to the Centeral Management store )

Click Finish

Step2: In the Lync deployment Wizard, Click Run under setup or remove Lync Server component to Lync server installation.

Click Finish after task completed .

Step3:Now we will install the Certificate for Lync Server by click Request, Install or Assign Certificates

Select Default Certificate , mark the three boxes and click Request (Note: In production environment , you have to request the certificate for Server Default & Web services internal from internal CA server and Web services External you have to generate request file and get certificate from pubic vendor like Digicert).

Click Next to start certificate request, and follow below steps to generate and assign certificate from online internal CA server










Since there is no additional SIP domain we will leave it blank and click next.(In production environment , you may add here other SAN names that certificate should include especially if you deploy Unified communication certificate (UCC) certificate for more than one product, like for Lync and Exchange).







Now, we will do the same for OAuthTokenissuer
But What is OAuthTokenissuer??
Microsoft Lync 2013 preview, Exchange 2013 preview and SharePoint 2013 preview support new (Open Authorization) protocol for server-to-server authentication and authorization.
It based on tokens grant access to a specific set of resources for a specific amount of time, without passing user credential or password from computer to another.
http://technet.microsoft.com/en-us/library/jj204817(v=ocs.15).aspx
Select OAuthTokenIssuer and click Request the follow steps to request and assign the certificate for OAuthTokenIssuer .


















Step 4: Now Click Run to start all Lync services



Configure DNS for Automatic Sign in and Simple URLS
Open DNS Console on the Internal DNS Server and create Three (A) records for Lync Simple URLS with IP address of Lync standard server.
dialin.ucbox.lab
meet.ucbox.lab
admin.ucbox.lab



Create One (SRV) record for (Automatic Sign) with the following details:
Service = _sipinternaltls
Protocol = _tcp
Port number = 5061
Host Offering the service = w2012-ls2013.ucbox.lab

Open Control Panel and Enable user for Lync PC-to-PC
Now Open Lync 2013 preview Control panel by entering https://admin.ucbox.lab in the internet explorer and click to Install Serverlight



I tried to login with my Lync 2010 client but it gave me version error as below .


When I checked the version , I found that Lync server Client version policy block this version as below :
OC with version 4.07577.314 , you will see the operation is Olderthan and action Block
; and that ‘s why our lync version is blocked .

In this case ,we need to upgrade lync client to allowed version or modify this policy to have operation Older than or same as, with Action Allow
as below :

Now we can login with Lync 2012 Client.

Thanks and I hope this article will help you to start playing with Lync 2013 Preview till the lync 2013 RTM released .
Regards,
Ahmed