SharePoint 2013: setup of a development machine

You can setup SharePoint 2013 following the pretty good guide Setting up a Single-box SharePoint 2013 Virtual Machine (in alternative to the raw TechNet guide How to: Set up an on-premises development environment for apps for SharePoint).

For the creation of the proper accounts (for both SQL Server and SharePoint), you can follow the articles below:
After that, for App development you need to follow:

Windows 8: how give Internet connection to Hyper-V machines

I'm currently studying MVC 3 and 4 on the Application Lifecycle Management for TFS 2012 virtual machine, on my client machine that runs Windows 8 with Hyper-V.

If you need to setup Hyper-V on Windows 8, I've followed the guide in the blog post Get started with Windows 8 Client Hyper-V the right way.

 

Once you run the virtual machine, you can see that it does not have Internet access. That is a problem if you use nuGet to download and update packages.

To solve this problem, I have followed the guide Using Your Windows 8 Wireless Connection Inside Hyper-V.

 

But even after having Internet access, I see that I can't download or update nuGet packages from online.

Again, luckly I have found the solution online, in the answer to the question Visual Studio 2010 nuget error: The underlying connection was closed: Could not establish trust relationship for the SSL/TLS secure channel.

Using Information Worker Demo with Oracle VM VirtualBox

This is my third article about using the preconfigured 2010 Information Worker Demonstration and Evaluation Virtual Machine (SP1).

I think I've found the final solution, or better, I've found a sequence of exceptional blog postings describing how to use it with Oracle VM VirtualBox in very deep detail:

Using Information Worker Demo virtual machine in VMware Workstation

I have already written in the past the post Converting Hyper-V Machines on my attemps to use the 2010 Information Worker Demonstration and Evaluation Virtual Machine (SP1).

Now, my new job mate Djemel Guizani told me a better way to use this virtual machine in VMware Workstation:

  1. in VMware Workstation, create a new virtual machine with custom configuration;
  2. ok VMware Workstation 8;
  3. ok I will install the operative system later;
  4. ok both Microsoft Windows and Windows Server 2008 R2 x64;
  5. name and save it as you prefear;
  6. choose number of processors and cores, RAM and type of network (ok starting with NAT);
  7. ok SCSI Controller and LSI Logic SAS;
  8. ok create a new virtual disk;
  9. very important: create it as a IDE disk;
  10. choose size of disk and single/multiple files as you prefear;
  11. name it and save it.

Now the other configurations:

  1. close the virtual machine from VMware;
  2. delete the .vmdk file because not necessary;
  3. open the .vmx file just created with Notepad,
  4. and rename the file in the row with the key ide1:1.fileName, to open the 2010-10a.vhd file.

Finally:

  1. I suggest you to take a snapshop (otherwise after one month the licence expires);
  2. start the new virtual machine and log in (the password is pass@word1, the @ is shift+2);
  3. and update the VMware Tools;
  4. configure the network settings as described in UPDATE – How to use VirtualBox for Hyper-V
    Preconfigured VM Images (Graphical Step-by-Step) – Part 3 of 4
    .

Cloning a VirtualBox virtual machine with snapshots

To clone a VirtualBox virtual machine with snapshots, the steps to follow are:

  • if needed, make a backup copy of the original virtual machine;
  • from the GUI, remove all the saved snapshots, so that you have the current state only;
  • clone the virtual disk using the CloneVDI tool, described in the article Copy and Clone Virtual Machines in VirtualBox with CloneVDI Tool, or execute the following command from the command line:
         vboxmanage clonehd OldDiskName.vdi NewDiskName.vdi
  • create a new virtual machine and import the cloned disk.

You can find a more detailed explanation in the article How to Clone Virtual Machine in Sun VirtualBox- Simple Steps.

Converting Hyper-V Machines

In the past days I've downloaded a virtual machine from Microsoft called Information Worker Demo (now it's downloadable from the page 2010 Information Worker Demonstration and Evaluation Virtual Machine (SP1)).

It's very interesting because it contains:

  • Windows 2008 R2 Standard Edition x64, acting as a domain controller
  • SQL Server 2008 R2 Enterprise with Analysis, Notification and Reporting services installed
  • Visual Studio 2010 Professional
  • SharePoint 2010 Enterprise with FAST Search
  • Office 2010 with Visio and Project

After having downloaded a unrared it, I've got a problem: to run it, you need Windows 2008 R2 with Hyper-V role activated, or the free Hyper-V Server, because Windows 7 cannot run Hyper-V virtual machines.

After some (not easy!) searches on Google, I've finally found this fantastic tool: StarWind V2V Converter, which allows you to convert even Hyper-V machines without the need to run them!

Another (silly) problem: the password of the Administrator account is pass@word1, the keyboard is set to American, to to enter the "@" character... press Shift+2