как проверить версию экземпляра redis?
как проверить версию redis-экземпляра?
Я нашел в сайт Redis этого команды:
$ 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?
3 ответов:
выполнить команду
INFO. Версия будет первым отображенным элементом.
Если вы хотите узнать версию удаленного сервера redis, просто подключитесь к этому серверу и выполните команду "info server", вы получите такие вещи:
... redis_version:3.2.12 redis_git_sha1:00000000 redis_git_dirty:0 redis_build_id:9c3b73db5f7822b7 redis_mode:standalone os:Linux 2.6.32.43-tlinux-1.0.26-default x86_64 arch_bits:64 multiplexing_api:epoll gcc_version:4.9.4 process_id:5034 run_id:a45b2ffdc31d7f40a1652c235582d5d277eb5eec
Comments