1.redis-cli, info查看信息 image.png 2.打开redis.conf修改配置文件 image.png 3.重启redis systemctl start redis.service