Installation of Windows SharePoint Services (WSS) 3.0 - APAN

bubblemessengerΑσφάλεια

5 Νοε 2013 (πριν από 4 χρόνια και 8 μέρες)

164 εμφανίσεις


W
INDOWS
S
HARE
P
OINT
S
ERVICES
3.0

I
NSTALLATION
G
UIDE

















Prepared by

Will
iam

Yip

USPACOM
J73
3

June

24, 2009
TABLE OF CONTENTS

W
INDOWS
S
HARE
P
OINT
S
ERVICES
3.0

I
NSTALLAT
ION
G
UIDE

................................
................................
................................
..

1

SYSTEM REQUIREMENTS

................................
................................
................................
................................
.......

3

INSTALLATION OF WIND
OWS SHAREPOINT SERVI
CES (WSS) 3.0

................................
................................
...........

3

P
REREQUISITES

................................
................................
................................
................................
..............................

3

Creating Active Directory Accounts

................................
................................
................................
.......................

3

Installing Internet Information Services (IIS) 6.0

................................
................................
................................
...

3

Installing ASP.NET Framework 2.0

................................
................................
................................
........................

5

Installing ASP.NET Framework 3.0

................................
................................
................................
........................

7

W
INDOWS
S
HARE
P
OINT
S
ERVICES
(WSS)

3.0

................................
................................
................................
....................

8

INSTALLING WSS 3.0

................................
................................
................................
................................
.............

8

Configuring SharePoint 3.0 Central Administration

................................
................................
............................

11

Search Service

................................
................................
................................
................................
................................
..

13

E
-
Mail Settings

................................
................................
................................
................................
................................
..

15

Alternate Access Mappings

................................
................................
................................
................................
..............

16

Authentication Providers

................................
................................
................................
................................
.................

17

VERIFYING YOUR WSS 3
.0 INSTALLATION

................................
................................
................................
............

24

D
EFINING
M
ANAGED
P
ATHS

................................
................................
................................
................................
..........

24

C
REATING
C
ONTENT
D
ATABASE

................................
................................
................................
................................
......

25

C
REATING
S
ITE
C
OLLECTION

................................
................................
................................
................................
...........

26

MANAGING YOUR WSS 3.
0 INSTALLATION

................................
................................
................................
..........

27

B
ACKING UP
S
ITE
C
OLLECTION

................................
................................
................................
................................
........

27

R
ESTORING
S
ITE
C
OLLECTION

................................
................................
................................
................................
.........

28

S
YSTEM
R
EQUIREMENTS

The following require
ments are specified on Microsoft’s Windows SharePoint Services 3.0
homepage (
http://www.microsoft.com/downloads/details.aspx?familyid=
D51730B5
-
48FC
-
4CA2
-
B454
-
8DC2CAF93951&displaylang=en
):



Supported Operating System:

Windows Server 2003 Service Pack 1



Minimum Hardware Requirements:



Server with processor speed of at least 2.5GHz



1GB RAM

I
NSTALLATION OF
W
INDOWS
S
HARE
P
OINT
S
ERVICES
(WSS)

3.
0

If you are installing Windows SharePoint Services (WSS) 3.0 on a new server instance, you must
complete all of the steps in the
Prerequisites

section

below

in order to proceed. This guide
assumes that you have already installed, configured, and tested y
our database server farm (e.g.
Microsoft SQL Server 2005/2008).

P
REREQUISITES

C
REATING

A
CTIVE
D
IRECTORY
A
CCOUNTS

It is best practice to create separate Active Directory accounts to run the different services required
by WSS 3.0. These accounts should ha
ve passwords that do not expire because expired accounts
will cause disruption of the corresponding service that the account is used for. The following table
shows a list of accounts to be created.

Account Name

Purpose

Groups / Roles



Active
Directory

L
ocal
Computer

SQL
Server

SVC_WSS

Account to be used to run
WSS 3.0

Domain Users

Administrators

Database
Creators

SVC_WSS_Admin

Account to be used to run
SharePoint 3.0 Central
Administration

Domain Users

Administrators

Database
Creators

SVC_WSS_Crawler

Account to be used to crawl
SharePoint portals for search
purpose

Domain Users

Administrators

None


I
NSTALLING
I
NTERNET
I
NFORMATION
S
ERVICES
(IIS)

6.0

By default, Internet Information Services (IIS) 6.0 is not installed when Windows Server 2003 is
install
ed. IIS 6.0 is required on the web server in order to serve up web pages.

1.

Click on the
Start

menu, select the
Settings

menu and click on the
Control Panel

icon.

2.

In the Control Panel, double
-
click on the
Administrative Tools

icon.

3.

In Administrative Tools
, double
-
click on the
Manage Your Server

icon.

4.

Verify that the Application Server
role has not

been installed on the server. If
that is the
case
, click on the
Add or remove a role

link.


5.

Click on the
Next

button.

6.

The
Configure Your

Server

wizard will att
empt to detect your system settings. Make sure
that the
Application Server (IIS, ASP.NET)

role is selected and click on the
Next

button.



7.

Click on the
Enable ASP.NET

checkbox and click on the
Next

button.




8.

Click on the
Next

button to begin the instal
lation process.

9.

If prompted for the Windows 2003 Server installation disk, insert CD or DVD and click on
the
OK

button.

10.

Click on the
Finish

button when the installation process is completed.

I
NSTALLING
ASP.NET

F
RAMEWORK
2.0

ASP.NET Framework 2.0 is require
d to run WSS 3.0. It may or may not be installed on the web
server depending on whether it has received the appropriate updates from Windows Update
Services. To verify whether ASP.NET Framework 2.0 has been installed:

1.

Click on the
Start

menu, select the
Settings

menu and click on
Control Panel

icon.

2.

In Control Panel, double
-
click on the
Administrative Tools

icon.

3.

In Administrative Tools, double
-
click on the
Internet Information Services (IIS) Manager

icon.

4.

Expand the following node:
Your_Server_Name

(loca
l computer) > Web Sites > Default Web
Site.



5.

Right
-
click on the
Default Web Site

node and select
Properties
.

6.

Click on the
ASP.NET

tab.



7.

Under the
ASP.NET version

drop
-
down, verify that “2.0.
x
” is selected where 2.0.
x

is the
latest version. If the “2
.0.
x
” is not available, follow these steps below to install ASP.NET
Framework 2.0.

To install ASP.NET Framework 2.0:

1.

Run the latest installation executable

(file name:
dotnetfx2sp1.exe
)

for ASP.NET Framework
2.0.

2.

Click on the
I have read and ACCEPT the ter
ms of the License Agreement

radio button

and click on the
Install

button.



3.

Click on the
Exit

button when the installation process is completed.

After ASP.NET Framework 2.0 has been installed on the web server, it is still necessary to register
ASP.NET 2
.0 with IIS

6.0
. Otherwise, IIS
6.0
will still use the ASP.NET 1.1 Framework. To register
ASP.NET 2.0:

1.

Click on the
Start

menu, select the
Run

menu and type
cmd
.

2.

When the command prompt opens, enter the following two commands:



cd “C:
\

Windows
\
Microsoft.N
et
\
Framework
\
v2.0.*
\




aspnet_regiis.exe /iru



You should receive a message indicating that the ASP.NET 2.0 Framework has been installed
successfully.

I
NSTALLING
ASP.NET

F
RAMEWORK
3.0

ASP.NET Framework 3.0 is required to run WSS 3.0. It may or may not b
e installed on the web
server depending on whether it has received the appropriate updates from Windows Update
Services. To install the ASP.NET Framework 3.0:

1.

Run the latest executable (file name: dotnetfx3.exe) for ASP.NET Framework 3.0.

2.

Click on the
I
h
ave read and ACCEPT

the terms of
the License Agreement

checkbox and
click on the
Install

button to start the installation process.


3.

Click on the
Exit

button when the installation process is completed.

W
INDOWS
S
HARE
P
OINT
S
ERVICES
(WSS)

3.0

After all of th
e prerequisites have been completed, you will be able to install Windows SharePoint
Services (WSS) 3.0. The latest service pack to date is Service Pack 1.
There are two server
type

options: Stand
-
alone or Web Front
-
End
. In most production environment, y
ou will select the

Web
Front
-
End


option because it allows you to connect to an external database server. In this section,

you will need to have information in regards to the database server handy.

INSTALLING

WSS

3.0

To install WSS 3.0:

1.

Run the latest ex
ecutable for WSS 3.0 (file name: SharePoint.exe) with the latest service
pack.


2.

Click on the
I accept the terms of this agreement

checkbox and click on the
Continue

button.

3.

Click on the
Advanced

button.

4.

Click on the
Server Type

tab and make sure that the
Web Front
-
End

radio button is
selected.



5.

Click on the
Feedback

tab and make sure that the
No, thank you.

radio button is selected.

6.

Click on the
Install Now

button.

7.

Make sure that the
Run the SharePoint Products and Technologies Configuration
Wizard now

checkbox is selected. Click on the
Close

button when the installation is
completed. The SharePoint Configuration Wizard will now start.


8.

Click on the
Next

button to continue.

9.

Click on the
Yes

button to confirm that the 3 services specified will be resta
rted.

10.

On the
Connect to a server farm

page, click on the
Yes, I want to connect to an existing
server farm

radio button if there is an existing SharePoint server farm that can be
connected to. For a new installation on a network, click on the
No, I want t
o create a new
server farm

radio button. Click on the
Next

button to continue.



11.

In the
Specify Configuration Database Settings

page, specify the name of the SQL server
in the
Database server

text field. Specify a domain user name and password to be use
d to
run SharePoint 3.0 Central Administration (e.g. SVC_WSS_Admin). Be sure to specify the
domain name in front of the user name (i.e.
domain_name
\
). Click on the
Next

button to
continue.



12.

In the
port number

text field, enter
33333
. C
lick on the
Nex
t

button.



13.

Click on the
Next

button to complete the configuration process.

14.

Click on the
Finish

button.

C
ONFIGURING
S
HARE
P
OINT
3.0

C
ENTRAL
A
DMINISTRATION

After WSS 3.0 has been installed on the web server, it is still necessary configure it using the
Sha
rePoint 3.0 Central Administration. To configure WSS 3.0:

1.

Click on the
Start

menu, select the
Settings

menu and click on
Control Panel

icon.

2.

In Control Panel, double
-
click on the
Administrative Tools

icon.

3.

In Administrative Tools, double
-
click on the
Shar
ePoint 3.0 Central Administration
icon.

4.

Click on the
Application Management

tab on the top.

5.

Under the
SharePoint Web Application Management

section, click on the
Create or
extend Web application

link.



6.

Click on the
Create a new Web application

link.



7.

U
nder the
Application Pool

section, click on the
Create a new application pool

radio
button. Select the
Configurable

radio button and specify a domain user name and
password that will be used to run the Windows SharePoint Services (e.g. SVC_WSS). Be sure
to specify the domain name in front of the user name (i.e.
domain_name
\
).


8.

Leave the rest of the page with the default values and click on the
OK

button.

9.

After the configuration process has completed, you must manually restart
IIS
. Click on the
Start

menu
, select the
Run

menu and type
cmd
.

10.

When the command prompt opens, type the following command:



i
isreset

At this point, you should have a fully
-
functional WSS 3.0 installation

where you can create
SharePoint portals. However, there are additional configura
tions that you must perform in order to
fully take advantage of all of the features built into WSS 3.0.

Search Service

By default, the search capability provided by WSS 3.0 is not configured. The search capability
allows users to perform full
-
text search
among all documents and list items within a site collection.
In addition, search can be enabled per site collection. To configure the search capability in WSS 3.0:

1.

Open SharePoint 3.0 Central Administration on your web browser if not already done so.

2.

Cli
ck on the
Operations

tab on the top.

3.

Under the
Topology and Services

section, click on the
Services on server

link.



4.

Assuming that the search service has not been configured, you will see that the service is
currently stopped. Click on the
Windows Shar
ePoint Services Search

link.



5.

In the
Service Account

section, specify a domain user name and password to be used to run
WSS Search Service (e.g. SVC_WSS_Admin). Be sure to specify the domain name in front of
the user name (i.e.
domain_name
\
).

6.

In the
Co
ntent Access

Account

section, specify a domain user name and password to be
used to crawl the content of all portals (e.g. SVC_WSS_Crawler). Be sure to specify the
domain name in front of the user name (i.e.
domain_name
\
). Also make sure that this
accoun
t has at least read access to all portals on the server.

7.

In the
Indexing Schedule

section, choose the
Hour between
x

and
x

minutes past the
hour

radio button.

8.

Click on the
OK

button.

9.

Click on the
Start

link.

10.

Enter the passwords of the service and content a
ccess accounts again, and click on the
Start

button.

Now that the search service has been configured

and started
, you must choose an exist
ing content
database to crawl.

1.

Open SharePoint 3.0 Central Administration on your web browser if not already done so.

2.

Click on the
Application Management

tab on the top.

3.

Under the
SharePoint Web Application Management

section, click on the
Content
databases

link.

4.

Select one of your content databases.



5.

For the
Search Server

drop
-
down
-
list, select the name of your server.

6.

Click on the
OK

button to save the changes.

E
-
Mail Settings

There are a number of built
-
in functionalities in WSS 3.0 that requires an outgoing e
-
mail server
(e.g. Alerts). To configure an outgoing e
-
mail server:

1.

Open SharePoint 3.0 Central Administratio
n on your web browser if not already done so.

2.

Click on the
Application Management

tab on the top.

3.

Under the
SharePoint Web Application Management

section, click on the
Web
application outgoing e
-
mail settings

link.


4.

In the
Outbound SMTP server

field, en
ter the host name, IP address, or fully
-
qualified
domain name of the e
-
mail server.

5.

In the
From address

field, enter the e
-
mail address that will appear in the “From” field in
any e
-
mail messages sent out from the server.

6.

In the
Reply
-
to address

field
, ent
er the e
-
mail address that you want users to reply to.

7.

Click on the
OK

button the save the changes.

Alternate Access Mappings

WSS 3.0 allows users to access the portals using different URLs depending on the location of the
users (e.g. Intranet vs. Internet
). For instance, intranet users may access a portal by simply typing
its host name (e.g.
http://wss/site_name
) while Internet users are required to enter the fully
-
qualified domain name (e.g.
http://wss.apan
-
info.net/site_name
). To set up alternate access
mappings in WSS 3.0:

1.

Open SharePoint 3.0 Central Administration on your web browser if not already done so.

2.

Click on the
Operations

tab on the top.

3.

Under the
Global Confi
guration

section, click on the
Alternate access mappings

link.


4.

Click on the
Edit Public URLs

button.


5.

In the
Alternate Access Mapping Collection

drop
-
down
-
list, choose your Windows
SharePoint Services web application (e.g. SharePoint


80).

6.

Specify UR
Ls in any of the zones listed: Default, Intranet, Internet, Custom, and Extranet.

7.

Click on the
OK

button to save the changes.

Authentication Providers

WSS 3.0 provides a number of options for authentication type: Windows, Forms, and Web single
sign on. In

most installations, you will be selecting “Windows” authentication. Within Windows
authentication, it can be set up with either Integrated Windows authentication or Basic
Authentication. The advantage of Integrated Windows authentication is that the pas
swords that
users enter are encrypted. However, users receive a popup login prompt that requires them to
specify the domain name in addition to their user names (i.e.
domain_name
\
user_name
). Basic
Authentication eliminates this problem because administra
tors can specify a default domain in IIS.
However, passwords are sent in clear text in Basic Authentication.
Therefore, it is recommended
you configure Secure Socket Layer (SSL) if Basic Authentication is to be implemented.
To configure
the authenticati
on type in WSS 3.0
:

1.

Open SharePoint 3.0 Central Administration on your web browser if not already done so.

2.

Click on the
Application Management

tab on the top.

3.

Under the
Application Security

section, click on the
Authentication providers

link.

4.

Click on the
Default

zone link.

5.

In the
Authentication Type

radio button, select
Windows
.


6.

In the
IIS Authentication Settings

checkbox,
click on either
the
Integrated Windows
authentication

or
Basic authentication

checkbox.

7.

The
Enable Client Integration

option allows y
ou to specify whether WebDAV capability is
turned on globally on WSS. WebDAV provides capabilities such as uploading multiple
documents in a document library, exporting list items as a spreadsheet, editing list items in
datasheet mode, and etc.

8.

Click on t
he
Save

button.

Forms Authentication

There may be occasions when forms authentication is required. For example, instead of having a
popup window for login, you may want users to sign in using a standard login page.
Form
authentication can be configured f
or 2 membership store: SQL database and Active Directory.

Configuring forms authentication for
WSS 3.0 include several steps.

SQL membership store

To set up the membership data store in SQL:

1.

Click on the
Start

menu, select the
Run

menu and type
cmd
.

2.

When

the command prompt opens, enter the following two commands:



cd “C:
\

Windows
\
Microsoft.Net
\
Framework
\
v2.0.*
\




aspnet_regsql.exe

3.

When the ASP.NET SQL Server Setup Wizard appears, click on the
Next

button.


4.

In the
Setup Option

page, make sure that the
Confi
gure SQL Server for application
services

radio button is selected. Click on the
Next

button.


5.

In the
Server

text field, enter the host name, fully
-
qualified domain name (FQDN), or IP
address of the SQL server.


6.

Use
Windows authentication

as authenticati
on type. In the
Database

drop
-
down list, use
the
<default>

choice.

7.

Click on the
Next

button to proceed.

8.

Click on the
Next

button again to confirm the settings.

9.

Click on the
Finish

button when the wizard has successfully created the data store.


To modify

your
SharePoint port 80
web.config:

1.

Locate the top
-
level
Configuration

node and add the following 3 lines as child nodes:


<connectionStrings>


<add name="MembershipDatabaseConnection" connectionString="Data
Source=
SQL_Server_Host_Name
;Initial
Catalog=a
sp
netdb;Trusted_Connection=True;"
/>

</connectionStrings>

where SQL_Server_Host_Name is the host name, fully
-
qualified domain name, or IP address of
the SQL server where the member data store is created.

2.

Locate the
Authentication

node and replace the entire

node with the following 3 lines.

<authentication mode="Forms">


<forms loginUrl="/_layouts/login.aspx" />

</authentication>

3.

Locate the system
.web node and add the following

lines:


<membership defaultProvider="AspNetSqlMembershipProvider">


<providers>


<remove name="AspNetSqlMembershipProvider"/>



<add connectionStringName="MembershipDatabaseConnection"
name="AspNetSqlMembershipProvider"
enablePasswordRetrieval
="false"
enablePasswordReset
="true"
applicationName="/"
requiresUniqueEmail
="true"
pass
wordFormat="Hashed"
maxInvalidPasswordAttempts
="5"
minRequiredPasswordLength
="6"
minRequiredNonalphanumericCharacters
="0"
passwordAttemptWindow
="10"
passwordStrengthRegularExpression
=""
requiresQuestionAndAnswer
="false"
type="System.Web.Security.SqlMembers
hipProvider, System.Web,
Version=2.0.0.0, Culture=neutral,
PublicKeyToken=b03f5f7f11d50a3a" />


</providers>

</membership>

Note:

The attributes in italics above are configurable based on the type of environment.

To modify your SharePoint

3.0

Central Admin
istration web.config:

1.

Perform

step 1 from previous section.

2.

Perform

step 3 from previous section.

To configure SharePoint Central Administration:

1.

Open SharePoint 3.0 Central Administration on your web browser if not already done so.

2.

Click on the
Applicatio
n Management

tab on the top.

3.

Under the
Application Security

section, click on the
Authentication providers

link.

4.

Click on the
Default

zone link.

5.

In the
Authentication Type

radio button, select
Forms
. The page will refresh.


6.

In the
Membership Provider Nam
e

textbox, enter
AspNetSqlMembershipProvider
.

7.

Click on the
Save

button to save your changes.

Active Directory membership store

To modify your SharePoint port 80 web.config:

1.

Locate the top
-
level
Configuration

node and add the following 3 lines as child node
s:


<connectionStrings>


<add name="ADConnectionString"
connectionString="LDAP://
domain_name
/
ldap_container
"/>

</connectionStrings>

where
domain_name

is the fully
-
qualified domain name of the Active Directory and
ldap_container

is the LDAP container that

holds the user accounts.

2.

Locate the
Authentication

node and replace the entire node with the following 3 lines.

<authentication mode="Forms">


<forms loginUrl="/_layouts/login.aspx" />

</authentication>

3.

Locate the system.web node and add the following l
ines:


<membership defaultProvider="MyADMembershipProvider">


<providers>


<add name="MyADMembershipProvider"
type="System.Web.Security.ActiveDirectoryMembershipProvider,
System.Web, Version=2.0.0.0, Culture=neutral,
PublicKeyToken=b03f5f7f11d5
0a3a"
connectionStringName="ADConnectionString"
connectionUsername="
domain_account
"
connectionPassword="
password
"
attributeMapUsername="SAMAccountName"/>


</providers>


</membership>


Note:

The attributes
connectionUsername and connectionPassword a
re based on an Active
Directory account that have administrative permission to traverse the Active Directory.
.

To modify your SharePoint 3.0 Central Administration web.config:

1.

Perform step 1 from previous section.

2.

Perform step 3 from previous section.

To c
onfigure SharePoint Central Administration:

1.

Open SharePoint 3.0 Central Administration on your web browser if not already done so.

2.

Click on the
Application Management

tab on the top.

3.

Under the
Application Security

section, click on the
Authentication provi
ders

link.

4.

Click on the
Default

zone link.

5.

In the
Authentication Type

radio button, select
Forms
. The page will refresh.


6.

In the
Membership Provider Name

textbox, enter
MyADMembershipProvider
.

7.

Click on the
Save

button to save your changes.

V
ERIFYING
Y
OUR

WSS

3.0

I
NSTALLATION

The simplest way to verify a WSS 3.0 installation is to create a portal using one of the built
-
in WSS
3.0 templates (e.g. Team Site). If your WSS 3.0 instance was installed properly, you should be able
to post content and documents t
o the newly
-
created portal.

D
EFINING
M
ANAGED
P
ATHS

Defining a managed path is an optional step that allows site owners to create a URL that takes on
the following form:


http://
server_name
/
site_name

If this step i
s not performed
, the URL takes on the following form:


http://
server_name
/sites/
site_name

To define a managed path:

1.

Open SharePoint 3.0 Central Administration on your web browser if not already done so.

2.

Clic
k on the
Application Management

tab on the top.

3.

Under the
SharePoint Web Application Management

section, click on the
Define
managed paths

link.


4.

In the
Path

field, enter the path name of the site collection.

5.

In the
Type

drop
-
down
-
box, select
Explicit i
nclusion
.

6.

Click on the
OK

button.

C
REATING
C
ONTENT
D
ATABASE

WSS 3.0 has the flexibility where each site collection

can

reside in its own SQL database. This
allows you to easily deploy individual site collection using the stsadm.exe utility (see
Backing up

Site Collection

and
Restoring Site Collection

for more detail). To create a new content database:

1.

Open SharePoint 3.0 Central Administration on your web browser if not already done so.

2.

Click on the
Application Management

tab on the top.

3.

Under the
SharePo
int Web Application Management

section, click on the
Content
databases
link.

4.

Click on the
Add a content database

button on the toolbar.


5.

In the
Database Name

field, enter the name of the database that correlates to the name of
the site collection (e.g. WS
S_Content_BK09).

6.

Under the
Database Capacity Settings

section, specify
0

and
1

as the
Number of sites
before a warning event is generated
and
Maximum number of sites that can be
created in this database

fields, respectively.

7.

Click on the
OK

button to creat
e a new content database.

C
REATING
S
ITE
C
OLLECTION

After a content database has been created, you are now ready to create a new site collection. A site
collection in SharePoint is a container where you can create a top
-
level portal as well as any
subseque
nt sub
-
portals. One thing to keep in mind in regards to site collection is that the
anonymous access setting of the top
-
level portal determines the default setting for its sub
-
portal.
For example, if a top
-
level portal is available for anonymous access,
all of its sub
-
portals will behave
the same by default. However, you can override this setting for each individual sub
-
portal. The
only exception is that if the top
-
level portal is not available for anonymous access, all of the sub
-
portals cannot be acce
ss anonymously as well.

To create a new site collection:

1.

Open SharePoint 3.0 Central Administration on your web browser if not already done so.

2.

Click on the
Application Management

tab on the top.

3.

Under the
SharePoint Site Management

section, click on the
Create site collection

link.


4.

In the
Title

textbox, enter the name of the site collection.

5.

In the
Description

textbox, enter a short description of what the site is about.

6.

In the
URL

drop
-
down
-
box, select the managed path that you have defined in the prev
ious
step.

7.

In the
Template Selection

section, choose any of the built
-
in templates (e.g. Team Site).

8.

In the
Primary Site Collection Administrator

and
Secondary Site Collection
Administrator

textboxes, enter the user name(s) of the administrator(s) who are
responsible for the site. Use the

icon to verify the user names.

9.

Click on the
OK

button to create the site.

M
ANAGING
Y
OUR
WSS

3.0

I
NSTALLATION

B
ACKING
UP

S
ITE
C
OLLECTION

WSS 3.0 provides a utility called
st
sadm.exe

that makes backup and restore of SharePoint portals
simple. After a portal is backed up into a single file (e.g. bk09.bak), it can be restored to a different
server for deployment purpose. To back up an existing site collection:

1.

Click on the
Sta
rt

menu, select the
Run

menu and type
cmd
.

2.

When the command prompt appears, perform the following 2 commands:



cd “
C:
\
Program Files
\
Common Files
\
Microsoft Shared
\
web server
extensions
\
12
\
BIN




stsadm.exe

o backup

url
http://
server_name
/
site_name

-
filename
C:
\
folder_path
\
site_name
.bak


R
ESTORING
S
ITE
C
OLLECTION

To restore a site collection to a server:

1.

Copy the backup file to the local hard drive of the server (e.g. C:
\
).

2.

Click on the
Start

menu, select the
Run

menu and type
cmd
.

3.

When the command prompt appe
ars, perform the following 2 commands:



cd “
C:
\
Program Files
\
Common Files
\
Microsoft Shared
\
web server
extensions
\
12
\
BIN




stsadm.exe

o restore

url
http://
server_name
/
site_name

-
filename
C:
\
folder_path
\
site_name
.bak

overwrite


WARNING:

The above command wi
ll overwrite the site collection that is currently at the specified
URL.