Azure Redis Cache
2015-12-23 16:08
615 查看
安装Azure PowerShell SDK(> 2015.04)获取并保存MoonCake的PublishSettingsFile:Get-AzurePublishSettingsFile-Environment azurechinacloud导入publishfile到powershell:Import-AzurePublishSettingsFile–PublishSettingsFile “path”切换resoucemanager:Switch-AzureMode -name AzureResourceManager选择订阅:Select-AzureSubscription-name "订阅名称"(只有一个订阅时,可以省略) 创建resourcegroup:New-AzureResourceGroup -Name groupname -Location "ChinaEast/North" 注:选择东区或北区 创建redis:New-AzureRedisCache -ResourceGroupName groupname -Name rediesname-Location "China East/North"注:选择之前创建好的group和区域,需要一致可以创建多个redies,可以东区和北区同时创建,重复以上命令即可 获取rediscache的信息:Get-AzureRedisCache获取rediscache的访问密钥:Get-AzureRedisCacheKey-ResourceGroupName groupname -name rediesname举例:
set-azurerediscache -ResourceGroupNamegroupname –name redisname -EnableNonSslPort $true cmdletSet-AzureRedisCache at command pipeline position 1Supplyvalues for the following parameters:(Type!? for Help.)MaxMemoryPolicy: AllKeysLRU
set-azurerediscache -ResourceGroupNamegroupname –name redisname -EnableNonSslPort $true cmdletSet-AzureRedisCache at command pipeline position 1Supplyvalues for the following parameters:(Type!? for Help.)MaxMemoryPolicy: AllKeysLRU
相关文章推荐
- redis安装问题小结
- Redis偶发连接失败案例实战记录
- 分析Cache 在 Ruby China 里面的应用情况
- Redis中实现查找某个值的范围
- Redis和Memcached的区别详解
- 分割超大Redis数据库例子
- Redis总结笔记(一):安装和常用命令
- Redis sort 排序命令详解
- 用Redis实现微博关注关系
- redis中修改配置文件中的端口号 密码方法
- 在Ruby on Rails上使用Redis Store的方法
- Redis和Memcache的区别总结
- asp 页面允许CACHE的方法
- 在Node.js应用中使用Redis的方法简介
- Redis服务器的启动过程分析
- web 应用中常用的各种 cache详解
- 利用yum安装Redis的方法详解
- 从MySQL到Redis的简单数据库迁移方法
- 为啥懒 Redis 是更好的 Redis