Home > Database > Redis > body text

How to open and close redis in Linux

WBOY
Release: 2023-05-26 21:16:04
forward
1176 people have browsed it

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!

Related labels:
source:yisu.com
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!