之前有在Windows Server 2008 r2上安装过Sharepoint 2013,后来因为虚拟机资源不足给删除了。现Sharepoint 2003升级至2013项目即将开始,需要重新搭建环境。这次使用的是Windows Server 2012 R2标准版,问题遇到了不少。
1、直接在Windows 2012 R2中安装SharePoint 2013的时候,运行准备工具会报错,错误如下,这是因为sharepoint 2013发布早于Windows 2012 R2而存在兼容性问题:
只好手动安装准备工具,如下:
Windows Identity Foundation:(在Windows Server 2008 R2上安装SP 2013时是需要安装这个组件的,但是在Server 2013上此组件可通过添加组件加进来,具体操作如下:)
1) If it’s not already up (it starts by default in 2012), bring up the server manager, Dashboard view. It should look like this:
2) Click on “Add roles and features”.
3) On the “Before you begin” page, click “Next”.
4) Select “Role based or feature based installation” and click “Next”.
5) If it isn’t already selected, select “Select a server from the server pool”, and the server that you are currently working on. Then click “Next”.
6) On the “Select server roles” page, check “Application Server”, “Web Server (IIS)”, and (EDIT:) “IIS 6 Management Console” (under Web Server (IIS)->Management Tools->IIS 6 Management Compatibility->IIS 6 Management Console. h/t Darma). NOTE: When you check “Web Server (IIS)” or “IIS 6 Management Console”, another dialog will pop up, asking “Add features that are required for ?” Click on the “Add Features” button here. This will return you to the “Select Server Roles” page. After adding all 3 roles, click “Next”.
7) On the “Select features” page, expand “.NET Framework 4.5 Features” group by clicking on it. In here, check “ASP.NET 4.5″.
8) On the same page, check “Windows Identity Foundation 3.5″. Click “Next”.
9) On the “Application Server” page, click “Next”.
10) On the “Select role services” page, check “Web Server (IIS) Support” and click “Next”.
11) When the “Add features that are required for Web Server (IIS) Support?” dialog pops up, click on “Add Features”.
12) Click “Next” again to go to the next page.
13) From the “Web Server Role” page, click “Next”.
14) From “Select role services”, click “Next”.
15) On the “Confirm installation selections” page, I suggest that you check “Restart the destination server automatically if required”. (You’re going to need to reboot eventually anyway.)
16) Click “Install”.
Windows Identity Extensions: (PS:只有在Windows Identity Foundation装上了才能安装Extentsions)
http://go.microsoft.com/fwlink/?LinkID=252368
Microsoft Sync Framework Runtime v1.0 SP1 (x64):
http://go.microsoft.com/fwlink/p/?LinkID=224449
Windows Server AppFabric: (此组件只能通过命令安装)
http://go.microsoft.com/fwlink/?LinkId=235496
由于安装程序MSI返回错误代码1603,因此,AppFabric安装失败。
在PowerShell里, 当前目录指向下载了安装文件的目录, 运行下面的命令.
.\WindowsServerAppFabricSetup_x64.exe /i CacheClient","CachingService","CacheAdmin /gac
Cumulative Update Package 1 for Microsoft AppFabric 1.1 for Windows Server (KB2671763)
Download AppFabric1.1-RTM-KB2671763-x64-ENU.exe
http://www.microsoft.com/en-us/download/details.aspx?id=29241
(先装AppFabric, 再装升级包)
Microsoft WCF Data Services 5.0:
http://www.microsoft.com/en-us/download/details.aspx?id=29306
Microsoft Information Protection and Control Client:
http://go.microsoft.com/fwlink/p/?LinkID=219568
参考文档:
http://www.tuicool.com/articles/YRJviyA
http://www.it165.net/design/html/201405/2610.html
http://www.cnblogs.com/grapearen/archive/2010/09/14/1825848.html
http://www.avivroth.com/2013/07/09/installing-sharepoint-2013-on-windows-server-2012-r2-preview/
来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/25279843/viewspace-1221877/,如需转载,请注明出处,否则将追究法律责任。
转载于:http://blog.itpub.net/25279843/viewspace-1221877/