安装基本和Windows 2003上一致,由于R2是64位,所以WSUS也要下载x64的。
是安装IIS时,需要分别安装“应用程序服务器”和“Web服务器(IIS)”。前者默认即可,后者需要添加“ASP.NET”、“Windows 身份验证”、“动态内容压缩”和“IIS 6 管理兼容性”这些组件。
另外一开始用添加角色功能添加失败了,不知道是不是这个原因:
支持在 Windows Server 2008 R2 上安装(Windows Server 2008 R2中内置的WSUS SP1不支持在 Windows Server 2008 R2 RTM版本中安装)
改了ip地址之后,wsus死活连不上,重启update service服务正常,但是报一大堆错误,重启os,重装wsus都不行,最后发现是iis里面我把绑定从*改成了ip...nnd。
WSUS 管理控制台无法通过远程 API 连接到 WSUS 服务器。
请确保 Update Services 服务、IIS 和 SQL 正在该服务器上运行。如果该问题仍然存在,请尝试重新启动 IIS、SQL 和 Update Services 服务。
System.Net.WebException -- 请求因 HTTP 状态 404 失败: Not Found。
Source
Microsoft.UpdateServices.Administration
Stack Trace:
在 Microsoft.UpdateServices.Administration.AdminProxy.CreateUpdateServer(Object[] args)
在 Microsoft.UpdateServices.Administration.AdminProxy.GetUpdateServer()
在 Microsoft.UpdateServices.UI.AdminApiAccess.AdminApiTools.GetUpdateServer()
在 Microsoft.UpdateServices.UI.SnapIn.Scope.ServerSummaryScopeNode.ConnectToServer()
在 Microsoft.UpdateServices.UI.SnapIn.Scope.ServerSummaryScopeNode.ConnectToServerAndPopulateNode(Boolean connectingServerToConsole)
在 Microsoft.UpdateServices.UI.SnapIn.Common.ExtensionSnapInManager.OnInitialize()
这个是报错。
参考:
http://technet.microsoft.com/zh-cn/library/dd939916(WS.10).aspx
http://winsvr.org/info/info.php?sessid=&infoid=84
http://daozhou.com/blog/article.asp?id=15
使用的是Nod32 Update Viewer这个软件。当然还有一个正版的升级ID。
在http://nodview.net.ru下载这个软件,安装。
V3版只需要设置一个Automatic Update,Update Period以及保存位置即可。将保存位置用IIS虚拟目录发布出来,注意设定MIME类型:*,对应application/octet-stream.
首先系统需要安装.ner Framework 2.0以及MMC 3.0,前者会无法安装,后者会无法打开控制台。
另外IIS以及数据库都是需要的,这个会自动配置。
安装WSUSSetup_30SP1_x86.exe,随后进入设定,选定储存位置。注意如果选择了所有微软产品,至少70g的磁盘是不够的...
还有需要注意的就是审批策略,默认审批策略中是不审核,所以要修改一下。
最近WSUS不太正常,看本地的log,有一段:
2008-09-03 07:11:21:555 872 224 Misc WARNING: WinHttp: SendRequestToServerForFileInformation failed with 0x80190194
2008-09-03 07:11:21:555 872 224 Misc WARNING: WinHttp: ShouldFileBeDownloaded failed with 0x80190194
2008-09-03 07:11:21:555 872 224 Misc WARNING: DownloadFileInternal failed for http://update.nau.edu.cn/selfupdate/wuident.cab: error 0x80190194
2008-09-03 07:11:21:555 872 224 Setup FATAL: IsUpdateRequired failed with error 0x80244019
注意红色部分。
查看IIS的虚拟目录,selfupdate果然没有了...
解决方法:
Open the IIS Manager console
Drill down to the Default Web Site, right click it and select New -> Virtual Directory
For the alias use Selfupdate and for the path point to the Selfupdate directory. It should be something like C:\Program Files\Update Services\Selfupdate.
Forward through the wizard selecting all the defaults.
参见:http://blogs.technet.com/sus/archive/2008/08/14/wsus-clients-fail-to-update-with-error-code-0x80190194.aspx