Windows Server AppFabric 安裝與步署過程
來源:程序員人生 發(fā)布時間:2013-12-16 10:14:13 閱讀次數(shù):3099次
Windows Server AppFabric正式版已經(jīng)發(fā)布。今天測試一下,把域環(huán)境中安裝遇到的問題告訴大家,只針對緩存服務(wù)這一塊,希望大家少走一些彎路。
1、首先下載安裝Windows Server AppFabric,地址:http://www.microsoft.com/downloads/details.aspx?displaylang=zh-cn&FamilyID=467e5aa5-c25b-4c80-a6d2-9f8fb0f337d2#filelist,選擇你的操作系統(tǒng)版本對應(yīng)的安裝包,是如果windows 2008 32位系統(tǒng)的選擇WindowsServerAppFabricSetup_x86_6.0.exe。
2、安裝中注意的問題,首先要安裝Windows 管理框架核心 (WinRM 2.0 和 Windows PowerShell 2.0)地址:http://support.microsoft.com/kb/968929。windows 2008 r2可以不用安裝。
3、在安裝中安裝程序自動設(shè)置windows2008防火墻端口。
4、安裝成功后可以,以管理身份運(yùn)行“緩存管理 Windows PowerShell”,在cmd窗口下添加緩存服務(wù)器訪問用戶,命令:Grant-CacheAllowedClientAccount domainusername。
5、運(yùn)行Get-CacheAllowedClientAccounts 命令查看用戶是否添加成功。
6、運(yùn)行Start-CacheCluster ,開始運(yùn)行Windows Server AppFabric服務(wù),可以在服務(wù)器管理中-服務(wù)-找到"AppFabric 緩存服務(wù)"設(shè)為自動啟動。
到此服務(wù)器安裝完成,現(xiàn)在特別說明在IIS中如果設(shè)置才能訪問Windows Server AppFabric
1、如果系統(tǒng)是windows2003請先安裝Windows Server 2003 Distributed Cache Client,下載地址:http://www.microsoft.com/downloads/details.aspx?FamilyID=d1ca30df-0e84-4388-8636-2ef87380600c&displaylang=en
2、如果是windows2008系統(tǒng),請?jiān)赪indows Server AppFabric程序時選擇客戶端安裝。
3、如果不安裝客戶端將會出現(xiàn):
異常類型: FileNotFoundException
異常消息: 未能加載文件或程序集“Microsoft.WindowsFabric.Data.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35”或它的某一個依賴項(xiàng)。系統(tǒng)找不到指定的文件。
4、安裝好客戶端后。設(shè)置IIS的應(yīng)用程序池,將應(yīng)用程序池的標(biāo)識設(shè)為你添加的訪問Windows Server AppFabric的用戶。如果不設(shè)置標(biāo)識IIS將不能訪問Windows Server AppFabric從而出現(xiàn)遠(yuǎn)程tcp關(guān)閉錯誤。
到此你就可以使用了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
呵,呵。第一次寫試著發(fā)到首頁,因?yàn)檫@方面的資料很少。但愿能給大家提供幫助。寫的不好大家多包涵。
在幫朋友開發(fā)的網(wǎng)站http://www.kxdy.net/中就使用了Windows Server AppFabric。
生活不易,碼農(nóng)辛苦
如果您覺得本網(wǎng)站對您的學(xué)習(xí)有所幫助,可以手機(jī)掃描二維碼進(jìn)行捐贈