Installing SharePoint 2010 on Windows Server 2008 R2 – which server roles and features do I need?

安装SharePoint 2010所需角色服务
本文详细介绍了在安装SharePoint Server 2010之前必须配置的服务器角色和服务,包括Web服务器(IIS)、应用程序服务器角色及特定的角色服务,还提供了避免安装错误的具体步骤。

If you’re installing SharePoint Server 2010, you will need to address the hardware and software prerequisites for SharePoint 2010.    This time around, Microsoft put together a nice TechNet page that tells you the basics of what you need before you install SP 2010:

http://technet.microsoft.com/en-us/library/cc262485.aspx

This is a fairly comprehensive page, but there are some gaps in this document.  For instance, it tells you that you need to configure your server with the following roles:

  • Web Server (IIS) role
  • Application Server role
  • However, each of these roles consists of a number of role services – how do you know which role services need to be turned on for SharePoint 2010?   And if you miss one of the role services, you’ll get the following error when trying to install SharePoint 2010:

    “Setup is unable to proceed due to the following error(s):

    Windows Server Features or role services required by this product are not enabled. ”

    Below I’ve posted screenshots from one of my virtual machines where I was able to successfully install SharePoint Server 2010.  If you’re getting the error shown above, compare these screenshots to your configuration to find out which role services you’re missing.

    1. Turn on Application Server Role and make sure these role services are also turned on:

    2. Turn on Web Server Role and make sure that these role services are also turned on:

    3. On my VM, I also have the File Services role turned on:

    4. Go to Server Manager > Features and make sure that you have the following Features turned on:

    Good luck with your SP 2010 install!

### 安装和配置中间件于 Windows Server 2008 R2 #### 中间件的选择与准备 对于Web应用程序的支持,尤其是ASP.NET Core应用,在Windows Server 2008 R2上部署前需确认已安装必要的.NET框架版本和支持组件。由于提到的是较新的技术栈(.NET Core),而Windows Server 2008 R2默认可能不支持最新版本的.NET Core运行时环境[^1]。 #### 准备工作 为了使服务器能够托管ASP.NET Core应用程序,必须先下载并安装适用于Windows Server 2008 R2的.NET Core Hosting Bundle。这一步骤确保了操作系统具备执行.NET Core应用程序所需的依赖项和服务。 ```powershell # 使用PowerShell脚本自动检测并安装缺失的更新包(假设存在适用的补丁) $UpdateSession = New-Object -ComObject Microsoft.Update.Session $Searcher = $UpdateSession.CreateUpdateSearcher() $Updates = @($Searcher.Search("IsInstalled=0 and Type='Software'").Updates) if ($Updates.Count -gt 0){ foreach ($Update in $Updates){ Write-Host "Installing update:" $Update.Title # 这里省略实际调用安装的过程,因为具体实现取决于可用的API或者命令行工具 } } ``` 请注意上述代码仅为示意用途,并未真正实现自动化安装功能;真实环境中应当依据官方文档指导完成相应操作。 #### 实际安装过程 一旦准备工作就绪,则可以通过以下方式来继续: - 下载针对目标平台优化过的.NET Core SDK或Runtime Installer; - 执行安装程序,遵循向导提示直至结束; - 对IIS(Internet Information Services)进行适当调整以便更好地配合.NET Core应用的工作模式,比如启用特定模块或是修改处理请求的方式等。 考虑到Windows Server 2008 R2已经接近生命周期终点(EOL), 推荐考虑升级至更现代的操作系统版本以获得更好的兼容性和安全性保障。
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值