My local Redis is the installation path in/usr/local/redis
1. Using the "redis-server--version" command or "Redis-server-v", redis-server the bin directory in the Redis installation directory:
[[email protected] ~]# cd/usr/local/redis/[[email protected] redis]# lsbin etc[[email protected] redis]# CD Bin/[[email Protected] bin]# lsdump.rdb mkreleasehdr.sh redis-benchmark redis-check-aof redis-check-dump redis-cli redis-server[ [Email protected] bin]#./redis-server--versionredis server v=3.0.7 sha=00000000:0 malloc=jemalloc-3.6.0 bits=64 build= B3571dfe0401e0ac[[email protected] bin]#./redis-server-vredis Server v=3.0.7 sha=00000000:0 malloc=jemalloc-3.6.0 Bits=64 build=b3571dfe0401e0ac
2. Use the "redis-cli--version" command or "REDIS-CLI-V,REDIS-CLI in the bin directory in the Redis installation directory:
[Email protected] bin]#/redis-cli--versionredis-cli 3.0.7[[email protected] bin]#./REDIS-CLI-VREDIS-CLI 3.0.7
This article is from "Operation and maintenance record Mei Ling" blog, please be sure to keep this source http://meiling.blog.51cto.com/6220221/1977798
View the version of Redis (installed on a Linux server)