Redis is a high-performance key-value database. The emergence of redis has largely compensated for the shortcomings of keyvalue storage such as memcached, and can play a very good supplementary role to relational databases in some situations.
1. Start: redis-server (redis-server redis.conf)
2. Log in: redis-cli (redis-cli -p 6379 )
3. Shutdown: redis-cli shutdown
The above is the detailed content of How to open and close redis in Linux. For more information, please follow other related articles on the PHP Chinese website!