如何检查redis实例版本?(how to check redis instance version?)
如何检查redis-instance版本?
我在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实例版本?
how to check redis-instance version?
I've found in Redis site this command:
$ 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?
原文:https://stackoverflow.com/questions/21555942
最满意答案
一个简单的谷歌搜索 - http://words.bighugelabs.com/api.php
我将使用Jersey RESTful库来执行API调用。 http://jersey.java.net/
它是一个非常简单的Java库。
事实上,一旦你开始使用泽西岛,你将开始制造越来越苛刻的服务电话。 例如,您可以在Web服务器上创建服务,以便其他人可以检索您的数据,等等......
A simple google search -- http://words.bighugelabs.com/api.php
I would use the Jersey RESTful library to do the API calls. http://jersey.java.net/
Its a very simple Java library.
In fact, once you start using Jersey you will begin making more and more demanding service calls. For example you can create a service on your web server so that others can retrieve your data, so on and so on...
相关问答
更多-
JAVA的应用程序是什么?[2023-07-27]
Java是由Sun Microsystems公司于1995年5月推出的Java程序设计语言(以下简称Java语言)和Java平台的总称。用Java实现的HotJava浏览器(支持Java applet)显示了Java的魅力:跨平台、动感的Web、Internet计算。从此,Java被广泛接受并推动了Web的迅速发展,常用的浏览器现在均支持Java applet。另一方面,Java技术也不断更新。 Java平台由Java虚拟机(Java Virtual Machine)和Java 应用编程接口(Appli ... -
java好吗?学起来好难地。[2022-01-19]
java入门非常简单。后面要学的东西难越来越多,越来越难,推荐视频 http://www.bjsxt.com/load.htm JDK5.0下载-安装-配置 JAVA视频教程_J2SE_5.0_第1章_JAVA简介_源代码_及重要说明 JAVA视频教程_J2SE_5.0_第2章_基础语法 JAVA视频教程_J2SE_5.0_第2章_递归补充 JAVA视频教程_J2SE_5.0_第3章_面向对象 JAVA视频教程_J2SE_5.0_第4章_异常处理 JAVA视频教程_J2SE_5.0_第5章_数组 JAVA视 ... -
JAVA问题![2023-01-14]
先看javase 数据库的视频最好结合se一起看。因为se是一切的基础。 然后看J2EE,这是企业级动态网站的开发技术。最后再看spring吧,这是J2EE的一门框架技术 主要作用是面向切面编程和依赖注入 -
关于JAVA的问题[2022-03-10]
面向对象的不是这么好理解的,没一年都有不同的感悟。所以你开始不需要考虑太多,在编程过程中就慢慢对面向对象有个认识了。楼上说的很对,马士兵的教程不错,我也有下载来看,推荐。 -
java问题[2023-12-10]
基础.我认为只要一本就够了.<> 如果这本书你吃透了 你的JAVA基础就过关了..很有名气的一本书,图文结合,讲的比较生动,搞笑. 我买的是60元一本.是集体一起买的..我也有PDF 不过不是很清楚! 上面那本书如果你搞定了.<>在搞这本书.(上面没吃透千万不要看这本书) < > 这本书有点深(以上二本都吃透了在来看这本吧)! -
java问题!!!!!!!!!!!!!!!!![2021-10-13]
锁是用来解决线程并发的抢占资源问题!可以显示的创建Lock 或者直接把域定义为synchronize!这样当第一个线程驱动的任务来访问资源的时候(尤其是i/o处理)资源就被锁住了!后面的任务就在在等待通常会wait(),直到第一个线程驱动的任务结束释放锁唤醒等待的任务线程!后面的任务线程被唤醒进入工作,资源又被锁定!就这样....另外 线程是有优先级的! -
关于java??[2023-06-01]
http://www.aitic.net/bbs/index.php 话不多说,你看看适合你的话就去看看,不适合的话就直接关闭就行了 -
推荐几本 java 线程编程的书[2022-09-06]
看API文档,足了。 -
什么是java??[2022-12-24]
很简单 我给你下载游戏的步骤 如果你在这里找不到游戏或者资源 那么就可以确定你是不能支持JAVA的哦 下载的步骤是: 1,电脑或者手机输入网址http://d.cn。 2,选择自己的手机品牌和型号点击搜索。 3,先把适合自己的游戏下载到电脑桌面 4,用数据线、读卡器、蓝牙或者红外线等方式把游戏上传到手机中就可以运行游戏了(JAR格式的游戏文件不用解压,直接安装或者复制粘贴到手机文件夹就可以了)。 -
Java thesauraus(Java thesauraus)[2023-10-19]
一个简单的谷歌搜索 - http://words.bighugelabs.com/api.php 我将使用Jersey RESTful库来执行API调用。 http://jersey.java.net/ 它是一个非常简单的Java库。 事实上,一旦你开始使用泽西岛,你将开始制造越来越苛刻的服务电话。 例如,您可以在Web服务器上创建服务,以便其他人可以检索您的数据,等等...... A simple google search -- http://words.bighugelabs.com/api.php ...