启动redis:
redis-server
进入redis:
redis-cli -h 127.0.0.1 -p 6379
停用redis:
redis-cli shutdown
更改配置文件后,重启redis:
redis-server /home/work/chunjie/mysettings/redis-6.2.6/redis.conf redis-cli -p 6389
启动redis:
redis-server
进入redis:
redis-cli -h 127.0.0.1 -p 6379
停用redis:
redis-cli shutdown
更改配置文件后,重启redis:
redis-server /home/work/chunjie/mysettings/redis-6.2.6/redis.conf redis-cli -p 6389