정책보기 ▼
프리미엄배너등록 광고
총 게시물 485건, 최근 0 건 안내 RSS
이전글  다음글  목록 글쓰기
[IT]

CentOS 에 Memcached 설치 하기

에듀고시넷 2019-10-29 (화) 03:27 4년전 1232
https://www.edugosi.net/b/free_board-299


CenOS Version : 7
PHP Version : 5.6

1. yum clean up
yum clean all
2. yum 업데이트
yum -y update
3. memcahced 설치
yum -y install memcahced
만약 버젼에 맞게 설치하고 싶다면 다음 처럼 검색 명령어를 쳐서 알맞는 버젼을 직접 입력해서 설치한다.
yum serach memcahced
4. memcahced 설치 확인
memcached -h
memcached 1.4.15-p       TCP port number to listen on (default: 11211)
-U       UDP port number to listen on (default: 11211, 0 is off)
-s      UNIX socket path to listen on (disables network support)
-a      access mask for UNIX socket, in octal (default: 0700)
-l      interface to listen on (default: INADDR_ANY, all addresses)
               may be specified as host:port. If you don't specify
              a port number, the value you specified with -p or -U is              used. You may specify multiple addresses separated by comma
              or by using -l multiple times
-d            run as a daemon
-r            maximize core file limit
-u  assume identity of  (only when run as root)
-m       max memory to use for items in megabytes (default: 64 MB)
-M            return error on memory exhausted (rather than removing items)
-c       max simultaneous connections (default: 1024)
-k            lock down all paged memory.  Note that there is a
              limit on how much memory you may lock.  Trying to
              allocate more than that would fail, so be sure you
              set the limit correctly for the user you started
              the daemon with (not for -u  user;
              under sh this is done with 'ulimit -S -l NUM_KB').
-v            verbose (print errors/warnings while in event loop)
-vv           very verbose (also print client commands/reponses)
-vvv          extremely verbose (also print internal state transitions)
-h            print this help and exit
-i            print memcached and libevent license
-P      save PID in , only used with -d option
-f    chunk size growth factor (default: 1.25)
-n     minimum space allocated for key+value+flags (default: 48)
-L            Try to use large memory pages (if available). Increasing
              the memory page size could reduce the number of TLB misses
              and improve the performance. In order to get large pages
              from the OS, memcached will allocate the total item-cache
              in one large chunk.
-D      Use  as the delimiter between key prefixes and IDs.
              This is used for per-prefix stats reporting. The default is              ":" (colon). If this option is specified, stats collection
              is turned on automatically; if not, then it may be turned on
              by sending the "stats detail on" command to the server.
-t       number of threads to use (default: 4)
-R            Maximum number of requests per event, limits the number of
              requests process for a given connection to prevent
              starvation (default: 20)
-C            Disable use of CAS
-b       Set the backlog queue limit (default: 1024)
-B            Binding protocol - one of ascii, binary, or auto (default)
-I            Override the size of each slab page. Adjusts max item size              (default: 1mb, min: 1k, max: 128m)
-o            Comma separated list of extended or experimental options
              - (EXPERIMENTAL) maxconns_fast: immediately close new
                connections if over maxconns limit
              - hashpower: An integer multiplier for how large the hash
                table should be. Can be grown at runtime if not big enough.
                Set this based on "STAT hash_power_level" before a
                restart.
5. memcached 에 대한 설정 변경을 원한다면 vi 로 /etc/sysconfig/memcached 들어가서 수정한다.
vi /etc/sysconfig/memcached
PORT=11211USER=”memcached”MAXConN=1024CACHESIZE=64OPTIonS=””
6. memcached 재시작
systemctl restart memcached

그외 명령어
- memcached 시작
systemctl start memcached
- memcached 자동으로 시작하고 종료 되도록 하는 명령어
systemctl enable memcached
- memcached 상태 확인
systemctl status memcached
- memcached 정지
systemctl stop memcached

...[더 보기]


hi
이전글  다음글  목록 글쓰기

총 게시물 485건, 최근 0 건 안내 RSS
번호 이미지 제목 날짜 조회
245  11월 아파트 사전점검 (인천/서울/남양주) '청소프로' 11-07 1259
244  2월 제주도 가볼만한곳 10곳 여행지 추천 『제주하르방투어』 02-11 1247
243  레가메 XAZ-87TZ 에깅로드 영입완료 #등낚골 12-10 1240
242  [에듀랑] 딱! 1주일간 할인이벤트 '한자강의 등 1년 연회원 종합반' (~7.24(화) 자정까… 07-17 1233
241  CentOS 에 Memcached 설치 하기 10-29 1233
240  제주무늬에깅 출조 무늬오징어 히트포인트 공개합니다 #제주무늬에깅 #무늬오징어히트포… 06-23 1227
239  인터넷 동영상강의 인강 홈페이지 [데모사이트] 오픈은 11월 초!! 10-30 1226
238  제주렌트카사이트 - 제주도렌트카 가격비교 최저가 할인 예약완료! #제주할인쿠폰 #제주도… 12-20 1226
237  7월 제주도 2박3일 코스 '후불할인쿠폰' 제주하르방투어 07-06 1225
236  제주 모바일 할인쿠폰 무료제공 사이트 '제주모로그' 07-31 1219
235  제주 낚시렌터카 팰리세이드 8인승 경유 오토차량 #등낚골 11-12 1214
234  [청소프로] 신축주택 입주청소 시공해드립니다 07-13 1213
233  제주 서귀포 무늬오징어 낮 에깅 세번째 무늬히트:) #등낚골 12-04 1213
232  CentOS7에 Php 삭제 후 Php5.6 설치 (호환성 관련 모듈 전체 설치방법) 및 (php56-imap 개별설치 방… 10-24 1208
231  2월 제주도 가볼만한곳 여행지 30선 세번째✔ 『하르방투어』 02-22 1206
230  명심보감 인강 사이트 한공사 J 01-03 1204
229  집청소업체 가격 『청소프로』 이사청소 거주청소 입주청소 청소업체 06-16 1204
228  5월 제주도 가볼만한곳 여행지 [ATV 체험 관광지] 05-23 1197
227  2월 신축 아파트 사전점검 『청소프로』 01-30 1196
226  7월 제주도 가볼만한곳 30선 할인쿠폰 '제주도in' 07-24 1195
225  (컴온제주) 제주도 여행 저렴한 제주도 렌트카로 실속있게, 싸게 여행하자 #컴온제주 #제주… 03-15 1194
224  어문회한자급수시험기출문제 사이트 추천 08-02 1192
223  4월 봄철 제주도 가볼만한 관광지 5곳 추천 #하르방투어 #제주관광할인권 #제주모바일쿠폰 … 04-03 1190
222  7월 신축아파트 사전점검일 안내 (의정부/김포/안성) '청소프로' 07-09 1183
221  제주도in 여행 제주닷컴 '패밀리사이트' 11-04 1177
220  [청소프로] 서울 리모델링후청소 시공해드립니다 12-15 1169
219  letsencrypt 인증서 기간만료 후 갱신 완료 - 제주도in 공식 블로그 (blog.jejudoin.co.kr) 06-02 1167
218  평촌청소업체 [청소프로] 소개합니다 05-09 1161
217  3월 제주도 가볼만한곳 10곳 관광지 및 관광지입장료할인권 안내 #한공사 #제주여행 #제주… 02-22 1161
216  2022년도 진흥회 한자실력급수 107회 자격시험 한자기출문제 및 정답 업데이트 완료 #한공사… 02-21 1160
215  크롬 7.2버전 플래시 항상 허용하는 방법이 있네요..ㅋㅋ 03-21 1156
214  3월 제주무늬에깅 눈에 보이는 무늬오징어 히트:) #등낚골 #무늬오징어 #제주에깅동호회 #3… 03-19 1154
213  [한자카페] 한공사 한자공부카페, 인터넷강의 평생회원수강반 회원모집안내 #한자자격시… 07-22 1152
212  6월 제주도 가볼만한곳 『신규관광상품 및 단독할인판매 관광상품』 관광지 안내 06-08 1149
211  구글북닷컴 - 구글맞춤검색 사이트 open!! 11-01 1147
210  12월 아파트 사전점검일 안내 (서울/인천/남양주/동탄) 11-28 1144
209  3월 제주도 가볼만한곳 30선 여행지 첫번째✔ 『하르방투어』 02-28 1139
208  공인중개사 강의 『인강랜드』 08-20 1138
207  [제주에깅팀] 제주도 무늬오징어 낚시, 에깅히트포인트 공개 및 확인안내 #제주도무늬에깅… 07-22 1135
206  3월 제주도 가볼만한곳 30선 여행지 세번째✔ 『하르방투어』 03-17 1134
목록
처음  1  2  3  4  5  6  7  8  9  10  다음  맨끝

 
스폰서링크
edugroup.co.kr edume.co.kr vstudio.co.kr jejudoin.co.kr enuribook.co.kr 이니시스에스크로확인증 클릭하시면 이니시스 결제시스템의 유효성을 확인하실 수 있습니다.
대한민국 교육포털 커뮤니티 사이트 에듀고시넷 방문을 환영합니다. 문의는 질문게시판을 이용해주세요.
문의전화 : 032-661-6202 / H.P : 010-2037-1497 Copyright ⓒ www.edugosi.net. All rights reserved. Since 2014.