Redis源码包安装
1.第一步:下载
https://xianyijitan.top/wp-blog/typora-user-file/redis-3.2.11.tar.gz
2.第二步:解压
tar zxvf redis-3.2.11.tar.gz
# 进入解压目录
cd redis-3.2.11
3.第三步:安装
[root@bogon redis-3.2.11]# cd src && make all
[root@localhost src]# yum -y install tcl
[root@bogon src]# make test
..............
\o/ All tests passed without errors!
Cleanup: may take some time... OK
[root@bogon src]# make install
Hint: It's a good idea to run 'make test
INSTALL install
INSTALL install
INSTALL install
INSTALL install
INSTALL install
[root@bogon src]# ./redis-server
11384:C 27 Dec 16:37:15.728 # Warning: no config file specified, using the default config. In order to specify a config file use ./redis-server /path/to/redis.conf
11384:M 27 Dec 16:37:15.728 * Increased maximum number of open files to 10032 (it was originally set to 1024).
_._
_.-``__ ''-._
_.-`` `. `_. ''-._ Redis 3.2.11 (00000000/0) 64 bit
.-`` .-```. ```\/ _.,_ ''-._
( ' , .-` | `, ) Running in standalone mode
|`-._`-...-` __...-.``-._|'` _.-'| Port: 6379
| `-._ `._ / _.-' | PID: 11384
`-._ `-._ `-./ _.-' _.-'
|`-._`-._ `-.__.-' _.-'_.-'|
| `-._`-._ _.-'_.-' | http://redis.io
`-._ `-._`-.__.-'_.-' _.-'
|`-._`-._ `-.__.-' _.-'_.-'|
| `-._`-._ _.-'_.-' |
`-._ `-._`-.__.-'_.-' _.-'
`-._ `-.__.-' _.-'
`-._ _.-'
`-.__.-'
执行成功后此页面不能关闭
关闭是进入redis:执行 shutdown