start.bat
redis-server.exe redis.conf
redis-cli.bat
redis-cli.exe -h 127.0.0.1 -p 6379 -a jcd
本文介绍了一种通过批处理文件启动Redis服务器及客户端的方法。使用start.bat文件来运行redis-server.exe,加载配置文件redis.conf,并通过redis-cli.bat或直接调用redis-cli.exe连接本地Redis服务器,端口为6379。
start.bat
redis-server.exe redis.conf
redis-cli.bat
redis-cli.exe -h 127.0.0.1 -p 6379 -a jcd
820

被折叠的 条评论
为什么被折叠?