mac 安裝啟動(dòng) Redis6

1:安裝redis

從官網(wǎng)下載壓縮包 https://redis.io/download
這里選擇macOS x86_64

image.png

2. 解壓

拷貝到你日常工作的目錄后解壓,解壓后效果如下圖:


image.png

3. 啟動(dòng)

打開(kāi)terminal 進(jìn)入redis-stack-server-6.2.4-v3.catalina.x86_64bin目錄,通過(guò)redis-server啟動(dòng),輸入命令

./redis-server

看到如下內(nèi)容,表示啟動(dòng)成功

55130:C 13 Nov 2022 11:21:33.624 # oO0OoO0OoO0Oo Redis is starting oO0OoO0OoO0Oo
55130:C 13 Nov 2022 11:21:33.624 # Redis version=6.2.7, bits=64, commit=e6f67092, modified=0, pid=55130, just started
55130:C 13 Nov 2022 11:21:33.624 # Warning: no config file specified, using the default config. In order to specify a config file use ./redis-server /path/to/redis.conf
55130:M 13 Nov 2022 11:21:33.625 * Increased maximum number of open files to 10032 (it was originally set to 2560).
55130:M 13 Nov 2022 11:21:33.625 * monotonic clock: POSIX clock_gettime
55130:M 13 Nov 2022 11:21:33.627 # A key '__redis__compare_helper' was added to Lua globals which is not on the globals allow list nor listed on the deny list.
                _._                                                  
           _.-``__ ''-._                                             
      _.-``    `.  `_.  ''-._           Redis 6.2.7 (e6f67092/0) 64 bit
  .-`` .-```.  ```\/    _.,_ ''-._                                  
 (    '      ,       .-`  | `,    )     Running in standalone mode
 |`-._`-...-` __...-.``-._|'` _.-'|     Port: 6379
 |    `-._   `._    /     _.-'    |     PID: 55130
  `-._    `-._  `-./  _.-'    _.-'                                   
 |`-._`-._    `-.__.-'    _.-'_.-'|                                  
 |    `-._`-._        _.-'_.-'    |           https://redis.io       
  `-._    `-._`-.__.-'_.-'    _.-'                                   
 |`-._`-._    `-.__.-'    _.-'_.-'|                                  
 |    `-._`-._        _.-'_.-'    |                                  
  `-._    `-._`-.__.-'_.-'    _.-'                                   
      `-._    `-.__.-'    _.-'                                       
          `-._        _.-'                                           
              `-.__.-'                                               

55130:M 13 Nov 2022 11:21:33.628 # Server initialized
55130:M 13 Nov 2022 11:21:33.628 * Ready to accept connections
?著作權(quán)歸作者所有,轉(zhuǎn)載或內(nèi)容合作請(qǐng)聯(lián)系作者
【社區(qū)內(nèi)容提示】社區(qū)部分內(nèi)容疑似由AI輔助生成,瀏覽時(shí)請(qǐng)結(jié)合常識(shí)與多方信息審慎甄別。
平臺(tái)聲明:文章內(nèi)容(如有圖片或視頻亦包括在內(nèi))由作者上傳并發(fā)布,文章內(nèi)容僅代表作者本人觀點(diǎn),簡(jiǎn)書(shū)系信息發(fā)布平臺(tái),僅提供信息存儲(chǔ)服務(wù)。

相關(guān)閱讀更多精彩內(nèi)容

友情鏈接更多精彩內(nèi)容