1. 程式人生 > >ubuntu安裝redis和redis-dump

ubuntu安裝redis和redis-dump

apt-get install redis-server

首先修改密碼
/etc/redis/redis.conf
requirepass foobared

port 6379
ip
bind 0.0.0.0
然後重啟

/etc/init.d/redis-erver restart

redis-dump
安裝ruby和依賴,然後安裝redis-dump

apt-get install ruby ruby-dev gcc
gem install redis-dump