拉取Redis
redis的读写分离:https://blog.csdn.net/qq_51076413/article/details/123462448
Java整合Jedis:https://blog.csdn.net/qq_51076413/article/details/123462857
Java整合Redis:https://blog.csdn.net/qq_51076413/article/details/123462896
docker拉取redis
拉取redis镜像,不选择版本号,默认拉取最新版本的redis
docker pull redis
docker pull redis
mkdir -p /mydata/redis/conftouch /mydata/redis/conf/redis.confdocker run -p 6379:6379 --name redis \
-v /mydata/redis/data:/data \
-v /mydata/redis/conf/redis.conf:/etc/redis/redis.conf \
-d redis redis-server /etc/redis/redis.conf