官網或者github上下載redis安裝包git
拷貝到自定義目錄,解壓github
cd到解壓出目錄內,makeredis
cp redis.conf /etc/server
打開redis解壓目錄cd srcit
./redis-server /etc/redis.conf 啓動redis servercli
./redis-cli打開redis客戶端下載
爲了方即可以:cp redis-benchmark redis-cli redis-server /usr/bin/客戶端