根据官网上步骤 下载源码包 安装解压https://redis.io/download
下载完后 用 tar命令解压gz文件
进入redis-3.2.9目录 执行make命令编译源文件
编译成功 根据提示执行下make test命令
测试通过 这样 我们就成功将redis安装到Liunx上了
接下来 我们将一些配置文件单独放置一个文件夹下(cp命令)
通过vi命令修改 redis.conf中的部分参数
绑定 ip 改为 虚拟机地址192.168.202.128(ifconfig)
protected-mode 设置为yes
启动 redis
redis-server redis.conf
Redis Desktop Manager 测试连接