|
카산드라는 Java 를 기반으로 만들어진 소프트웨어이므로 우선 JDK 를 사용할 수 있어야 한다. 아래 링크에서 JDK 를 다운로드받는다.
JDK 6 update 37 버전
http://www.oracle.com/technetwork/java/javase/downloads/jdk6u37-downloads-1859587.html
이 중 각자 플랫폼에 맞는 파일을 받는다.
Java SE Development Kit 6 Update 37 | ||
You must accept the Oracle Binary Code License Agreement for Java SE to download this software. Thank you for accepting the Oracle Binary Code License Agreement for Java SE; you may now download this software. | ||
---|---|---|
Product / File Description | File Size | Download |
Linux x86 | 65.43 MB | jdk-6u37-linux-i586-rpm.bin |
Linux x86 | 68.44 MB | jdk-6u37-linux-i586.bin |
Linux x64 | 65.65 MB | jdk-6u37-linux-x64-rpm.bin |
Linux x64 | 68.71 MB | jdk-6u37-linux-x64.bin |
http://download.oracle.com/otn-pub/java/jdk/6u37-b06/jdk-6u37-linux-i586-rpm.bin
파일을 다운로드받아 아래와 같이 설치한다.
[root@abc root]# cd /opt/src
[root@abc src]# mv jdk-6u37-linux-i586-rpm.bin jdk.bin
[root@abc src]# chmod 755 jdk.bin
[root@abc src]# ./jdk.bin
Unpacking...
Checksumming...
Extracting...
UnZipSFX 5.50 of 17 February 2002, by Info-ZIP (Zip-Bugs@lists.wku.edu).
inflating: jdk-6u37-linux-i586.rpm
inflating: sun-javadb-common-10.6.2-1.1.i386.rpm
inflating: sun-javadb-core-10.6.2-1.1.i386.rpm
inflating: sun-javadb-client-10.6.2-1.1.i386.rpm
inflating: sun-javadb-demo-10.6.2-1.1.i386.rpm
inflating: sun-javadb-docs-10.6.2-1.1.i386.rpm
inflating: sun-javadb-javadoc-10.6.2-1.1.i386.rpm
준비 중... ########################################### [100%]
1:jdk 경고: /etc/.java/.systemPrefs/.system.lock(이)가 /etc/.java/.systemPrefs/.system.lock.rpmnew(으)로 생성되었습니다
경고: /etc/.java/.systemPrefs/.systemRootModFile(이)가 /etc/.java/.systemPrefs/.systemRootModFile.rpmnew(으)로 생성되었습니다
########################################### [100%]
Unpacking JAR files...
rt.jar...
jsse.jar...
charsets.jar...
tools.jar...
localedata.jar...
plugin.jar...
javaws.jar...
deploy.jar...
Installing JavaDB
준비 중... ########################################### [100%]
1:sun-javadb-common ########################################### [ 17%]
2:sun-javadb-core ########################################### [ 33%]
3:sun-javadb-client ########################################### [ 50%]
4:sun-javadb-demo ########################################### [ 67%]
5:sun-javadb-docs ########################################### [ 83%]
6:sun-javadb-javadoc ########################################### [100%]
Java(TM) SE Development Kit 6 successfully installed.
Product Registration is FREE and includes many benefits:
* Notification of new versions, patches, and updates
* Special offers on Oracle products, services and training
* Access to early releases and documentation
Product and system data will be collected. If your configuration
supports a browser, the JDK Product Registration form will
be presented. If you do not register, none of this information
will be saved. You may also register your JDK later by
opening the register.html file (located in the JDK installation
directory) in a browser.
For more information on what data Registration collects and
how it is managed and used, see:
http://java.sun.com/javase/registration/JDKRegistrationPrivacy.html
Press Enter to continue.....
Done.
[root@abc src]#
이어서 카산드라를 설치한다
[root@abc root]# wget http://ftp.daum.net/apache/cassandra/0.7.10/apache-cassandra-0.7.10-bin.tar.gz
--15:05:53-- http://ftp.daum.net/apache/cassandra/0.7.10/apache-cassandra-0.7.10-bin.tar.gz
=> `apache-cassandra-0.7.10-bin.tar.gz'
Resolving ftp.daum.net... 211.62.252.36
Connecting to ftp.daum.net[211.62.252.36]:80... connected.
HTTP 요청을 보냅니다, 서버로부터의 응답을 기다림...200 OK
길이: 10,058,331 [application/x-gzip]
100%[====================================>] 10,058,331 3.11M/s ETA 00:00
15:05:56 (3.10 MB/s) - `apache-cassandra-0.7.10-bin.tar.gz' saved [10,058,331/10,058,331]
[root@abc root]# tar -xvf apache-cassandra-0.7.10-bin.tar.gz
[root@abc root]# sudo mkdir -p /var/log/cassandra
[root@abc root]# sudo mkdir -p /var/lib/cassandra
카산드라를 구동한다
[root@smis root]# cd apache-cassandra-0.7.10
[root@smis apache-cassandra-0.7.10]# bin/cassandra -f
http://www.geilthings.com/wiki/Cassandra
|
'프로그래밍 Programming' 카테고리의 다른 글
Earned Value Management (EVM, C/SCSC) (0) | 2012.12.01 |
---|---|
이클립스 단축키 보기 Shows you a list of your currently defined shortcut key (0) | 2012.11.03 |
key-value형 스토어란 What is a Key/Value store database? (0) | 2012.10.27 |
Tokyo Tyrant - 2. Tokyo Tyrant 설치하기 (0) | 2012.10.27 |
Tokyo Tyrant - 1. Tokyo Cabinet 설치하기 (0) | 2012.10.27 |