redis禁用或重命名危险命令
1禁用危险命令
vim /opt/redis_6379/conf/redis_6379.conf
rename-command KEYS ""
rename-command FLUSHALL ""
rename-command SHUTDOWN ""
2重命名危险命令
vim /opt/redis_6379/conf/redis_6379.conf
rename-command KEYS "kk"
rename-command FLUSHALL "ff"
rename-command SHUTDOWN "ss"