As I was setting up this blog I might have been a bit too enthusiastic. I started posting without thinking. That doesn’t mean that I’m not behind that which I posted, it’s more that I should have put some more thought into it, especially the structure. If I want to take people along on a learning and/or discovering tour of SharePoint 2010 I should have thought of the fact that most people don’t necessarily have a SharePoint 2010 environment ready to test and/or try out with. That’s what this post is all about. Setting up an environment in which we can test an try out. As I realize that people also might not have funds for setting up a state of the art environment I’ll try to keep the tools we use “as free as possible”. Of course you can also download the 2010 Information Worker Demonstration and Evaluation Virtual Machine, this setup will not run on a desktop or notebook. Another reason to follow this blog post is that although it is far from a complete multitier installatio, it will still give you some insight into the installation of SharePoint.
Purpose of this setup:
This will not the ideal best practices setup with different server roles, an active directory and a database setup in raid etc etc. This setup will be as easy as possible, with least amount of effort while still giving you an environment to test with. I do plan to go more in depth with articles about best setup, different server roles, scalability and also development examples. This setup is not suited for that.
As far as the hardware goes, I am running this setup on an Asus N53J
Processor: Intel Core i5-460M
Processor clock speed: 2.53GHz
Memory: 8.00GB (upgraded from 4.00 GB)
Further specs here: http://www.expertreviews.co.uk/laptops/1281541/asus-n53j/specifications
The upgrade to 8 GB was what did it for me, the system is as fast as any fast live environment I’ve seen.
- Server OS: Windows Server 2008 R2 SP1 (I used the 180 days trial if you have a key you can use it a bit longer).Get it here: http://technet.microsoft.com/en-us/evalcenter/dd459137.aspx
- Database Platform: SQL Server 2008 R2 Express make sure you get the x64 edition (the express edition is for free :D) I chose to download it with management tools (SQL Server management studio) to be able to do some manual stuff in the database if we like to.Get it here: http://www.microsoft.com/download/en/details.aspx?id=23650
- SharePoint 2010 FoundationGet it here: http://www.microsoft.com/download/en/details.aspx?id=5970
- And maybe for some a big surprise, the virtualization platform of Oracle: Virtual Box. Why? Because its free, easy to work with, it performs and it has yet to let me down otherwise. At the time of writing the version is: 4.1.10Get it here: https://www.virtualbox.org/wiki/Downloads
- Software to mount ISO images: I used Virtual Clone Drive, if you have another piece of software that works for you, that’s fine too.Get it here: http://static.slysoft.com/SetupVirtualCloneDrive.exe
So lets get installing already!
So being the organized person everyone knows me to be (cough, cough), I advise you to first download everything you need and neatly place it all together in a single, easy to find folder. Well ok, here we go then:
Step 1 Install VirtualBox:
I already installed VirtualBox and don’t have a system ready to do it again and make screenshots, it’s no biggy, basically just a plain old next, next finish. But details can be found here: https://www.virtualbox.org/manual/ch02.html#installation_windows
Step 2 Setting up VirtualBox for Windows
- Start up VirtualBox and click “New”, the wizard will start.
- Skip the intro screen by pressing next.
- VM Name and OS Type, in this window, type an appropriate name, for OS type, with OS choose “Microsoft Windows” for version choose “Windows 2008 64 bit” and press next.
- Memory, choose the base memory size, if you have 6Gb or more on your host, choose 4Gb for the virtual environment, if you only have 4Gb on your host go for 2Gb for you virtual environment. Press next.
- Virtual Hard Disk, I recommend 40Gb, 20Gb is the default, but better save than sorry. I haven’t found a way to increase the size, of course you can always add a second virtual hard disk, but once the first one is full you’ll be sorry, because updates and patches will need to be installed on the primary hard disk and when it’s full it is really full, so no more room for patches and/or updates. Choose a new harddisk. Click next.
Choose the type/format of the new disk, I chose VDI, you could e.g. consider VMDK if you also use VMWare. Click next.
Fixed or Dynamical, I chose fixed, this will perform a bit better as the system will not need to increase size when you need it because it is already available. It will on the other hand take a bit longer to create. Click next.
Location and size, I chose the default location and a size of 40Gb (like I said above). Click next.
Finally check the summary. Click Create.
And now we wait.
Step 3 Installing Windows
- Mount the Windows ISO that you’ve downloaded with the mounting software, with Virtual Clone drive you can right click the ISO and assign a driveletter to it (in my case drive letter F:).
- In VirtualBox double click your newly created image. The first run wizard will start. The wizard will ask you which drive letter holds the installation media, pick the drive letter used in step 1. Click next.
- The wizard will restart VirtualBox and if all has gone well the Windows Installer will take over, from here on some screenshots showing you the choices I’ve made.
Ok, now after the system restarted, we’re asked to create a new password, check and install critical updates after that we’re done with Windows for now.
Step 4 Installing the Guest Additions to share the install files
Now we need the other software and it’s not in ISO format, no worries, if we install the VirtualBox guest additions we can add folders from our host operating system and share them as network shares.
To install the guest additions, click the devices menu in the top grey bar of your running virtual image.
Now the autoplay feature will start:
Choose “Install or run program from your media”, then choose next, next, install and then reboot.
When done, in the same “Devices” menu, choose “Shared Folders”.
Click the little folder with the plus, on the right side of the screen, it will open the “share folder” dialog.
If you want to make sure that shares are permanent and don’t disappear after a system shutdown, check “Make Permanent”.
For “folder path” choose the folder into which you put all the downloaded files (SharePoint, SQL /Server 2008 etc.) and click ok.
The install files can now be found by choosing Network in the Start menu. Click on the yellow bar in the top of the window to turn Network Sharing and Discovery on. When that’s done, have some patience, the share VBoxSvr will appear, it contains the downloaded software.
Step 5 Renaming the Server
Before we install anything it might be a good idea to rename our server. Go to start, right click computer, choose properties, somewhere in the center of the screen, choose “change settings”. In the popup choose “change”, in the popup that now appears you can change the computer name, I changed it to “SPTest”. To make these changes final, reboot the virtual image.
Step 6 Activating the domain controller role
- From Start -> Administrative Tools, open “Server Manager”, in the treeview on the left, right click Roles. In the center screen click “Add Roles”. Click next.
- Now we select the Active Directory Domain Services role. Check the box and click “Next”. Click “Next” again and click “Install”.
- Click “Close”, we’re almost done, now we run DCPromo. In Start, in the search box type “DCPromo and press return.
- Click next until you reach a screen that lets you choose a deployment configuration, we choose “a new domain in a new forest”. Click “Next”.
- In the next step we need to choose a fully qualified name, I chose “domain.local”. Click “Next”.
- Now we have to choose a functional level, I chose “Windows Server 2008 R2”, it has the most features but does not integrate with lower versioned domain controllers, I chose this because I don’t know what I want to do in the future while testing and trying out. As I am not planning to integrate with other domain controllers there are no downsides to this choice. Click “Next”.
- Now we have to choose additional domain controller options, DNS is default for a new forest and a new domain controller. So click “Next” ignore the warning by clicking “Yes” for the popup.
- In the next screen, keep the default settings. Click “Next”.
- Now we have to choose an Restore Mode Administrator account password, the instructions say it has to be different than the standard administrator account, as this is a test setup I’m going for the same as I used for the server, just to keep it simple and not having to keep track of all kinds of different passwords. Fill in the password and click “Next”.
- Now we get a summary screen, check you settings and if satisfied, click “Next”.
- Now the Installation will start and when finished we have to restart.
Step 7 Installing SQL Server 2008 R2
- From the VBoxSvr share, rightclick “SQLEXPRWT_x64_ENU.exe” and choose “run as administrator” it will extract some installation file. The .Net Core role needs to be enabled so click ok.
Be patient, the installation screen of SQL 2008 will pop up in a short while.
- Choose “New installation or add features to an existing installation.”
Accept the terms and click next.
- From here on some screens of the choices I made
- When finished it might be a good idea to check for updates. Install any updates found.
Step 8 Installing SharePoint Foundation
- From the share we created earlier, start SharePointFoundation.exe, the Install screen will appear, choose “Install software prerequisites”It will install and configure these:
• Application Server Role, Web Server (IIS) Role.• Microsoft SQL Server 2008 Native Client.• Windows Identity Foundation.• Microsoft Sync Framework Runtime v1.0 (x64).• Microsoft Chart Controls for Microsoft .NET Framework 3.5.• Microsoft Filter Pack 2.0.• Microsoft SQL Server 2008 Analysis Services ADOMD.NET.• Microsoft Server Speech Platform Runtime (x64).• Microsoft Server Speech Recognition Language – TELE(en-US).• SQL 2008 R2 Reporting Services SharePoint 2010 Add-in.
- Check for updates again. Little note on the updates, some may take a while and by a while I mean you might be wondering if things are still running. Again be patient, feel free to do something else while waiting, e.g. watch an episode of the Big Bang Theory while updating. Another note, be aware of any pop up windows that don’t pop up, they might need some attention for the updates to continue.
- After updating the final steps, start the SharePointFoundation.exe from the share again. Now we choose “Install SharePoint Foundation” Accept the license agreement.
- In the next screen we are going for a farm installation and not a stand alone installation, I am doing this for educationla purposes, the difference I found on the web:
Standalone Installation :· SQL Server 2008 Express Edition is the database type automatically installed (instead of Windows Internal Database/SQL Server 2005 Embedded Edition used in Windows SharePoint Services 3.0).· This is almost a “one-click” installation, no questions are asked during setup or during Post Setup Configuration Wizard (PSConfig)· A Web application and team site collection are automatically created in the newly created farm. The search service is started automatically.· Cannot add servers to join a farm.· When the installation is complete, the browser opens taking you to a newly created site collection.· Installer is not prompted for farm passphrase, it is automatically generated.Server· SQL Server 2005 SP2/SQL Server 2008 is the database type, not installed by setup.· Administrator can pick whether or not to create a site and the site template to use.
· Prompted for farm passphrase during PSConfig phase of installation.
Click “Server Farm”
- In the next step we choose “Complete” for educational purposes. I chose not to change the location. Click “Install Now”. Here we go!!
- Once we’re done installing we continue with the configuration, Keep the “Run the SharePoint Products configuration wizard now” box checked and click “Close”.
- For the next steps be sure to have the SQL Server name ready, you’ll also need the admin account, but that’s the account you’re currently logged into (if you followed the steps during the SQL installation. Click “Next” and then “Yes”.
- Connect to a server farm: choose “Create a new server farm” click “Next”.
- Now we have to specify the database configuration: Server name: SQLExpress, Login and password: same as you log on to the server with. Which is Domain\administrator since we installed the domain controller. (if you have any problems, make sure SQL server is up and running using the Click “Next”.
- Create a passphrase, I used the same as I did for the server, again, this is not best practice but in this situation very practical. Click “Next”.
- Configure the Central Admin web application, keep the default settings and click “Next”.
- Next step is completing the installation, take notion of this summary, it gives you important information like what the name is of the SharePoint site and the Central admin site. Click “Next”.
- And we’re done!! Take note of the information in the window, and click “Finish”.
Step 8 The final step, configuring the server
- Creating a managed account, I chose the same account as with earlier steps, just to keep it simple. Click “Next”.
- Creating a top level site, click “Next”.
- The wizard summary, click “Finish”.
And we’re finally done. Here is what we all did it for: