yumdownloader离线安装 redis 报错解决

#WARNING overcommit_memory is set to 0! Background save may fail under low memory condition. to fix this issue add 'vm.overcommit_memory = 1' to /etc/sysyctl.conf and then reboot or run the command 'vm.overcommit_memory=1' for this to take effect.
#修复报错信息
[root@localhost ~]# echo "vm.overcommit_memory = 1" >> /etc/sysctl.conf
[root@localhost ~]# sysctl vm.overcommit_memory=1
vm.overcommit_memory = 1
原文地址:https://www.cnblogs.com/L1-5551/p/13727003.html