Rate This Document
Findability
Accuracy
Completeness
Readability

Verifying Redis

This section describes how to start Redis to check whether it is available.

  1. Start Redis. Here, Redis 6.0.20 is used as an example.
    1
    redis-server /home/redis-6.0.20/redis.conf
    

  2. Re-open a new terminal and connect to the server, and perform the k-v operation.
    1
    redis-cli
    

  3. Terminate the connection.
    1
    exit
    
  4. Stop Redis.
    1
    redis-cli -h 127.0.0.1 -p 6379 shutdown