和而泰项目中遇到给服务器安装IIS时失败的问题,服务器系统是Windows Server 2012 R2,使用 服务器管理器--->仪表板--->添加功能角色和功能 进行 Web服务器(IIS) 的安装时,报如下错误:
在网上搜了一大堆办法,例如打开 WinRM服务、设置虚拟内存等,都没用,最后尝试用命令行安装IIS,系统管理员权限打开CMD,输入如下命令行,回车运行即可
Default Server Install Components
ASPNET Workload Server Options
Class ASP Workload Server Options
FastCGI Workload Server Options
IIS Managed Modules and NET Extensibility Server Workload
Full Server Install Components
还可参考如下说明
当我们安装了一个Windows服务器核心系统后,没有图形界面的系统总是给我们一种非常完整的感觉,下面就让爱站技术频道我带大家来了解Windows Remote Shell(WinRM)使用介绍吧!
在Server Core的服务器上,启用WinRM的命令行为:
WinRM QuickConfig
图1 开启WinRM示例
运行这个命令需要管理员权限运行,普通用户全提示权限不足。系统会有一个“y/n”的提示选“Y”同意更改,然后就可以从客户端使用WinRS进行远程管理了。客户端命令格式如下:
winrs -r: <ServerCoreSystemName> <command> <servercoresystemname><command></command></servercoresystemname>
图2 WinRS运行示例
什么是WinRM?
WinRM = Windows Remote Management, Windows Remote Management (WinRM) is the Microsoft implementation of WS-Management Protocol, a standard Simple Object Access Protocol (SOAP)-based, firewall-friendly protocol that allows hardware and operating systems, from different vendors, to interoperate
The WS-Management protocol specification provides a common way for systems to access and exchange management information across an IT infrastructure WinRM and Intelligent Platform Management Interface (IPMI), along with the Event Collector are components of the Windows Hardware Management features
参考官方文档: >就没有听说过RU2,只有SP2补丁。Exchange 2010 的最新补丁也是 SP2。
你遇到的这个问题属于Exchange 2010比较常规的问题了,出现同样问题的有许多,你需要确定是一下是什么原因造成这个问题的,查看一下服务器的事件日志。
这个问题像是时间同步问题的Kerberos验证问题,如果使用的是Hyper-V的话,清楚一下Hyper-V的时间同步。
右键单击要配置的拨号连接,然后单击“属性”。
在“选项”选项卡上的“重拨选项”中,将“挂断前的空闲时间”设置为客户端在挂断连接前允许的空闲时间。其他注意事项请记住,远程访问服务器也可能具有断开计时器。如果将“挂断前的空闲时间”设置为较高的超时数字,则无法保证此时间过去之前连接不会断开。这是因为在此处设置的时间之前服务器可能就已断开连接。
欢迎分享,转载请注明来源:内存溢出
评论列表(0条)