2.4 Redis数据库安装

(1)访问https://redis.io/download ,下载稳定版(3.0)以上。也可直接用install目录下的压缩包,解压即可使用。
image.png

(2)然后使用默认配置,在bin目录下使用。

redis-server —service-install redis.windows-service.conf —loglevel verbose
命令,安装redis服务,并设置自动启动。

注:
卸载服务:redis-server —service-uninstall
开启服务:redis-server —service-start
停止服务:redis-server —service-stop