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.
- 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...
- Can anyone tell me what to do I need to send attachments tha...
- Hi Bryan Yes this is possible, pls check this blog link ...
- Hi, I'm not able to view flashy images on my incoming/outgo...
- ok tahts great- how can I pay and get this windows live hotm...
- Just what I needed. Thanks!...



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