Redis安裝[Windows]

來源:互聯網
上載者:User

標籤:ons   studio   用戶端   lin   地址   win7   16px   uap   evel   

一.  redis:  https://github.com/ServiceStack/redis-windows/tree/master/downloads 

  根據需要的下載對應版本*.zip即可.(我這裡是win7x64)

二.使用

  1.  下載之後解壓到你相應的目錄下:

    

1 檔案介紹:2 redis-benchmark.exe #基準測試3 redis-check-aof.exe # aof4 redischeck-dump.exe # dump5 redis-cli.exe # 用戶端6 redis-server.exe # 伺服器7 redis.windows.conf # 設定檔

  2.   簡單啟動redis:

      進入解壓後的檔案夾,shift+右鍵進入cmd;

    

    鍵入CMD命令: redis-server.exe redis.windows.conf 

    

    注: 此為服務啟動成功的狀態,關閉服務直接關掉cmd視窗即可;

   3.  簡單測試狀態,在此處再開啟一個cmd視窗,鍵入 redis-cli.exe 

    

 

 三.  安裝redis 服務

   1.在此檔案夾下再開啟一個cmd視窗,運行命令 : 

   redis-server --service-install redis.windows.conf --loglevel verbose  

  

  

  2. 關閉服務端cmd視窗,重新整理後在服務中啟動redis服務;

   

  3. 啟動redis-cli.exe 測試看看;

 

四. 其他相關

  1. 更多的redis命令,可以看官方網站或中文站,戳這裡:http://www.redis.cn/commands.html。

  2. Redis視覺化檢視,RedisDesktopManager,開源的,

   託管在github上,感興趣的可以去看看:https://github.com/uglide/RedisDesktopManager

  3. 管理工具: RedisStudio: https://github.com/cinience/RedisStudio

  4. hosts設定:

1 set duapphosts=127.0.0.1        sqld.duapp.com2 set redisduapphosts=127.0.0.1        redis.duapp.com3 echo %duapphosts% >> C:\Windows\System32\drivers\etc\hosts4 echo %redisduapphosts% >> C:\Windows\System32\drivers\etc\hosts

 

    

 

Redis安裝[Windows]

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.