Notice
Recent Posts
Recent Comments
Link
고양이 여름이의 지식채널
레디스(Redis) 간단 소개와 리눅스(Linux) 환경 설치방법 본문
레디스(Redis)는 캐싱, 실시간 데이터 분석, 세션 관리와 같은 분야에 널리 사용되는 오픈 소스 인 메모리 키 값(in-memory key-value) 데이터베이스입니다. 빠른 속도와 짧은 대기 시간, 다중 데이터 구조, 확장성, 사용 편의성 및 고성능을 제공합니다.
레디스 설치 방법 (Linux)
- 인덱스에 리포지토리를 추가하고 apt업데이트한 다음 설치합니다.
- 그리고 나서 아래와 같이 명령어를 입력하여 설치를 합니다.
## 도커 컨테이너로 설치하는 경우
# sudo apt install lsb-release <- 먼저 설치해줘야한다.
curl -fsSL https://packages.redis.io/gpg | sudo gpg --dearmor -o /usr/share/keyrings/redis-archive-keyring.gpg
echo "deb [signed-by=/usr/share/keyrings/redis-archive-keyring.gpg] https://packages.redis.io/deb $(lsb_release -cs) main" | sudo tee /etc/apt/sources.list.d/redis.list
sudo apt-get update
sudo apt-get install redis
반응형
설치가 완료 되었으면.
redis를 접속해보자.
redis-cli로 redis 명령줄 인터페이스를 실행후 간단한 명령어 테스트 진행.
정상 처리되는것을 확인할수 있다.
https://redis.io/docs/getting-started/installation/install-redis-on-linux/
Install Redis on Linux
How to install Redis on Linux
redis.io
레디스(Redis) 기본 명령어 및 예제
레디스(Redis)를 사용하기 위한 몇 가지 기본 명령어와 예제에 대해 설명합니다. SET and GET SET mykey "Hello Redis!" GET mykey > Hello Redis! 레디스(Redis) 에서 가장 기본적인 명령 중 하나인 SET 은 지정된 키에
summer-cat93.tistory.com
728x90
반응형
Comments