Skip to content
Server
2016.09.17 20:42

윈도우용 MEMcached 설치방법

조회 수 5182 추천 수 0 댓글 1
?

단축키

Prev이전 문서

Next다음 문서

크게 작게 위로 아래로 댓글로 가기 인쇄 첨부
?

단축키

Prev이전 문서

Next다음 문서

크게 작게 위로 아래로 댓글로 가기 인쇄 첨부

Installing Memcached on Windows


두가지 방법으로 설명하고 있습니다.


인스톨 방법도 자세히 나옵니다.

The following are the download links for the memcached windows binaries:

http://code.jellycan.com/files/memcached-1.2.5-win32-bin.zip
http://code.jellycan.com/files/memcached-1.2.6-win32-bin.zip
http://downloads.northscale.com/memcached-win32-1.4.4-14.zip
http://downloads.northscale.com/memcached-win64-1.4.4-14.zip
http://downloads.northscale.com/memcached-1.4.5-x86.zip
http://downloads.northscale.com/memcached-1.4.5-amd64.zip

A) Installation of memcached < 1.4.5:

  1. Extract the memcached windows binary to any directory.
  2. In versions earlier than 1.4.5, memcached can install itself as a service. Run a command prompt with elevated privileges, and type:
    c:\memcached\memcached.exe -d install

    * Replace c:\memcached\memcached.exe with the actual path of your installation.

  3. Then, start or stop the memcached service with the following command:
    c:\memcached\memcached.exe -d start
    c:\memcached\memcached.exe -d stop
  4. To change the configuration of memcached, run regedit.exe and navigate to the key "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\memcached". Suppose you wish to increase the memory limit of memcached, edit the value of ImagePath to the following:
    "c:\memcached\memcached.exe" -d runservice -m 512

    * Besides '-m 512', you may also append other memcached parameters to the path. Run "c:\memcached\memcached.exe -h" to view the list of available parameters.

  5. Meanwhile, to uninstall the memcached serivce, run the following command:
    c:\memcached\memcached.exe -d uninstall


B) Installation of memcached >= 1.4.5:

  1. Extract the memcached windows binary to any directory.
  2. In version 1.4.5 or later, memcached cannot run as a service. It must be started as a normal process using the task scheduler. To configure the memcached process to run automatically every time windows start, run a command prompt with elevated privileges, and type the following:
    schtasks /create /sc onstart /tn memcached /tr "'c:\memcached\memcached.exe' -m 512"

    * Replace c:\memcached\memcached.exe with the actual path of your installation.
    ** Besides '-m 512', you may also append other memcached parameters to the path. Run "c:\memcached\memcached.exe -h" to view the list of available parameters.

  3. Meanwhile, to remove the scheduled memcached task, run the following command:
    schtasks /delete /tn memcached

 memcached.png

이상하게 난 OPCACHE가 더 낫네?

왜 같이 쓰면 느려지지?

#윈도우용 #MEMcached #설치방법 #urin79


로그인 후 댓글쓰기가 가능합니다.

?
  • ?
    nanumi 2016.09.18 21:39
    DB쿼리 요청수가 많다면 조금 느리더라도 사용권장이랍니다.

List of Articles
번호 분류 제목 날짜 조회 수
72 Server mysql 실행이 안되거나 테이블(사용중) 손상이 잃어난 경우 2 2012.07.14 13083
71 Server mysql 테이블 손상시 #1146 - Table 해결방법 file 2016.07.17 8910
70 Server MYSQL 튜닝 이정도는 해야되지 않겠나? 2 file 2012.07.16 7991
69 Server PHP Opcache 속도개선 시키기 2016.03.07 1835
68 Server PHP Opcache 적용 전과 후의 비교 1 2016.03.07 1325
67 Server PHP Proxy 가져오기 2 2013.04.20 14181
66 Server PHP 가속기 secret 2016.03.05 540
65 Server php) curl_setopt의 옵션 1 10 2013.04.02 12939
64 Server PHP) Example #1 HTML 엔티티 디코딩 13 2013.04.02 10179
63 Server php) register_globals = on 으로 설정할 수 없는경우 10 2013.03.23 8521
62 Server PHP) Web Proxy Server 만들기 소스 1 file 2013.03.04 15140
61 Server php) 변수명을 변수값으로 지정방법 10 2013.03.23 8280
60 Server php) 엑셀로 저장하기 2013.05.24 22066
59 Server php) 이미지 사이즈 구해서 0이면 게시물 내용 없애기 2013.07.05 11285
58 Server php.ini 파일설정으로 파일업로드 용량늘리기 2015.03.03 1154
57 Server Proxy and hide ip address problem 1 1 2013.04.03 11999
56 Server PuTTY Download Page(telnet,ftp,ssh) file 2016.12.06 5530
55 Server Server 성능 테스트 secret 2016.11.30 585
54 Server TIME_WAIT를 남기지 않는 세션종료 (Graceful Shutdown) 3 2013.03.02 11173
53 Server V2824 User Manual 1 file 2016.12.06 11752
Board Pagination Prev 1 2 3 4 5 Next
/ 5

http://urin79.com

우린친구블로그

sketchbook5, 스케치북5

sketchbook5, 스케치북5

나눔글꼴 설치 안내


이 PC에는 나눔글꼴이 설치되어 있지 않습니다.

이 사이트를 나눔글꼴로 보기 위해서는
나눔글꼴을 설치해야 합니다.

설치 취소