Install Redis cache server in Ubuntu 18.04
Install Redis cache server in Ubuntu 18.04
Redis is an open source (BSD licensed), in-memory data structure store, used as a database, cache and message broker. It supports data structures such as strings, hashes, lists, sets, sorted sets with range queries, bitmaps, hyperloglogs, geospatial indexes with radius queries and streams. Redis has built-in replication, Lua scripting, LRU eviction, transactions and different levels of on-disk persistence, and provides high availability via Redis Sentinel and automatic partitioning with Redis Cluster.
1, Install redis cache server in ubuntu
sudo apt-get update && sudo apt-get install redis-server -y
2, Start redis cache server manual
redis-server &
3, Start redis cache with service
service redis-server start
4, Check redis cache It's working
redis-cli
ping
Thanks! :D
Post a Comment