Home > Database > Redis > body text

How to check redis version

步履不停
Release: 2019-06-22 14:54:25
Original
3658 people have browsed it

How to check redis version

There are two ways to check the redis version in the Linux environment

redis-server –version and redis-server -v

The result obtained is: Redis server v=3.0.7 sha=00000000:0 malloc=jemalloc-3.6.0 bits=64 build=c4d3f2c7214375c6

redis-cli –version and redis-cli -v

The result obtained is: redis-cli 3.0.7

Strictly speaking: the result obtained through redis-cli should be redis-cli version, but redis-cli and redis-server are generally compiled from the same source code. So it should be the same.

The latest version of Redis

Redis is generally downloaded and installed using: http://download.redis.io/redis-stable.tar.gz

Download the latest version of redis-stable.tar.gz, decompress the package and install it for use;

In the redis-stable directory after installation, you can see the 00-RELEASENOTES file, which contains the currently used Redis version information, as well as update and modification records of historical versions.

For more Redis-related technical articles, please visit the Redis Tutorial column to learn!

The above is the detailed content of How to check redis version. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template