redis - 检查 Redis 服务器版本

标签 redis version

如何查看Redis服务器版本?

我在 Redis site 中找到了这个命令:

$ redis-server

那应该给我(根据网站):

[28550] 01 Aug 19:29:28 # Warning: no config file specified, using the default config. In order to specify a config file use 'redis-server /path/to/redis.conf'
[28550] 01 Aug 19:29:28 * Server started, Redis version 2.2.12
[28550] 01 Aug 19:29:28 * The server is now ready to accept connections on port 6379
... and so forth ...

但我得到的是这个:

[8719] 04 Feb 14:51:09.009 # Warning: no config file specified, using the default config. In order to specify a config file use redis-server /path/to/redis.conf
[8719] 04 Feb 14:51:09.009 # Unable to set the max number of files limit to 10032 (Operation not permitted), setting the max clients configuration to 3984.
[8719] 04 Feb 14:51:09.009 # Creating Server TCP listening socket *:6379: bind: Address already in use

这意味着我需要配置它,但我想要的只是版本!

那么如何查看Redis服务器版本呢?

最佳答案

$ redis-server --version

给你版本。

关于redis - 检查 Redis 服务器版本,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/21555942/

相关文章:

usb - USB 3 端口可以是黑色的吗?

c++ - 资源中的 Visual Studio 2005 C++ 自动增量版本

hibernate - 如何在 Hibernate 中使用增量来管理多对多关系的版本历史记录?

linux - Redis集群就绪

redis - 是否可以将在一个 Redis 实例 (6379) 中运行的两个单独的 DB (例如 db0、db1) 合并到一个 DB (db0) 中?

redis - 从快照转储恢复后,Redis 快照是否恢复过期值?

javascript - Nodejs 在发布/订阅中从客户端发布

delphi - 有没有办法找到 Delphi 编译器版本?

linux - 我如何知道发行版使用哪个 Linux 内核版本?

python - 两个类方法在功能上相同但名称不同