安装 redis CLI

Installing redis CLI

我是 redis 的新手,我正在使用以下教程安装 redis cli。

https://www.digitalocean.com/community/tutorials/how-to-install-and-use-redis this tutorial suggests to do sudo make install after make test, but when I am doing "sudo make install", it give me the below prompt

Hint: It's a good idea to run 'make test' ;)

INSTALL install
INSTALL install
INSTALL install
INSTALL install
INSTALL install

我不知道这是否会在全局安装 cli 时造成任何问题。

对此的任何建议都会有很大帮助。

您也可以通过以下方式复制服务器和 cli 应用程序:

sudo cp src/redis-server /usr/local/bin/
sudo cp src/redis-cli /usr/local/bin/

Redis documentation 中所述。