In the real world, particularly in a production environment do you really want to be poking around in VB and doing development work? Not really. Most development environments are slow and you have to wait for other folks to log of remote desktop, cause no terminal license are available due to budget cuts, etc. Everything dampers your efforts in getting your job done.
Well Microsoft came to realize this, so they made it real easy for any SharePoint developer to get a development workstation up and running seamlessly on their own machine or any other for that matter.
Download the following from Microsoft: (these are free)
SharePoint2010EasySetup.exe
SharepointServer.exe
The "SharePoint2010EasySetup" will download everything for you, including SharePoint itself, but it will take forever and it will install things that you may not need. In its setup process it downloads trials of software that may or not be relevant for you. In this case, I recommend you download SharePointServer.exe (64 or 32 bit) separately. For this article, it’s a must.
Run "Machine Role Prep Script" below. Open as an administrator a command prompt. Copy and paste it, then execute it. This will install IIS and setup the proper "ROLES and FEATURES" needed to run SharePoint. (It may or may not download solutions depending on your Windows version.)
- Decompress Sharepoint2010easysetup and place it on the root (c:).
- Create this PATH and Folders like this: C:/Sharepoint2010easysetup/Setup/SpApp
- Place "SharePointServer.exe into the "SpApp" folder.
- Go to C:/Sharepoint2010easysetup/Labs/EasySetup/Source
- Find "config.xml" open it with any text editor and remove the lines of code representing the downloads of software you don't need, located between "<Applications>", make sure you end the script properly like this: "</Applications>"
- You are ready to execute "Run.bat" which is in the same folder.
What will happen? Simple, it will configure and install SharePoint 2010 on your local machine. You can later go into CA and enter an Foundation or Enterprise key if so desired after or before the trial period.
Follow the instructions it asks and you will be ok. Once completed, you can then start working immediately. You will have SharePoint 2010 and SQL Server2008 Express installed, ready to go. This will work faster than any virtual and it runs in the background all the time. If you have powerful desktop or laptop, your SharePoint will be really fast.
Enjoy,
Fasty
Machine Role Prep Script:
start /w pkgmgr /iu:IIS-WebServerRole;IIS-WebServer;IIS-CommonHttpFeatures;IIS-StaticContent;IIS-DefaultDocument;IIS-DirectoryBrowsing;IIS-HttpErrors;IIS-ApplicationDevelopment;IIS-ASPNET;IIS-NetFxExtensibility;IIS-ISAPIExtensions;IIS-ISAPIFilter;IIS-HealthAndDiagnostics;IIS-HttpLogging;IIS-LoggingLibraries;IIS-RequestMonitor;IIS-HttpTracing;IIS-CustomLogging;IIS-ManagementScriptingTools;IIS-Security;IIS-BasicAuthentication;IIS-WindowsAuthentication;IIS-DigestAuthentication;IIS-RequestFiltering;IIS-Performance;IIS-HttpCompressionStatic;IIS-HttpCompressionDynamic;IIS-WebServerManagementTools;IIS-ManagementConsole;IIS-IIS6ManagementCompatibility;IIS-Metabase;IIS-WMICompatibility;WAS-WindowsActivationService;WAS-ProcessModel;WAS-NetFxEnvironment;WAS-ConfigurationAPI;WCF-HTTP-Activation;WCF-NonHTTP-Activation |
No comments:
Post a Comment