redis

Last login: Fri Feb 24 08:36:17 on console
ccccC:~ liuhuibin$ brew install redis
Warning: You are using macOS 10.13.
We (and Apple) do not provide support for this old version.
You will encounter build failures with some formulae.
Please create pull requests instead of asking for help on Homebrew's GitHub,
Twitter or any other official channels. You are responsible for resolving
any issues you experience while you are running this
old version.

==> Downloading https://download.redis.io/releases/redis-6.2.6.tar.gz
######################################################################## 100.0%
Warning: Your Xcode (10.0) is outdated.
Please update to Xcode 10.1 (or delete it).
Xcode can be updated from the App Store.

==> make install PREFIX=/usr/local/Cellar/redis/6.2.6 CC=clang BUILD_TLS=yes
==> Caveats
To restart redis after an upgrade:
  brew services restart redis
Or, if you don't want/need a background service you can just run:
  /usr/local/opt/redis/bin/redis-server /usr/local/etc/redis.conf
==> Summary
🍺  /usr/local/Cellar/redis/6.2.6: 12 files, 1.8MB, built in 34 seconds
==> Running `brew cleanup redis`...
Disable this behaviour by setting HOMEBREW_NO_INSTALL_CLEANUP.
Hide these hints with HOMEBREW_NO_ENV_HINTS (see `man brew`).
ccccC:~ liuhuibin$ /usr/local/bin/redis-server /usr/local/etc/redis.conf
3945:C 24 Feb 2023 11:21:20.259 # oO0OoO0OoO0Oo Redis is starting oO0OoO0OoO0Oo
3945:C 24 Feb 2023 11:21:20.259 # Redis version=6.2.6, bits=64, commit=00000000, modified=0, pid=3945, just started
3945:C 24 Feb 2023 11:21:20.259 # Configuration loaded
3945:M 24 Feb 2023 11:21:20.260 * Increased maximum number of open files to 10032 (it was originally set to 256).
3945:M 24 Feb 2023 11:21:20.260 * monotonic clock: POSIX clock_gettime
                _._                                                  
           _.-``__ ''-._                                             
      _.-``    `.  `_.  ''-._           Redis 6.2.6 (00000000/0) 64 bit
  .-`` .-```.  ```\/    _.,_ ''-._                                  
 (    '      ,       .-`  | `,    )     Running in standalone mode
 |`-._`-...-` __...-.``-._|'` _.-'|     Port: 6379
 |    `-._   `._    /     _.-'    |     PID: 3945
  `-._    `-._  `-./  _.-'    _.-'                                   
 |`-._`-._    `-.__.-'    _.-'_.-'|                                  
 |    `-._`-._        _.-'_.-'    |           https://redis.io       
  `-._    `-._`-.__.-'_.-'    _.-'                                   
 |`-._`-._    `-.__.-'    _.-'_.-'|                                  
 |    `-._`-._        _.-'_.-'    |                                  
  `-._    `-._`-.__.-'_.-'    _.-'                                   
      `-._    `-.__.-'    _.-'                                       
          `-._        _.-'                                           
              `-.__.-'                                               

3945:M 24 Feb 2023 11:21:20.262 # Server initialized
3945:M 24 Feb 2023 11:21:20.262 * Ready to accept connections



exit

invalid signal specification


//开启
/usr/local/bin/redis-server /usr/local/etc/redis.conf
//关闭
redis-cli shutdown
 

redis-cli

exit

ps aux|grep redis 

 

客户端

AnotherRedisDesktopManager

 https://gitee.com/qishibo/AnotherRedisDesktopManager/releases/tag/v1.5.9

 

 

posted @ 2023-02-24 14:18  徒步阳光855  阅读(28)  评论(0编辑  收藏  举报