how to check redis-instance version?
如何检查redisinstance版本?
I've found in Redis site this command:
我在Redis网站找到了这个命令:
$ redis-server
redis-server美元
and that should give me (according to the site):
这应该给我(根据网站):
[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 ...
but I get this instead:
但是我得到了这个:
[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
which mean I need to configure it, but all I want is the version!
这意味着我需要配置它,但是我想要的只是版本!
so how do I check redis instance version?
那么如何检查redis实例版本呢?
2 个解决方案
#1
162
Ok Found!
好的发现!
$ redis-server --version
redis-server美元——版本
gives you the version.
给你的版本。
#1
162
Ok Found!
好的发现!
$ redis-server --version
redis-server美元——版本
gives you the version.
给你的版本。