다음과 같이 하면 된다.
wget http://download.redis.io/redis-stable.tar.gz
tar xvzf redis-stable.tar.gz
cd redis-stable
make
gcc가 깔려 있지 않다면,
sudo yum -y install gcc-c++
이라고 치면 된다. (-y는 yes 옵션)
zmalloc.h:51:31: error: jemalloc/jemalloc.h: No such file or directory
이러한 에러가 나면
make distclean
을 실행 후에 다시
make
한다.
출처:
- http://redis.io/topics/quickstart
- http://blog.naver.com/PostView.nhn?blogId=kimtaiyong&logNo=150086181893&categoryNo=11&viewDate=¤tPage=1&listtype=0
- http://blog.gbinghan.com/2012/05/installing-redis-jemallocjemalloch-no.html
'프로그래밍 > AWS' 카테고리의 다른 글
[AWS] Git hook을 이용한 서버 디플로이 (0) | 2014.11.12 |
---|---|
[AWS] AMI에서 Redis를 서비스로 실행. (2) | 2014.04.28 |
[AWS] ulimit, file descriptor 설정 (0) | 2014.04.17 |
[AWS]No space left on the disk (1) | 2014.04.17 |
[Server] AWS Elastic Beanstalk SSL 설치 (0) | 2014.01.27 |