Redis基础
linux
- 任意位置直接启动redis
/usr/local/redis/bin/redis-server /usr/local/redis/etc/redis.conf
- 卸载服务:
redis-server --service-uninstall
- 开启服务:
redis-server --service-start
- 停止服务:
redis-server --service-stop
- 查看日志:
tail -f log-redis.log
windows
- 启动服务:
redis-server.exe