설치
Database 관리/Redis반응형
1. mkdir download; cd download;
2. wget http://download.redis.io/redis-stable.tar.gz
3. tar zxvf redis-stable.tar.gz
4. cd redis-stable
5. make
만약, error: jemalloc/jemalloc.h: No such file or directory 오류 발생시
6. make distclean
7. make
8. make install
test 1.server 실행.
$ redis-server
test 2.ping 확인.
$ redis-cli ping
결과로 PONG 이 나타나면 된다.
test 3.client 테스트.
$ redis-clie
set myval testvalue
get myval
반응형