压缩包地址:https://github.com/MSOpenTech/redis/releases,就像tomcat的压缩包一样,解压后即可使用。
点击%REDIS_HOME%/redis-server.exe启动redis,然后点击%REDIS_HOME%/redis-cli.exe进入redis console。
在redis console中:
--测试redis是否可用:set myKey aaa --设置一个key get myKey --显示aaa --给redis设置密码(redis默认没有密码) CONFIG SET requirepass 123
作者:裤lue
链接:https://www.jianshu.com/p/cfc92ebbe5fd
来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/3589/viewspace-2816921/ ,如需转载,请注明出处,否则将追究法律责任。