单点安装 wget http://download.redis.io/releases/redis-4.0.2.tar.gz tar zxvf redis-4.0.1.tar.gz -C /usr/local cd /usr/local/redis-4.0.2 make make test make PREFIX=/usr/local/redis install cd /usr/local/redis mkdir conf log data cd /usr/local/redis/conf cp