命令行安装 sudo apt install redis-server 配置文件路径:/etc/redis/redis.conf 数据库路径:/var/lib/redis/ 源码安装 下载,解压,编译: $ wget http://downl……