windows安裝Reids

來源:互聯網
上載者:User

標籤:sys   create   erro   開機   開機啟動   redis   git   sop   版本   

1.下載windows版本,64位,3.0版本就可以

官網:http://redis.io/download

github:https://github.com/MSOpenTech/redis/tags

 

2.建立路徑C:\Redis\redis-3.0,存放redis檔案

 

3.在Redis路徑下,啟動命令

redis-server redis.windows.conf

 

4、設定服務命令,開機啟動Redis

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

 

5.添加Redis路徑都系統內容path中,在任意路徑下都可以cmd啟動redis-cli

 

6.reids-cli測試

 

7、常用的redis服務命令。

卸載服務:redis-server --service-uninstall

開啟服務:redis-server --service-start

停止服務:redis-server --service-stop

 

安裝redis到系統服務時,報錯:[12116] 10 Dec 10:39:16.588 # HandleServiceCommands: system error caught. error code=1073, message = CreateService failed: unknown error原因:系統服務中已經存在解決辦法:先卸載服務再安裝: redis-server --service-uninstall然後在: redis-server --service-install redis.windows.conf

 

windows安裝Reids

相關文章

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在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.