标签:redis
yum install gcccp redis.conf /usr/local/bin/
echo "vm.overcommit_memory = 1" >> /etc/sysctl.conf
sysctl -p
echo never > /sys/kernel/mm/transparent_hugepage/enabled
vim /etc/rc.local
if test -f /sys/kernel/mm/redhat_transparent_hugepage/enabled; then
echo never > /sys/kernel/mm/redhat_transparent_hugepage/enabled
fi
cd /usr/local/bin/
vim redis.conf
bind 192.168.8.221
./redis-server redis.conf
标签:redis
原文地址:http://blog.51cto.com/zuoshou/2121969