redis4.0.2 安装

推荐使用codis

 

wget http://download.redis.io/releases/redis-4.0.2.tar.gz
tar -zxvf redis-4.0.2.tar.gz -C /usr/local/redis
cd redis-4.0.2
make
make PREFIX=/usr/local/redis install
cp /usr/local/redis/redis-4.0.2/redis.conf /usr/local/redis/bin/redis.conf
./bin/redis-server ./bin/redis.conf
./bin/redis-cli shutdown

 

posted @ 2018-05-31 13:24  小姐姐别这样  阅读(159)  评论(0)    收藏  举报