Thursday 20 December 2012

We are glad to release our first free SharePoint 2010 theme. GreenShade theme has 2 columns of fixed width and its main purpose is to help you get started with SharePoint branding.
You can use the theme for free and without any restrictions.
Please link to this article if you would like to spread the word.
Features:
- Two-columns
- Fixed-width
- CSS based
- Two master pages and one page layout provided
- Slider powered by jQuery on homepage
- Top and left dynamic navigation
- Ideal for 1024×768 screen resolution
- Suitable for small SharePoint 2010 Publishing Sites
GreenShade Homepage
Second/Third Tier - Green Shade
Instructions
To enable the GreenShade theme for SharePoint 2010 follow these simple steps.
Download the GreenShade.zip file and extract the files.
There are three folders in the zip file:
MasterPages folder contains two mastrepages. Homepage master page greenshade-home.master and the general master page used across the site greenshade.master. Import these two master pages into “Master Page” site objects in SharePoint Designer.

PageLayout folder contains a custom page layout created for this theme. This page layout allows you to display the left navigation and other custom functions. Import this custom page layout into “Page Layouts” site objects in SharePoint Designer.
And finally, the third folder called greenshade contains a css folder, images folder and scripts folder.
Place the greenshade folder under your site root. Make sure Network and Network Service accounts have read permissions on this folder.
Place the folder under your site root
Once all the files are put into place it is time to set the greenshade.master as the default master page.
Go to your site homepage and click on Site Actions >> Site Settings.
Under “Look and Feel” click on “Master page” and under Site Master Page select greenshade.master and click OK.


Go back to the Site Settings and click on “Page layouts and site templates”. Make sure you have the “(Article Page) Green Shade” on the right side pane for Page Layouts.

Go to your site and edit all the pages to inherit the custom page layout “Green Shade”.

Now, we need to take care of the homepage.
On your SharePoint Designer, under Master Pages, right click on the greenshade-home.master and select “Set as Custom Master Page”. This will make the greenshade-home.master as your default homepage layout.

Navigate to the homepage and you will notice the three small content boxes are missing. Edit the hompage, Site Action >> Edit Page. Click on the “Main Content” area and under the Ribbon click on HTML >> Edit HTML Source.

Open homepage-boxes.htm (included in the GreenShade.zip file) with Notepad and Copy&Paste the content in the HTML Source and click OK. Publish the page and you’re done.

Monday 15 October 2012

How to build a SharePoint 2010 development machine


Summary:
This tutorial covers how to build a SharePoint 2010 development machine on Windows Server 2008 R2.
Requirements:
For your virtual machine, you'll need VirtualBox and either an MSDN subscription or licenses for
  • Windows Server 2008 R2,
  • SQL Server 2008,
  • SharePoint Server 2010,
  • Office 2010 Professional Plus,
  • Visio 2010,
  • SharePoint Designer (free), and
  • Visual Studio 2010.
Note: Do not take snapshots during this process if you are using VirtualBox! When I did so (from a Mac OSX 10.6.8 on VirtualBox 4.4.1), VirtualBox threw disk errors every time I started up my VM (described here too). So at different milestones, like completing tedious updates, export the appliance (via "File > Export appliance") as an ova file instead.
Steps:
  1. Install Windows Server 2008 R2 with updates
  2. Convert it to a workstation
  3. Install Domain Controller
  4. Add users to Active Directory Users and Computers
  5. Install SQL Server 2008 R2
  6. Install SharePoint Server 2010
  7. Install Cumulative Updates (always install the SharePoint Foundation CUs before the SharePoint Server CUs)
  8. Install Apps (Office 2010 Professional Plus, Visio 2010, SharePoint Designer (free), and Visual Studio 2010)
How-to build your SharePoint 2010 development machine
Install Windows Server 2008 R2 and updates
  1. In VirtualBox, create a virtual disk that is 80gb
  2. Download and install Windows 2008 R2 Enterprise from MSDN
  3. Run all updates
  4. Download to the desktop:
  5. Install Virtual Clone Drive
  6. Use a private IP Address: Start > Ctrl Panel > Network and Internet > Network and Sharing Center > Local Area Connection > Properties > Internet Protocol Version 4 (TCP/IPv4) > Properties (I know, crazy right?). Then just set the IP manually in XP for the Local Area Connection using the following:
Use 10.10.10.1 for the IP Address. 255.0.0.1 for the subnet mask. 127.0.0.1 for the DNS server.
Convert Windows Server 2008 R2 to a Workstation:
  1. Click Start and type oobe. In the Initial Configuration Tools window click Provide computer name and domain. Type in a description for "Computer Description." (SharePoint Development Environment). In the System Properties window that shows up click Change. Fill in the Computer name and Workgroup and click OK twice. Use "sharepoint" for the Computer name and leave "WORKGROUP" as the Wordgroup.
  2. Shutdown
  3. Make sure there is no second adapter and that the first adapter is NAT.
  4. Start
  5. Change your computers registered owner and organization name
    Click Run in the Start menu. Type regedit and click OK. Navigate to HKEY_LOCAL_MACHINE > SOFTWARE > Microsoft > Windows NT > CurrentVersion. Double-click and edit RegisteredOwner to change your registered owner. Double-click RegisteredOrganization. Change the registered organization.
  6. Turn off strong passwords:
    Optional
    : Run > gpedit.msc. In the Local Group Policy Editor, expand Computer Configuration > Windows Settings > Security Settings > Account Policies and click Password Policy. In the right pane double click Password must meet complexity requirements. Set it to Disabled. Click OK.
  7. Turn off Shutdown event tracker:
    Click Run in the menu Start, then type gpedit.msc and click OK. The Local Group Policy Editor opens. Browse to Administrative Templates in Computer Configuration, click System and double click in the right window on Display Shutdown Event Tracker. Change its value to Disabled and click OK.
  8. Turn off ctrl-alt-del login:
    In the Start menu, expand Administrative Tools and click Local Security Policy. In the Local Security Policy editor expand Local Policies and click Security Options. In the right pane search and open Interactive logon: Do not require CTRL+ALT+DEL and choose Enabled. Save your change by clicking OK.
  9. Turn on Windows Audio:
    Run > services.msc. The Services management console opens. In the Services window scroll down to Windows Audio and double-click it. Select Automatic as Start-up type. Click Apply. Click Start to start the Windows Audio service.
  10. Turn off Internet Explorer anal retentiveness:
    Start the Server Manager. Click Configure IE ESC. Set both Administrators and Users to Off. Save the changes by clicking OK.
  11. Turn on Desktop Experience and SMTP:
    Server Manager > Features Summary > Add Features. Check Desktop Experience. Also, click SMTP. Click Next. After installation, click Close.
  12. Restart your computer.
Set it up as a Domain Controller
1
  1. Start > All Programs > Windows Update
  2. Install additional updates. There are always additional updates.
  3. Promote the machine to a domain controller by running dcpromo. Follow the installation steps according to screenshots below.




 2.Choose to create a new domain in a new forest

 3.Use contoso.local
 Use your computer name... in this case, "SHAREPOINT"










  1.  
    1. Once the server is booted and you logon to it, click on  Start > Administrative Tools ,  will notice that following have been installed :
o    Active Directory Domains and Trusts
o    Active Directory Sites and Services
o    Active Directory Users and Computers
o    ADSI Edit
o    DNS
o    Group Policy Management


Summary
Setting up a Domain Controller in Windows Server 2008 to install Active Directory Domain Services is performed by running the dcpromo command. It has some new options like using Advanced Mode Installation, and exporting settings to an answer file . In my next articles, I will show you how to perform an unattended installation to set up your domain controller, and also how to set up an additional domain controller using Windows Server 2008.

                        Then run Start > Accessories > Terminal Type in "ipconfig /all"
Add users to Active Directory Users and Computers
  1. Start > Active Directory Users and Computers. You will want to create accounts for these users. Shown below are steps to add SP_SQL. Rinse and repeat for SP_Farm and SP_Setup.
    • CONTOSO\SP_SQL
    • CONTOSO\SP_Farm
    • CONTOSO\SP_Setup
    •  



  1. Set up SP_Setup
    Go to Start > Active Directory Users and Computers and double click on SP_Setup. Click on MembersOf and add "Domain Admins" and any other groups the regular Administrator account belongs to. (Enterprise Admins, Group Policy, Group Policy Creator Owners, Schema Admins). I'm really not sure if all that is necessary.
  2. Shut down
  3. Export a OVA File so you have a backup.
Install SQL Server 2008 R2

  1. Reboot
  2. Log in as Contoso\Administrator
  3. Download SQL Server 2008 R2 Enterprise from Msdn.microsoft.com.
    Click Installation in the left side of the Wizard

  4. and then click New installation

  5. wait 
  6. Click ok on the Setup Support Rules page, assuming all rules passed.

  7. wait
    Please wait while sql Server 2008 R2 Setup processes the current operation
  8. Type the appropriate product key and click Next on the Product Key page.
    Product Key
  9. Review and accept the license terms. Microsoft appreciates you clicking to agree to send feature usage data to help improve product features and support. Click Next.
    License Terms
  10. Click Install on the Setup Support Files page.
    Setup Support Files
  11. wait
    Setup Support Files
  12. Review the Setup Support Rules. There will probably be warnings:
    Setup Support Rules
  13. You can skip them if these are the warnings you get:
    Rule Computer Domain Controller generated a warning
    Rule Microsoft .NET Application Security generated a warning
    Rule Windows Firewall generated a warning
  14. Click Next
    Setup Role
  15. Click Database Engine Services, Reporting Services and Management Tools Complete on the Feature Selection page. Click Next to continue.
    Feature Selection
  16. Click Next on the Installation Rules page.
    Installation Rules
  17. Choose "Default instance" and go with the default name.
    Instance configuration
  18. Click Next
    Disk space requirements
  19. Use the SP_SQL account to run the services:
    Server configuration
  20. Click "Collation" and then "customize" set it to Latin1_General_CI_AS_KS_WS
    Server configuration collation
  21. Cover all bases you do not need to put in the SP_SQL user, tempting though it is:
    Database Engine configuration
  22. Choose the middle option:
    Reporting Services Configuration
    Error Reporting
    Installation Configuration Rules
  23. Click "Install"
    Ready to install
  24. Export a OVA File so you have a backup.
Install SharePoint Server 2010
  1. Log in as SP_Setup
  2. Go to Start > Computer > Local Disk (C:) > Users > Administrator > Desktop and copy over the files that are there to the desktop.
  3. Go to Start > Microsoft SQL Server 2008 R2 > Configuration Tools > Reporting Services Configuration Manager and "Connect to local Server"
    SQL Server 2008 R2 Reporting Services
  4. Click "Web Service URL"
    Web Services URL
  5. Set the TCP port to 8080, as recommended here.
  6. Shutdown
  7. Add a second network adapter (bridged)
  8. Restart
  9. Log in as SP_Setup
  10. Go to Start > SQL Server 2008 R2 > Microsoft SQL Server Management Studio
  11. Add SP_Setup to dbcreator and securityadmin server roles
  12. Expand Sharepoint > Security > Server roles and click on "securityadmin"
    SQL Server Management Studio
    Server Role Properties - dbcreator
    Select Logins
    Server Role Properties - dbcreator
    Server Role Properties - securityadmin
    Select Logins
  13. Mount SharePoint disk image
    Mount Sharepoint Disk image
  14. Click "Install software prerequisites"
    SharePoint server 2010
    Welcome to the Microsoft SharePoint 2010 Products Preparation Tool
    License terms for software products
    Microsoft SharePoint 2010 Products Preparation Tool
    Installation Complete
  15. Run Autorun
    Enter your product key
    Read the Microsoft Software License Terms
    Choose a file location
    Installation in progress
  16. Start the Sharepoint Configuration Wizard
    Welcome to SharePoint Products
    Choose yes to restart the services
    Connect to a server farm
    Specify Configuration Database Settings
    Specify farm security settings
    Configure SharePoint Central Administration Web Application
    Completing the sharepoint products configuration wizard
    Configuring SharePoint Products
    Configuration Successful
Install Cumulative Updates
  1. Shutdown, run any updates, restart, shutdown and export an ova file
Download and Install Development Applications
  1. Install SharePoint Designer
  2. Install Office Professional Plus 2010 with SP1
  3. Visio 2010
  4. Visual Studio 2010 Ultimate