1. 程式人生 > >redis4.0.2 安裝

redis4.0.2 安裝

.tar.gz CA releases usr shu zxvf redis-cli release CP

推薦使用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

redis4.0.2 安裝