stsadm -o addsolution -filename C:\Bits\KnowledgeBase.wsp
stsadm -o deploysolution -name KnowledgeBase.wsp -allowgacdeployment -immediate
WSS Central Administration site.
Click the Operations tab, and
then click Solution management under global configuration.
After all the solutions are marked Globally Deployed,
run iisreset from the command line.
http://technet.microsoft.com/en-us/windowsserver/sharepoint/bb407286.aspx