View the version of Redis (installed on a Linux server)

Source: Internet
Author: User

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)

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.