如何检查redis实例版本? [英] how to check redis instance version?

查看:23
本文介绍了如何检查redis实例版本?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何查看Redis服务器版本?

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

I've found in Redis site this command:

$ 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 ...

但我得到了这个:

[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!

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

So how do I check Redis server version?

推荐答案

$ redis-server --version

$ redis-server --version

给你版本.

这篇关于如何检查redis实例版本?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆