[root@AndyCentOS7Basic ~]# cd /opt/redis-5.0.5/ [root@AndyCentOS7Basic ~]# make
make test
1 2 3 4 5 6 7 8 9 10
[root@localhost redis-5.0.7]# make test cd src && make test make[1]: Entering directory `/root/redis-5.0.7/src' CC Makefile.dep make[1]: Leaving directory `/root/redis-5.0.7/src' make[1]: Entering directory `/root/redis-5.0.7/src' You need tcl 8.5 or newer in order to run the Redis test make[1]: *** [test] Error 1 make[1]: Leaving directory `/root/redis-5.0.7/src' make: *** [test] Error 2
[root@AndyCentOS7Basic ~]# /opt/redis-5.0.5/src/redis-server 6105:C 30 May 2019 08:26:04.160 # oO0OoO0OoO0Oo Redis is starting oO0OoO0OoO0Oo 6105:C 30 May 2019 08:26:04.160 # Redis version=5.0.5, bits=64, commit=00000000, modified=0, pid=6105, just started 6105:C 30 May 2019 08:26:04.160 # Warning: no config file specified, using the default config. In order to specify a config file use /opt/redis-5.0.5/src/redis-server /path/to/redis.conf 6105:M 30 May 2019 08:26:04.161 * Increased maximum number of open files to 10032 (it was originally set to 1024). _._ _.-``__ ''-._ _.-`` `. `_. ''-._ Redis 5.0.5 (00000000/0) 64 bit .-`` .-```. ```\/ _.,_ ''-._ ( ' , .-` | `, ) Running in standalone mode |`-._`-...-` __...-.``-._|'` _.-'| Port: 6379 | `-._ `._ / _.-' | PID: 6105 `-._ `-._ `-./ _.-' _.-' |`-._`-._ `-.__.-' _.-'_.-'| | `-._`-._ _.-'_.-' | http://redis.io `-._ `-._`-.__.-'_.-' _.-' |`-._`-._ `-.__.-' _.-'_.-'| | `-._`-._ _.-'_.-' | `-._ `-._`-.__.-'_.-' _.-' `-._ `-.__.-' _.-' `-._ _.-' `-.__.-'
6105:M 30 May 2019 08:26:04.161 # WARNING: The TCP backlog setting of 511 cannot be enforced because /proc/sys/net/core/somaxconn is set to the lower value of 128. 6105:M 30 May 2019 08:26:04.162 # Server initialized 6105:M 30 May 2019 08:26:04.162 # 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. 6105:M 30 May 2019 08:26:04.162 # WARNING you have Transparent Huge Pages (THP) support enabled in your kernel. This will create latency and memory usage issues with Redis. To fix this issue run the command 'echo never > /sys/kernel/mm/transparent_hugepage/enabled' as root, and add it to your /etc/rc.local in order to retain the setting after a reboot. Redis must be restarted after THP is disabled. 6105:M 30 May 2019 08:26:04.162 * Ready to accept connections
[root@AndyCentOS7Basic ~]# /opt/redis-5.0.5/src/redis-cli shutdown 6130:M 30 May 2019 09:14:18.481 # User requested shutdown... 6130:M 30 May 2019 09:14:18.481 * Saving the final RDB snapshot before exiting. 6130:M 30 May 2019 09:14:18.548 * DB saved on disk 6130:M 30 May 2019 09:14:18.548 # Redis is now ready to exit, bye bye... [1]+ Done /opt/redis-5.0.5/src/redis-server