Download
下载安装包,解压,指定目录安装
make PREFIX=/usr/local/redis install
Start Redis-Server
/usr/local/redis/bin/redis-server
9202:C 27 Mar 2021 11:27:45.067 # oO0OoO0OoO0Oo Redis is starting oO0OoO0OoO0Oo
9202:C 27 Mar 2021 11:27:45.067 # Redis version=6.2.1, bits=64, commit=00000000, modified=0, pid=9202, just started
9202:C 27 Mar 2021 11:27:45.067 # Warning: no config file specified, using the default config. In order to specify a config file use /usr/local/redis/bin/redis-server /path/to/redis.conf
9202:M 27 Mar 2021 11:27:45.068 * monotonic clock: POSIX clock_gettime
_._
_.-``__ ''-._
_.-`` `. `_. ''-._ Redis 6.2.1 (00000000/0) 64 bit
.-`` .-```. ```\/ _.,_ ''-._
( ' , .-` | `, ) Running in standalone mode
|`-._`-...-` __...-.``-._|'` _.-'| Port: 6379
| `-._ `._ / _.-' | PID: 9202
`-._ `-._ `-./ _.-' _.-'
|`-._`-._ `-.__.-' _.-'_.-'|
| `-._`-._ _.-'_.-' | http://redis.io
`-._ `-._`-.__.-'_.-' _.-'
|`-._`-._ `-.__.-' _.-'_.-'|
| `-._`-._ _.-'_.-' |
`-._ `-._`-.__.-'_.-' _.-'
`-._ `-.__.-' _.-'
`-._ _.-'
`-.__.-'
9202:M 27 Mar 2021 11:27:45.069 # WARNING: The TCP backlog setting of 511 cannot be enforced because /proc/sys/net/core/somaxconn is set to the lower value of 128.
9202:M 27 Mar 2021 11:27:45.069 # Server initialized
9202:M 27 Mar 2021 11:27:45.069 # WARNING overcommit_memory is set to 0! Background save may fail under low memory condition. To fix this issue add 'vm.overcommit_memory = 1' to /etc/sysctl.conf and then reboot or run the command 'sysctl vm.overcommit_memory=1' for this to take effect.
9202:M 27 Mar 2021 11:27:45.069 * Ready to accept connections