Redis在windows下安装过程



​https://blog.51cto.com/u_15241951​

下载的地址是:https://pan.baidu.com/s/1dEMCa9z 

Redis Windows github: https://github.com/MicrosoftArchive/redis/releases



redis-server redis.windows.conf #就可以了;
测试:
redis-cli.exe -h 127.0.0.1 -p 6379
set key01 value01
get key01


在Linux下的安装

学习了:https://www.cnblogs.com/codersay/p/4301677.html



make
mkdir bin
cp src/redis-server bin
cp src/redis-sentinel bin
cp src/redis-benchmark bin
cp src/redis-cli bin
cp redis.conf bin/
cd bin
vi redis.conf
requirepass password # 增加密码
nohup ./redis-server redis.conf &
./redis-cli -h 127.0.0.1 -p 6379 -a password # 进行测试
set key01 value01
get key01
info