1. JDK 설치
* PPA 를 이용한 설치 방법
$ sudo add-apt-repository ppa:webupd8team/java
$ sudo apt-get update
$ sudo apt-get install oracle-jdk7-installer
2. 설치 후 설치된 폴더 위치 확인
# ls -la /etc/alternatives/java*
3. 설치 후, 자바 실행 확인
# java -version
4. 아파치 ANT 설치
# apt-get install ant ant-optional
5. 아파치 Commons Lang 라이브러리 다운로드
http://commons.apache.org/lang/download_lang.cgi
압축은 아무대나 풀고, 클래스패스만 잡아주면 된다.
6. SLF4J 다운로드
http://www.slf4j.org/download.html
7. 쓰리프트 설치
1) 쓰리프트에 필요한 패키지 설치
* 우분투
sudo apt-get install libboost-dev automake libtool flex bison pkg-config g++
* 레드햇
yum install boost-devel automake libtool flex bison pkgconfig gcc-c++ python-devel
2) 쓰리프트 다운 후 설치
http://incubator.apache.org/thrift
다운 후
#tar xzf thrift-0.5.0.tar.gz
#cd thrift-0.5.0
#./configure JAVAC="자바설치경로" --prefix=/usr/local/thrift
#make
* 설치 도중 configure: error: "Error: libcrypto required." 에러 발생시
# sudo apt-get install libssl-dev
#make install
~/.bashrc 에 패스를 걸어준다
export PATH=설치경로/bin:$PATH
source ~/.bashrc
'클라우드 프로젝트' 카테고리의 다른 글
Hadoop 설치 및 설정 (0) | 2013.02.14 |
---|---|
1. 가상화 Xen 설치 (0) | 2013.01.25 |
클라우드 컴퓨팅 아키텍처 (0) | 2013.01.21 |
클라우드 컴퓨팅의 결정 요인 !! (0) | 2012.12.18 |
클라우드 컴퓨팅 프로젝트를 시작 하게 되면서 . .!! (0) | 2012.12.18 |