Home > Database > Redis > body text

How to install redis server under debian

PHPz
Release: 2023-05-26 20:42:00
forward
1410 people have browsed it

In the Ubuntu system installation, use the following command to install Redis from source:
apt-get update
apt-get install redis-server
Start Redis
redis-server
Check whether redis is started
redis-cli
The above command will open the following terminal:
redis 127.0.0.1 :6379>
127.0.0.1 is the local IP and 6379 is the redis service port. Now we enter the PING command.
redis 127.0.0.1:6379> ping
PONG
The above shows that we have successfully installed redis.

The above is the detailed content of How to install redis server under debian. 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