
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