概述:
把自己设计或者下载的一个网站模板上传到服务器上.
方法:
1.下载解决方案的EXE 文件或者自己写的模板文件放到C:\Program Files\Common Files\Microsoft Shared\web server extensions\12\BIN
2.运行 EXE 文件,将模板文件解压到本地(如果是自己设计的网站模板则省略此步骤).
3.在解压后的文件中,选定解决方案文件,名为TemplateCore.wsp的应用程序。这个解决方案文件将要被添加到 Windows SharePoint Services 的解决方案存储中.
4.通过命令行,运行"stsadm -o addsolution -filename ApplicationTemplateCore.wsp"的命令
5.下一步是运行"stsadm -o deploysolution - ApplicationTemplateCore.wsp -allowgacdeployment -local".
6. 最后一步,运行“stsadm -o copyappbincontent”
7.这个应用程序模板的核心解决方案已经在解决方案存储中添加完成,并应用在服务器上了。
英文安装步骤:
=========================================================
To install the Application Template Core solution:
=========================================================
To deploy the Application Template Core solution on a
server running Windows SharePoint Services, follow these
instructions.
Note: To complete the following installation, you must
have Administrator rights to both the Windows SharePoint
Services site and server on which it is to be installed.
1. Download the solution EXE file to your computer.
2. Run the EXE file to unpack the template file to a
location on your computer.
3. Select the solution file, ApplicationTemplateCore.wsp,
from the extracted distribution. This solution file
will be added to the Windows SharePoint Services
solution store.
4. Via command line, run "stsadm -o addsolution -filename
ApplicationTemplateCore.wsp"
5. Next, run "stsadm -o deploysolution -name
ApplicationTemplateCore.wsp -allowgacdeployment".
Additional attributes may be required based on your
Windows SharePoint Services configuration.
6. Finally, run stsadm -o copyappbincontent
7. The Application Template Core solution has now been
added to the solution store, and deployed on the server.
=========================================================
To install an Application Template:
=========================================================
This server admin template is deployed in the Windows
SharePoint Services environment as a solution. To deploy
a solution on a server running Windows SharePoint
Services, follow these instructions.
Note: To complete the following installation, you must
have Administrator rights to both the Windows SharePoint
Services site and server on which it is to be installed.
1. Before installing any Application Template, you must
first install the Application Template Core solution,
ApplicationTemplateCore.wsp. If you have already
installed this solution, proceed to Step 2.
Otherwise, browse to the following URL to download
the Application Template Core solution.
http://go.microsoft.com/?LinkId=5922037
2. Download the application template solution EXE file
to your computer.
3. Run the EXE file to unpack the template file to a
location on your computer.
4. Select the solution file, <template_name>.wsp,
from the extracted distribution. This solution file
will be added to the Windows SharePoint Services
solution store.
5. Via command line, run "stsadm -o addsolution -filename
<template_name>.wsp"
6. Next, run "stsadm -o deploysolution -name
<template_name>.wsp -allowgacdeployment". Additional
attributes may be required based on your Windows
SharePoint Services configuration.
7. The Application Template solution has now been added
to the solution store, and deployed on the server.
=========================================================
Instructions for use:
=========================================================
1. Log into your SharePoint site as the site
Administrator.
2. From the Site Actions drop-down menu in the top right,
select Site Settings.
3. Under the Site Administration section, select Sites
and Workspaces.
4. Select Create to create a new site using a site
template.
5. Complete the new SharePoint site information. In the
Template Selection section, select the Application
Templates tab. All deployed Application Template will
be listed in this tab.
6. Select the template to use for this site and click
Create.
7. A site has now been created using the application
template.
=========================================================
To remove an Application Template solution:
=========================================================
This server admin template is deployed in the Windows
SharePoint Services environment as a solution. To remove
a solution on a server running Windows SharePoint
Services, follow these instructions.
Note: To complete the following installation, you must
have Administrator rights to both the Windows SharePoint
Services site and server on which it is to be installed.
1. As Administrator, access the server. Removal is done
via the command line utility stsadm.
2. To retract a solution from being available to
SharePoint sites, run "stsadm -o retractsolution -name
<template_name>.wsp". Additional attributes may be
required based on your Windows SharePoint Services
configuration.
Note: sites created from a solution will not
function after the solution has been retracted.
3. To delete a solution from the Windows SharePoint
Services solution store, run "stsadm -o deletesolution
-name <template_name>" Additional attributes may be
required based on your Windows SharePoint Services
configuration.
4. The Application Template solution has been retracted
and deleted from the solution store.