安装及删除网站模板
概述:
??? 把自己設(shè)計或者下載的一個網(wǎng)站模板上傳到服務(wù)器上.
方法:
?? ?1.下載解決方案的EXE 文件或者自己寫的模板文件放到C:\Program Files\Common Files\Microsoft Shared\web server extensions\12\BIN
????2.運行 EXE 文件,將模板文件解壓到本地(如果是自己設(shè)計的網(wǎng)站模板則省略此步驟).
????3.在解壓后的文件中,選定解決方案文件,名為TemplateCore.wsp的應(yīng)用程序。這個解決方案文件將要被添加到 Windows SharePoint Services 的解決方案存儲中.?
????4.通過命令行,運行"stsadm -o addsolution -filename? ApplicationTemplateCore.wsp"的命令?
????5.下一步是運行"stsadm -o deploysolution - ApplicationTemplateCore.wsp -allowgacdeployment -local".???
????6. 最后一步,運行“stsadm -o copyappbincontent”?
????7.這個應(yīng)用程序模板的核心解決方案已經(jīng)在解決方案存儲中添加完成,并應(yīng)用在服務(wù)器上了。
?
?英文安裝步驟:
=========================================================
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.
?
總結(jié)
- 上一篇: C/C++学习笔记:C语言实现任意进制转
- 下一篇: 程序员进阶之路:四个程序员职业阶段,通常