Windows安装Redis
压缩包地址:https://github.com/MSOpenTech/redis/releases
,就像tomcat的压缩包一样,解压后即可使用。
点击%REDIS_HOME%/redis-server.exe
启动redis,然后点击%REDIS_HOME%/redis-cli.exe
进入redis console。
Redis常用命令
在redis console中:
--测试redis是否可用:set myKey aaa --设置一个key get myKey --显示aaa --给redis设置密码(redis默认没有密码) CONFIG SET requirepass 123
作者:裤lue
链接:https://www.jianshu.com/p/cfc92ebbe5fd
點(diǎn)擊查看更多內(nèi)容
為 TA 點(diǎn)贊
評論
評論
共同學(xué)習(xí),寫下你的評論
評論加載中...
作者其他優(yōu)質(zhì)文章
正在加載中
感謝您的支持,我會繼續(xù)努力的~
掃碼打賞,你說多少就多少
贊賞金額會直接到老師賬戶
支付方式
打開微信掃一掃,即可進(jìn)行掃碼打賞哦