More information on psconfig.exe: http://technet.microsoft.com/en-us/library/cc263093.aspx

1.   psconfig -cmd configdb -create -server "SERVER\INSTANCE" -database "nameOFtheConfigDB" -admincontentdatabase "nameOFtheadmincontentDB" -user DOMAIN\FARMACCOUNT -password PASSWORD 2.  psconfig -cmd helpcollections -installall

// Secure resources in file system and registry entries
psconfig -cmd secureresources

// Install services on the server
3.  psconfig -cmd services -install

**  Setup Services  ** 

// Configure Windows SharePoint Services Help Search service: mandatory to successfully provision services on this server. More info: http://technet.microsoft.com/en-us/library/cc288507.aspx
4.  Stsadm -o spsearch -action start -farmserviceaccount DOMAIN\FARMACCOUNT -farmservicepassword PASSWORD -databaseserver "SERVER\INSTANCE" -databasename "nameOFtheSearchDB"

// Configure Office SharePoint Server search service. More information is available at http://technet.microsoft.com/en-us/library/cc262920.aspx
5.   Stsadm –o Osearch -action start -role Index -farmcontactemail "EMAIL" -farmperformancelevel Reduced -farmserviceaccount DOMAIN\SEARCHSERVICE -farmservicepassword PASSWORD

// Actually enable services on the server
6.    psconfig -cmd services -provision

7.    psconfig -cmd installfeatures

// Create central administration website

8.    psconfig -cmd adminvs -provision -port PORT -windowsauthprovider onlyusentlm

9.    psconfig -cmd applicationcontent -install

Add servers to your farm

Once you finished to configure the first server, you can add additional servers to the farm. Procedure is the same whatever you installed MOSS or WSS

  1. psconfig -cmd configdb -connect -server "SERVER\INSTANCE" -database "nameOFtheConfigDB" -admincontentdatabase "nameOFtheadmincontentDB" -user DOMAIN\FARMACCOUNT -password PASSWORD
  2. psconfig -cmd helpcollections -installall
  3. psconfig -cmd secureresources
  4. psconfig -cmd services install
  5. psconfig -cmd installfeatures
  6. psconfig -cmd applicationcontent -install

Optional

CreateSSP

  1. Create web applications for the Shared Services Provider
  2. Create a new web app for the SSP admin site

Stsadm -o extendvs -url <URL for the web app> -ownerlogin domain\username -owneremail email@yourdomain.com -exclusivelyusentlm -apidname “AppPoolName″ -apidtype configurableID -apidlogin <domain\username> -apidpwd <app pool password>Create a new web app for the My site

Stsadm -o extendvs -url <URL for the web app> -ownerlogin domain\username -owneremail email@yourdomain.com -exclusivelyusentlm -apidname “AppPoolName″ -apidtype configurableID -apidlogin <domain\username> -apidpwd <app pool password>

More on Stsadm -o extendvs is available at http://technet.microsoft.com/en-us/library/cc263040(office.12).aspx

    3.   Create the Shared Services Provider

Stsadm -o Createssp -title “Shared Service Provider” -url <created in 1a.> -mysiteurl <created in 1b.> -indexserver %COMPUTERNAME% -indexlocation “%Programfiles%\Microsoft Office Servers\12.0\Data\Applications” -ssplogin domain\username -ssppassword password

More on Stsadm -o Createssp : http://technet.microsoft.com/en-us/library/cc262773(office.12).aspx