16.01.2013 Views

Microsoft Sharepoint Products and Technologies Resource Kit eBook

Microsoft Sharepoint Products and Technologies Resource Kit eBook

Microsoft Sharepoint Products and Technologies Resource Kit eBook

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Chapter 2: Installing Windows SharePoint Services 43<br />

Note The host header (-hh) parameter is a one-time-only configuration<br />

choice that you only need to use when creating the configuration database<br />

for a server farm. This parameter puts Windows SharePoint Services in the<br />

scalable hosting mode <strong>and</strong> only host-named sites should be created in this<br />

configuration.<br />

To create the administration virtual server <strong>and</strong> configuration database<br />

1. Open a comm<strong>and</strong> prompt window, <strong>and</strong> navigate to the \Program Files\Common<br />

Files\<strong>Microsoft</strong> Shared\Web Server Extensions\60\bin folder.<br />

2. Run the following comm<strong>and</strong> to create the administration virtual server:<br />

stsadm.exe -o setadminport -port -admapcreatenew<br />

-admapidname <br />

-admapidtype <br />

-admapidlogin <br />

-admapidpwd <br />

Note Remember that you can use any unused port between 1023 <strong>and</strong><br />

32,767.<br />

3. Run the following comm<strong>and</strong> to create the configuration database:<br />

stsadm.exe -o setconfigdb -ds <br />

-du -dp -dn sts_config –hh<br />

Note If you are using Windows authentication, you do not need to specify<br />

the -du parameter or the -dp parameter.<br />

To connect to the configuration database from subsequent front-end Web servers,<br />

use the Set Configuration Database page in HTML Administration, or use the following<br />

syntax:<br />

stsadm.exe -o setconfigdb -ds <br />

-du -dp -dn sts_config -connect

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!