aws ubuntu에 redis 설치하여 jedis 연동하기

다음은 아마존 웹서비스 aws의 우분투에 redis를 설치하고, 전자정부프레임워크 기반에 jedis를 붙여 테스트 한 결과이다.

1. 파이선 설치

sudo apt-get install -y python-software-properties

2. 레포지토리 추가

sudo add-apt-repository -y ppa:rwky/redis

3. 업데이트

sudo apt-get update

4. 설치

sudo apt-get install -y redis-server

5. 전자정부프레임워크 설정
1) context-redis.xml



	
		 
		
		
		
    

2) pom.xml에 추가
참고로 jedis가 리눅스에서는 버전문제가 있는듯하다. 2.5.2는 문제가 없는데, 이 그이상 2.7.2, 2.8.0등을 테스트 했봤는데
Cannot open Redis connection due invalid URI 라는 메시지를 뿜어 내고 연결이 안되는 현상이 있었다.

		
			redis.clients
			jedis
			2.5.2
		

Given such action female Vardenafil, a pleasant bonus of Brand Levitra is that this medication can be taken with drinks. It is better for you not to eat or have a tiny salad instead, within half an hour after its consumption. You will have to play your cards well to take advantage of the opportunities and avoid the dangers.