Home >Database >Redis >How to open and close redis in Linux

How to open and close redis in Linux

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBforward
2023-05-26 21:16:041359browse

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.

How to open and close redis in Linux

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!

Statement:
This article is reproduced at:yisu.com. If there is any infringement, please contact admin@php.cn delete