加入收藏 | 设为首页 | 会员中心 | 我要投稿 核心网 (https://www.hxwgxz.com/)- 科技、建站、经验、云计算、5G、大数据,站长网!
当前位置: 首页 > 编程 > 正文

Windows Server AppFabric 安装与步署过程

发布时间:2018-09-02 18:29:56 所属栏目:编程 来源:站长网
导读:Windows Server AppFabric正式版已经发布。今天测试一下,把域环境中安装遇到的问题告诉大家,只针对缓存服务这一块,希望大家少走一些弯路。 1、首先下载安装Windows Server AppFabric,地址:http://www.microsoft.com/downloads/details.aspx?displaylan
Windows Server AppFabric正式版已经发布。今天测试一下,把域环境中安装遇到的问题告诉大家,只针对缓存服务这一块,希望大家少走一些弯路。

1、首先下载安装Windows Server AppFabric,地址:http://www.microsoft.com/downloads/details.aspx?displaylang=zh-cn&FamilyID=467e5aa5-c25b-4c80-a6d2-9f8fb0f337d2#filelist,选择你的操作系统版本对应的安装包,是如果windows 2008 32位系统的选择WindowsServerAppFabricSetup_x86_6.0.exe。

2、安装中注意的问题,首先要安装Windows 管理框架核心 (WinRM 2.0 和 Windows PowerShell 2.0)地址:http://support.microsoft.com/kb/968929。windows 2008 r2可以不用安装。

3、在安装中安装程序自动设置windows2008防火墙端口。

4、安装成功后可以,以管理身份运行“缓存管理 Windows PowerShell”,在cmd窗口下添加缓存服务器访问用户,命令:Grant-CacheAllowedClientAccount domainusername。

5、运行Get-CacheAllowedClientAccounts 命令查看用户是否添加成功。

6、运行Start-CacheCluster ,开始运行Windows Server AppFabric服务,可以在服务器管理中-服务-找到"AppFabric 缓存服务"设为自动启动。

到此服务器安装完成,现在特别说明在IIS中如果设置才能访问Windows Server AppFabric

1、如果系统是windows2003请先安装Windows Server 2003 Distributed Cache Client,下载地址:http://www.microsoft.com/downloads/details.aspx?FamilyID=d1ca30df-0e84-4388-8636-2ef87380600c&displaylang=en

2、如果是windows2008系统,请在Windows Server AppFabric程序时选择客户端安装。

3、如果不安装客户端将会出现:

异常类型: FileNotFoundException
异常消息: 未能加载文件或程序集“Microsoft.WindowsFabric.Data.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35”或它的某一个依赖项。系统找不到指定的文件。

4、安装好客户端后。设置IIS的应用程序池,将应用程序池的标识设为你添加的访问Windows Server AppFabric的用户。如果不设置标识IIS将不能访问Windows Server AppFabric从而出现远程tcp关闭错误。

到此你就可以使用了Windows Server AppFabric缓存了。

参考资料:Windows Server AppFabric Domain Security:http://blogs.msdn.com/b/endpoint/archive/2010/06/20/endpoint-tv-windows-server-appfabric-domain-security.aspx

呵,呵。第一次写试著发到首页,因为这方面的资料很少。但愿能给大家提供帮助。写的不好大家多包涵。

在帮朋友开发的网站http://www.kxdy.net/中就使用了Windows Server AppFabric。

(编辑:核心网)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

    热点阅读