windows下安裝memcache

來源:互聯網
上載者:User

標籤:image   開始菜單   雙擊   ros   服務   連接埠號碼   指定   其他   win   

先下載windows下的服務端,下載完成後 直接雙擊運行。:http://pan.baidu.com/s/1eR9GalW 在cmd命令列下輸入 
telnet 127.0.0.1 11211
如果報“telnet不是內部或外部命令”,在控制台下 找到 "啟用或關閉windos功能" 找打telnet 選中,點擊確定  (如下) 補充:如何在啟動memcache時,改變啟動參數如將memcache設定為守護進程啟動1、在開始菜單裡找到附件以管理員身份運行命令提示字元(如果不進行這一步,可能會報 “failed to install service or service already installed” 錯誤) 2、進入到在memcached目錄下運行 
memcached.exe -d install 

其他啟動參數如下

 -p <num>      設定TCP連接埠號碼(預設不設定為: 11211) -U <num>      UDP監聽連接埠(預設: 11211, 0 時關閉) -l <ip_addr>  綁定地址(預設:所有都允許,無論內外網或者本機更換IP,有安全隱患,若設定為127.0.0.1就只能本機訪問)  -d                  以守護進程方式運行  memcahce.exe -d install/uninstall  -u <username> 綁定使用指定用於運行進程<username>  -m <num>      允許最大記憶體用量,單位M (預設: 64 MB)  -P <file>     將PID寫入檔案<file>,這樣可以使得後邊進行快速進程終止, 需要與-d 一起使用

 

   

windows下安裝memcache

相關文章

聯繫我們

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