This blog shows how to create a SharePoint 2013 development environment on Azure.
In here I used a virtual network and two virtual machine one for active directory and other one for SharePoint and SQL installation.To make this environment only you have to follow the following steps.
- Create a Virtual Network.
- Provision a virtual machine to run the domain controller and DNS server roles.
- Install Windows Server Active Directory.
- Add the basic installation accounts
- Set the DNS server for the Azure virtual network.
- Provision a virtual machine to run the SharePoint and SQL
- After virtual machine is provisioned, sign in and join it to the domain.
- SQL Server 2012 Installation.
- Windows server 2012 configuration.
- SharePoint 2013 configuration.
Create a Virtual Network
- Sign in to the Azure Management Portal.
- Create a virtual network. Click Networks > Create a virtual network. Use the values in the following to complete the wizard.
Provision a virtual machine to run the domain controller and DNS server roles
- In the Azure Management portal, click New > Compute > Virtual Machine > From Gallery and use the following values.
- Virtual Machine Name: Type a single label
- New User Name and the password: Type the name of a user. This user will be a member of the local Administrators group on the VM.
- Cloud Service: Choose Create a new cloud service.
- Cloud Service DNS Name: Specify a globally unique name
- Region/Affinity Group/Virtual Network: Specify the virtual network name.
- Storage Account: Choose Use an automatically generated storage account.
- Select Install the VM Agent and any other extensions you need.
Install Windows Server Active Directory
Once you created the VM then you have to install the AD and configure it.
- Open Server Manager and click ‘Manage’ on the top right corner to add Roles and Features.
- Select the role-based or feature-based installation.
- Select the server you want to use as a Domain Controller.
- Click to add ‘Active Directory Domain Services’. You don’t have to check ‘Domain Name System (DNS) server’ right now since it’s also promoted later.
- Add required features and skip the feature selection dialog.
- Click install and wait until the installation finished. Don’t close the dialog.
- A link will be displayed to promote the server to a domain controller. Click the link.
- Select to create a new forest and enter a root domain name.
- Make sure ‘Domain Name System (DNS) server’ is checked and enter a restore password.
- Skip the DNS Options and use the specified NetBIOS domain name.
- Use the specified locations for AD DS database, log files and SYSVOL. Click next to review your options.
- Click install and wait until you are required to reboot your server. Click on more.
Add the Basic Installation Accounts
You need to create at least the following domain accounts in Active Directory to successfully install SharePoint 2013.
- SQL Server Service Account - sqlsvcacc
- SharePoint Setup Administrator- spAdmin
- SharePoint Farm Account -spFarm
To do this,
- Open Server Manager and click ‘Tools’ on the top right corner and click on Active Directory Users and Computers.
- Under domain name you created,click right on Users.Then New > User.
- Then add the above three basic accounts as follows.
Set the DNS Server for the Azure Virtual Network.
- Click Virtual Networks, double-click the virtual network you created and click Configure.
- Under DNS servers, type the name and the IP of one of the VMs that runs the DC/DNS server role and click Save.
- Select the VM and click Restart to trigger the VM to configure DNS resolver settings with the IP address of the new DNS server.
Provision a virtual machine to run the SharePoint and SQL
- Create the Virtual Machine like earlier by choosing Windows Server 2012 Data centre image or Visual Studio 2013 gallery image(In which already installed SharePoint,SQL and Visual Studio under msdn).
- Select A4 (8 Cores and 14GB Memory) as the machine size and virtual network you created above as the region.
After virtual machine is provisioned, sign in and join it to the domain
- In Server Manager, click Local Server > WORKGROUP > Change
- Then select Domain and type the name of domain.
- Provide credentials of a domain user, and then restart the VM to complete the domain join.
SQL Server 2012 Installation
If you are using a virtual machine in which SQL Server installed,then no need to worry about the this.Otherwise follow the steps below link given.
Windows server 2012 configuration
http://sharepoint-tutorial.net/post/2012/07/16/install-sharepoint-2013-windows-server.aspx
SharePoint 2013 configuration
Before installing the SharePoint make sure you are logged in SharePoint administrator account.- Run the SharePoint 2013 configuration wizard.
- Click Next and Select to create new farm account.
- Enter the SQL Server and specify the database and the farm account details
- Specify the port number for the central administrator database(as you wish).
- Review your settings and start the installation.
- Once istallation is done,you can open the central administrator.
Since we are using virtual machines within a virtual network we have to use static IP addresses. In my next post will be described this.
👍
ReplyDelete