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.
- Thanks, that is quite useful!...
- Hi Guys, Any one know how to push this out to multiple ma...
- Cheers mate. tried a bunch of stuff and this worked a treat ...
- .. ] is another nice source of information on this topic..]...
- I found easier way to do so. Tools-> Options-> Mail F...
- Yeah I was wondering how to sign up for the Windows Live Hot...
- Hello, I already have the image embedded into the html si...
- make sure you do all line breaks with shift + enter and b...
- after creating a sig with the logo you want, you can open MS...
- What if there is not signature folder, I'm doing this remote...



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