https://redis.io/docs/about/官网介绍redis
Redis官方推荐在Linux环境下进行部署
发布周期
给定版本的Redis可以处于三个不同的稳定级别:不稳定,候选发布版,稳定的
Host, port, password, and database主机、端口、密码、数据库
By default, redis-cli
connects to the server at the address 127.0.0.1 with port 6379. You can change the port using several command line options. To specify a different host name or an IP address, use the -h
option. In order to set a different port, use -p
.
默认情况下,redis-cli连接地址为127.0.0.1的服务器,端口为6379。您可以使用几个命令行选项更改端口。要指定不同的主机名或IP地址,使用-h选项。为了设置不同的端口,请使用-p。
If your instance is password protected, the -a <password>
option will perform authentication saving节省the need of explicitly using the AUTH command: