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.
- I am sure it can be done! :) I am a no code guy ;)...
- Can this be done with code?; For example when the webpart is...
- Fab 40 for MOSS 2010 are now available http://microsofttec...
- i was try to remove site with "Remove-SPSite http://....." ...
- I am unable to do this in Outlook2007 :( .. I have tried eve...
- Hi, I need to ask something that regard the lookup field for...
- how do I download windows live hotmail plus to gain more MB'...
- What I did was to extend the webapplication to port 80 inste...
- I have a question... If i extend the web application to the ...
- in part 11 when i submit the info i get the error "The va...








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 [...]
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…
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 [...]