CentOS 8 에 memcached 설치하기 > 개발

본문 바로가기
사이트 내 전체검색

개발

CentOS 8 에 memcached 설치하기

페이지 정보

profile_image
작성자 관리자 (210.♡.35.28)
댓글 0건 조회 2,311회 작성일 21-03-06 10:37

본문

## 설치

```
# yum install memcached libmemcached
```
의존성 패키지인 libmemcached-libs 도 같이 설치가 된다.


## 설정파일

/etc/sysconfig/memcached

메모리 사이즈는 64M 이고, 최대접속수는 1024 이다.
기본적으로 localhost(127.0.0.1) 에서만 접근이 가능하다.
다른 서버에서 접근하려면, 아래 참고사이트들을 참고 하기 바란다.


## 데몬 실행
```
# systemctl start memcached
# systemctl enable memcached
# systemctl status memcached
```


## php 에서 사용하기
extension 을 설치해 주어야 한다.
```
# yum install php-pecl-memcached
```
의존성 패키지인 아래 패키지들도 같이 설치가 된다.
fastlz
php-pecl-igbinary
php-pecl-msgpack



## 참고
https://linuxize.com/post/how-to-install-memcached-on-centos-8/
https://www.tecmint.com/install-memcached-on-centos-8/
https://www.linuxtechi.com/install-memcached-caching-server-centos8/

추천0

댓글목록

등록된 댓글이 없습니다.

Total 386건 5 페이지
  • RSS
개발 목록
번호 제목 조회 추천 날짜
3062956004-29
3052186004-29
3042136004-29
3032828004-28
3022501004-28
3013958004-28
3001973004-25
2993029004-22
2981875004-14
2972332004-14
2962313004-12
2953263004-11
2942240004-07
2932983004-07
2923265003-25
2913362003-24
2903255003-06
열람중2312003-06
2882309003-01
2871701002-27

검색


사이트 정보

Copyright © Baragi.Net. All rights reserved.