win10 64位安装redis 及Redis Desktop Manager使用

1.下载

redis官方没有64位的Windows下的可执行程序,目前有个开源的托管在github上, 地址:https://github.com/ServiceStack/redis-windows 点击这个地方,下载文件并解压到本身的电脑目录下。html

2.注册到服务

使用cmd运行如下命令将redis注册到windows的服务git

redis-server --service-install redis-service.conf --loglevel verbose

Redis的命令仍是须要打开它的客户端redis-cli.exe的,更多的redis命令,能够看官方网站或中文站,戳这里:http://www.redis.cn/commands.htmlgithub

3.RedisDesktopManager

顺便介绍一个Redis可视化工具,RedisDesktopManagerredis

没错,它开源的,托管在github上:https://github.com/uglide/RedisDesktopManager,下载下来安装就能够。windows

4.使用RedisDesktopManager链接redis-service

首先配置redis链接,建议加上密码,这里咱们直接修改redis-service.conf文件,打开它,找到# requirepass foobared (#打头的表示此行是注释说明状态,去掉#就是配置状态),咱们修改下,去掉#,配置一个密码。ide

打开咱们的客户端,点击Connect to Redis Server工具

其它就不说了,能够看github或wiki(https://github.com/uglide/RedisDesktopManager/wiki/Quick-Start学习

另附参考:https://my.oschina.net/liuyuantao/blog/803690 (redis 学习笔记)网站

相关文章
相关标签/搜索