SharePoint: Let PSConfig and STSADM setup your MOSS

This is eight in the series on MOSS Scripted Installation (SQL Express Edition)

Lets get our hands dirty and use psconfig and stsadm to do the configuration that we want!

Earlier we have seen this bit, wherein you don’t run the configuration wizard and run these commands from a batch file

psconfig.exe -cmd configdb -create

psconfig -cmd helpcollections -installall

psconfig -cmd secureresources

psconfig -cmd services -install

psconfig -cmd installfeatures

psconfig -cmd adminvs -provision -port 8000 -windowsauthprovider onlyusentlm

psconfig -cmd applicationcontent -install

Now lets get further down in the script

**SetupServices**
stsadm -o osearch -action start -role indexquery -farmcontactemail email@yourdomain.com -farmserviceaccount domain\username -farmservicepassword password -defaultindexlocation “C:\Program Files\Microsoft Office Servers\12.0\Data\Applications”

This starts your Office Search Services.

**CreateSSP**
stsadm -o extendvs -url http://%computername%:8100 -ownerlogin domain\username -owneremail email@yourdomain.com -exclusivelyusentlm -apidname “OurSSPon8100″ -apcreatenew -apidtype configurableid -apidlogin domain\username -apidpwd password

stsadm -o extendvs -url http://%computername%:8200 -ownerlogin domain\username -owneremail email@yourdomain.com -exclusivelyusentlm -apidname “MySiteson8200″ -apcreatenew -apidtype configurableid -apidlogin domain\username -apidpwd password

stsadm -o createssp -title “Shared Service Provider” -url http://%computername%::8100 -mysiteurl http://%computername%:8200 -indexserver %COMPUTERNAME% -indexlocation “%Programfiles%\Microsoft Office Servers\12.0\Data\Applications” -ssplogin domain\username -ssppassword password

**CreateSiteCollection**
stsadm -o extendvs -url http://%computername%:80 -ownerlogin domain\username -owneremail email@yourdomain.com -exclusivelyusentlm -apidname “SiteCollectionon80″ -sitetemplate SPSPortal -apidtype configurableid -apidlogin domain\username -apidpwd password

This will setup your webapps for shared services, my sites, create shared service provider and create your site collection as well.

That’s it.

Your MOSS installation is now completely scripted on SQL EXPRESS Edition.

Next series will be on unattended SQL Server 2005 installation and then a modified version of this script.

join our mailing list to get our free newsletter
* indicates required field

3 Comments so far »

  1. Links (11/6/2007) « Steve Pietrek’s SharePoint Stuff said,

    Wrote on November 7, 2007 @ 11:34 am

    [...] SharePoint: Let PSConfig and STSADM setup your MOSS [...]

  2. Software Development Guide said,

    Wrote on November 25, 2007 @ 1:19 pm

    Software Development Guide…

    I couldn’t understand some parts of this article, but it sounds interesting…

  3. MOSS Command Line Installation Round Up | Alpesh Nakars' Blogosphere said,

    Wrote on March 27, 2008 @ 5:51 am

    [...] SharePoint: Let PSConfig and STSADM setup your MOSS If you enjoyed reading this post, check out other related posts. Browse through the site and grab [...]

Comment RSS · TrackBack URI

Leave a Comment

Name: (Required)

E-mail: (Required)

Website:

Comment: