Sharepoint的定制开发中,安装一个虚拟机可以比较方便的在可小组中人员中共享和调试等。
以下以域中场安装为例【不使用SQL Express】 ,Standalone installs are not supported if the SharePoint Server is a domain controller
操作系统准备
Windows 2008
系统管理员必须要密码,如果没有,使用如下命令加上:Net user administrator /passwordreq:yes
然后安装域服务:
新安装域,域名最好不要冲突,林功能级别:Windows Server 2008 R2
DisableLoopbackCheck【可选设置】
HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\Lsa.
With Lsa highlighted, click Edit New DWORD
Type in DisableLoopbackCheck as shown in Figure 1-8 and press Enter.
Double-click DisableLoopbackCheck.
As shown in Figure 1-9, enter 1 for “Value data” and click OK.
Close the Registry Editor.
Desktop Experience【可选设置】
For things like Explorer view and other WebDav features to work inside the VM, you need to add the Desktop Experience feature in Windows.
安装数据库SQL 2008 R2
运行账号:sql_service
Database:当前用户设为管理
Analysis:当前用户设为管理
Reporting: 安装不配置
安装后可做个备份,方便以后的配置使用
Sharepoint 2010
Download and install the patch Windows 7/Windows 2008 R2
ADO.NET Data Services Update for .NET Framework 3.5 SP1 for Windows 7 and Windows Server 2008 R2 Windows6.1-KB982307-x64.msu
安装后的目录
C:\Program Files\Microsoft Office Servers
C:\Program Files\Microsoft Office Servers\14.0\Data
C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14
安装完成后,如果安装OWA,就不用运行配置
office Web applications【OWA】
Office的WEB版本,从MSDN下载安装,然后运行自动配置即可,配置的设置如下:
配置MOS
配置向导
Thinker
Sharepoint2010_Config
Thinker\sp_farm
Port :5555
加入场的密码:demo1234!
IE中打开进行管理
设计工具安装
Sharepoint Designer | 免费提供 |
Infopath | Office中提供 |
Visio Premium | 独立 |
安装的截图参考
https://skydrive.live.com/?cid=56b433ad3d1871e3&id=56B433AD3D1871E3%21285
以上就安装了一个完整的场虚拟机