
Paste_Image.png

Paste_Image.png

Paste_Image.png

Paste_Image.png
查看centos版本
cat /etc/redhat-release
解壓
make
make
make后查看二進制文件

Paste_Image.png
make install
make install

Paste_Image.png
cp redis.conf /home/tong3/config/redis/redis.conf
vim /home/tong3/config/redis/redis.conf

Paste_Image.png
改為后臺啟動

Paste_Image.png
修改端口

Paste_Image.png
啟動redis
/usr/local/bin/redis-server /home/tong3/config/redis/redis.conf

Paste_Image.png
查看是否啟動
ps aux|grep redis-server

Paste_Image.png