安装指令
sudo apt-get install redis-server
启动服务
sudo systemctl start redis
查找redis路径
find / -name "filename"
linux redis修改密码
sudo nano /etc/redis/redis.conf
找到 "requirepass" 这一行,取消注释并设置新的密码:
requirepass your_new_password
重启redis
sudo systemctl restart redis