Install SharePoint 2013 in Virtual Machine

July 23, 2012 — 10 Comments

How to install and configure SharePoint 2013 in virtual environment using VirtualBox?
In this post you will find all the steps need to build SharePoint 2013 virtual environment in Windows 2012 server with SQL 2012

My Environment:

RAM: 12 GB
Disk: 200GB
Desktop: Core i5
Operating System: Windows 7 64 bit

1.  Download Virtualbox and create a virtual machine.

2. My settings for SharePoint 2013 Development Environment contain (Windows 2012 Server, SQL 2012 Server and SharePoint 2013)

image

 

3. Install Windows 2012 in the new Virtual Machine. You can download Windows 2012 Release Candidate from :

Download Windows Server 2012 Release Candidate (RC)

 

4. Once you install Windows 2012 Release Candidate, setup Active Directory, DNS and setup all the accounts you needed for SharePoint Installation.
See my other post about how to install and configure Active Directory

Install and Configure Active Directory in Windows 2012 Release Candidate
Create new users accounts in Active Directory in Windows 2012 Release Candidate

You need following accounts for SharePoint Installation:

Account Purpose Requirements
SQL Server service account

create_sharepoint_sql_account-3

The SQL Server service account is used to run SQL Server. It is the service account for the following SQL Server services:

MSSQLSERVER

SQLSERVERAGENT

If you do not use the default SQL Server instance, in the Windows Services console, these services will be shown as the following:

MSSQL<InstanceName>

SQLAgent<InstanceName>

Use either a Local System account or a domain user account.

If you plan to back up to or restore from an external resource, permissions to the external resource must be granted to the appropriate account. If you use a domain user account for the SQL Server service account, grant permissions to that domain user account. However, if you use the Network Service or the Local System account, grant permissions to the external resource to the machine account (<domain_name>\<SQL_hostname>).

The instance name is arbitrary and was created when SQL Server was installed.

Setup user account

create_sharepoint_setup_account-4

The Setup user account is used to run the following:

Setup

SharePoint Products Configuration Wizard

 

Make setup account as local administrator group

Domain user account.

Member of the Administrators group on each server on which Setup is run.

SQL Server login on the computer that runs SQL Server.

Member of the Server admin SQL Server security role:

If you run Windows PowerShell cmdlets that affect a database, this account must be a member of the db_owner fixed database role for the database.

Server farm account or database access account

create_sharepoint_farml_account-4

The server farm account is used to perform the following tasks:

Configure and manage the server farm.

Act as the application pool identity for the SharePoint Central Administration Web site.

Run the Microsoft SharePoint Foundation Workflow Timer Service.

Domain user account.

Additional permissions are automatically granted for the server farm account on Web servers and application servers that are joined to a server farm.

The server farm account is automatically added as a SQL Server login on the computer that runs SQL Server. The account is added to the following SQL Server security roles:

dbcreator fixed server role

securityadmin fixed server role

db_owner fixed database role for all SharePoint databases in the server farm

5. Install and Configure SQL Server 2012 . You can download SQL Server 2012 : http://www.microsoft.com/betaexperience/pd/SQL2012EvalCTA/enus/default.aspx
Please view my other post about how to install and configure SQL Server 2012 in Windows 2012: http://virtualizesharepoint.com/2012/07/23/install-sql-server-2012-in-windows-server-2012/

6. Create SharePoint Setup, Farm accounts in SQL Server and assign permissions
Click on Windows Key in your keyboard and this is what you will see

image

Right click your mouse anywhere in the window and you will see All apps icon.  Click there to see SQL Management Studio

setting_up_sharepoint_account_in_SQL_2012

7. Open SQL management studio and create SharePoint Installation Accounts (sp_setup, sp_farm)

add_new_login_in_sql_2012_2

add_new_login_in_sql_2012_3

add_new_login_in_sql_2012_4

 

8. Once you create both accounts, logoff ( I used Admin account to create SQL accounts for SharePoint. Now I want to login back as sp_setup to install SharePoint)

login_as_sp_setup_5

In Windows 2012, click on the left arrow

login_as_sp_setup_6

Click on other user

login_as_sp_setup_7

Now login as sp_setup to start the SharePoint 2013 installation

10 responses to Install SharePoint 2013 in Virtual Machine

  1. 

    nice post aryan it helps me a lot to install sharepoint 2013 in my pc.
    thank you

  2. 

    Hello when trying to login as sp_setup I get the annoying:

    “the sign-in method you’re trying to use isn’t allowed…”

    Any ideas?!

    regards T

  3. 

    Can u plz share this VHD somewhere ?

  4. 
    Anatoly Mironov October 2, 2012 at 1:25 am

    Reblogged this on Share… What? and commented:
    Install SharePoint 2013 on Windows Server 2012. A great tutorial.

Trackbacks and Pingbacks:

  1. Installing SharePoint 2013 Step by step | Virtualize SharePoint and SharePoint Virtualization - July 24, 2012

    [...] July 24, 2012 by Aryan Nava 0 Comments Install and configure SharePoint 2013 in Windows 2012 Server with SQL Server 2012.  See my other post about how to install and configure Windows 2012 and SQL 2012 [...]

  2. Installing SharePoint 2013 Preview in Windows 7 | Virtualize SharePoint and SharePoint Virtualization - July 26, 2012

    [...] http://virtualizesharepoint.com/2012/07/23/install-sharepoint-2013-in-virtual-machine/ [...]

Leave a Reply

Please log in using one of these methods to post your comment:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s