Redis 新手入门(安装,编译,运行,可视化工具和插件)
官网
安装
Redis 下载快速入口
备注:解压到什么目录安装到什么目录都没有要求,看自己。命令工具都在 src 目录下,方便使用需要配置环境变量。
redis.conf 配置文件
1、Redis 默认启动是没有守护进程的,也就是说关闭命令行窗口就结束运行了。这时我们需要配置文件。
2、redis.conf 文件在压缩文件根目录下。为了方便使用复制一份到 /etc/redis.conf
3、修改参数:daemonize yes
################################# GENERAL #####################################
# By default Redis does not run as a daemon. Use 'yes' if you need it.
# Note that Redis will write a pid file in /var/run/redis.pid when daemonized.
daemonize yes
#默认情况下,Redis不作为守护进程运行。如果需要,请使用 “yes”。
#注意Redis将在/var/run中写入一个pid文件/redis.pid文件当被守护时。
$ src/redis-server /etc/redis.conf
idea 可视化插件
目前没有找到好的免费插件后续更新。。。