相比WSS2.0,WSS3.0引入一种新的站点模板格式:Server Admin Template,这样类型的站点模板其扩展名默认为.wsp。
WSS3.0依然支持2.0时代的.stp站点管理模板。
要安装Server Admin Template,必须具有服务器管理员权限;而安装Site Admin Template,只需要具有站点管理员权限。
Server Admin Template必须使用stsadm命令才可以安装,操作步骤如下:
Install the Application Template Core solution
- Download the Application Template Core solution to the server.
- Double-click the .exe file to extract the files.
- Open a Command Prompt window.
|
|
|
To open a Command Prompt window, click Start, point to All Programs, point to Accessories, and then click Command Prompt. |
- Type stsadm -o addsolution -filename <file_path>\ApplicationTemplateCore.wsp, where <file_path> is the location you extracted the Application Template Core files to, and then press ENTER.
- Type stsadm -o deploysolution -name ApplicationTemplateCore.wsp -allowgacdeployment, and then press ENTER.
|
|
|
Additional attributes may be required based on your Windows SharePoint Services 3.0 configuration. For more information about available attributes, type stsadm -help deploysolution, and then press ENTER. |
- Type stsadm -o copyappbincontent, and then press ENTER.
Install a template
- Download the template you want to install to the server.
- Double-click the .exe file to extract the files.
- At the command prompt, type stsadm -o addsolution -filename <file_path>\<template_name>.wsp, where <file_path> is the location you extracted the template files to and <template_name>.wsp is the .wsp file for your template, and then press ENTER.
- Type stsadm -o deploysolution -name <template_name>.wsp -allowgacdeployment, and then press ENTER.
|
|
|
Additional attributes may be required based on your Windows SharePoint Services 3.0 configuration. For more information about available attributes, type stsadm -help deploysolution, and then press ENTER. |
- To check the deployment status, open the Central Administration site for the server.
- Click the Operations tab, and then, in the Global Configuration section, click Solution management, and then check the status of your solutions.
- After all the solutions are marked Globally Deployed, from the command line, run iisreset.
Create a site
- Log on to the SharePoint site as a member of the Owners group.
- On the Site Actions menu, click Site Settings.
- In the Site Administration section, click Sites and workspaces.
- Click Create.
- On the New SharePoint Site page, fill in the information about your new site.
-
In the Template Selection section, click the Application Templates tab.
Any server admin application templates that have been uploaded will be listed here.
- Click the template to use for the new site, and then click Create.
Remove a template
- Log on to the server running Windows SharePoint Services 3.0 as a member of the Administrators group on the server.
-
Do one or both of the following:
- To remove a solution from the list of templates for new sites, at the command prompt, type stsadm -o retractsolution -name <template_name>.wsp, and then press ENTER.
|
|
|
Additional attributes may be required based on your Windows SharePoint Services 3.0 configuration. For more information about available attributes, type stsadm -help retractsolution, and then press ENTER. |
- To remove a solution from the server, at the command prompt, type stsadm -o deletesolution -name <template_name>.wsp, and then press ENTER.
|
|
|
Additional attributes may be required based on your Windows SharePoint Services 3.0 configuration. For more information about available attributes, type stsadm -help deletesolution, and then press ENTER. |
而Site Admin Template可以通过"Site Settings"进行安装,如下:
Install a template
- Download the template you want to install to your computer.
- Double-click the .exe file to extract the files.
- Log on to the SharePoint site as a member of the Owners group.
- On the Site Actions menu, click Site Settings.
-
In the Galleries section, click Site templates.
If you don't see Site templates in the Galleries section, you might not be at a top-level site. In the Site Collection Administration section, click Go to top-level site administration.
-
Click Upload to save an application template to this SharePoint site.
If you want to save more than one application template, click Upload Multiple Files.
- Browse to the <template_name>.stp file, and then click Open.
- Click OK.
Create a site
- Log on to the SharePoint site as a member of the Owners group.
- On the Site Actions menu, click Site Settings.
- In the Site Administration section, click Sites and workspaces.
- Click Create.
- On the New SharePoint Site page, fill in the information about your new site.
-
In the Template Selection section, click the Custom tab.
Any site admin application templates that have been uploaded will be listed here.
- Click the template to use for the new site, and then click Create.
Remove a template
- Log on to the top-level SharePoint site as a member of the Owners group.
- On the Site Actions menu, click Site Settings.
- In the Galleries section, click Site templates.
- In the list of site templates, find the application template to remove, and then click Edit.
- Confirm that this is the application template to remove, and then click Delete Item.
- Click OK to confirm the deletion.