小编典典

如何查看Redis实例版本?

redis

如何查看redis-instance版本?

我在Redis网站中找到了以下命令:

$ redis服务器

这应该给我(根据站点):

[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实例版本?


阅读 594

收藏
2020-06-20

共1个答案

小编典典

$ redis-server –version

给你版本。

2020-06-20