打开redis服务提示

youhaidong@youhaidong-ThinkPad-Edge-E545:/usr/local/redis-3.0.7$ redis-server
[7224] 26 Apr 23:21:16.550 # Warning: no config file specified, using the default config. In order to specify a config file use redis-server /path/to/redis.conf
[7224] 26 Apr 23:21:16.552 # Unable to set the max number of files limit to 10032 (Operation not permitted), setting the max clients configuration to 3984.
                _._                                                  
           _.-``__ ''-._                                             
      _.-``    `.  `_.  ''-._           Redis 2.8.4 (00000000/0) 64 bit
  .-`` .-```.  ```/    _.,_ ''-._                                   
 (    '      ,       .-`  | `,    )     Running in stand alone mode
 |`-._`-...-` __...-.``-._|'` _.-'|     Port: 6379
 |    `-._   `._    /     _.-'    |     PID: 7224
  `-._    `-._  `-./  _.-'    _.-'                                   
 |`-._`-._    `-.__.-'    _.-'_.-'|                                  
 |    `-._`-._        _.-'_.-'    |           http://redis.io        
  `-._    `-._`-.__.-'_.-'    _.-'                                   
 |`-._`-._    `-.__.-'    _.-'_.-'|                                  
 |    `-._`-._        _.-'_.-'    |                                  
  `-._    `-._`-.__.-'_.-'    _.-'                                   
      `-._    `-.__.-'    _.-'                                       
          `-._        _.-'                                           
              `-.__.-'                                               

[7224] 26 Apr 23:21:16.552 # Server started, Redis version 2.8.4
[7224] 26 Apr 23:21:16.553 # 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.
[7224] 26 Apr 23:21:16.553 * The server is now ready to accept connections on port 6379


原文地址:https://www.cnblogs.com/hzcya1995/p/13314202.html