반응형
블로그 이미지
개발자로서 현장에서 일하면서 새로 접하는 기술들이나 알게된 정보 등을 정리하기 위한 블로그입니다. 운 좋게 미국에서 큰 회사들의 프로젝트에서 컬설턴트로 일하고 있어서 새로운 기술들을 접할 기회가 많이 있습니다. 미국의 IT 프로젝트에서 사용되는 툴들에 대해 많은 분들과 정보를 공유하고 싶습니다.
솔웅

최근에 올라온 글

최근에 달린 댓글

최근에 받은 트랙백

글 보관함

카테고리

Install Cassandra 카산드라 설치하기

2015. 12. 9. 11:15 | Posted by 솔웅


반응형

카산드라를 설치하고 환경설정을 할 겁니다.

http://docs.datastax.com/en/playlist/doc/java/playlistSettingUp.html


그 전에 필요한 소프트웨어들이 미리 설치돼 있어야 합니다.



Required software 

The following software is required to build and run the Playlist tutorial example application:

저는 제 맥북에 설치해 보려고 합니다.


카산드라 설치하기


1. Download here

2. 다운로드 받은 dmg 파일을 더블 클릭한 후 아래 가이드 대로 진행한다.


Screen - Panel Recommendations and additional information
Setup Welcome page.
License Agreement DataStax Enterprise End User License Agreement
Install Options
Server Installation Directory

Linux: By default, DataStax Enterprise is installed in the /home/user/dse directory.

Mac OS X: By default, DataStax Enterprise is installed in the /usr/share/dse/ directory.

If you use the No Services option, you can change the location of the dse directory. If you install as a service, DataStax Enterprise can only be installed in the /usr/share/dse directory.

Install Type

Use Simple Install.

Installs DataStax Enterprise with the default path names and options.

Update System Updates some system packages and dependencies. Does not upgrade or install major components such as Oracle Java. Set to No unless you have root or sudo access.
Default Interface

Select 127.0.0.1.

Network interface for the DataStax Enterprise server.

Service Setup

Select No Services - installs the DataStax Enterprise server as a stand-alone process.

Start Services After Install

Select No.

A non-root install doesn't use services.

Node Setup
Node Type

Select Cassandra Node.

The following types of nodes are available:
Ring Name Use the default name or enter a name of your choice.
Seeds

Select 127.0.0.1.

Cassandra nodes use the seed node list for finding each other and learning the topology of the ring.

Setup
DataStax Agent

Select OpsCenter Address: 127.0.0.1.

The agent provides an interface between DataStax OpsCenter and DataStax Enterprise.

System Configuration Configuration overview and warnings about potential issues.
Ready to Install The install wizard installs the software.
Setup finish Post-installation tasks. To see the Pre-flight check results, select View Configuration Recommendations And Warnings




설치가 끝나면 바탕화면에 DataStax Enterprise shortcut 이 생깁니다.



이 shortcut 안으로 들어가면 start_cassandra , start_datastax_agent 를 포함해 여러가지 실행 파일들이 있습니다.



이렇게 하면 간단하게 카산드라 설치가 끝납니다.



터미널을 실행해서 카산드라가 설치된 폴더로 이동합니다.

숏컷을 실행하면 해당 폴더를 알 수 있습니다.


그 폴더에서 bin 폴더 안으로 들어갑니다.


그곳에서 아래와 같이 명령어를 칩니다.

(그 전에 숏컷에서 start_datastax_agent 를 실행해야 합니다.)


./nodetool status


그러면 아래와 같은 화면을 보실 수 있습니다.



이렇게 되면 DataStax Enterprise 이 실행중 이라는 얘기입니다.


이제 Playlist example code 를 받으려면 아래와 같이 받습니다.

$ git clone https://github.com/DataStaxDocs/playlist.git


그 다음 example application's dependencies 를 다운받으려면 메이븐을 사용해야 하는데 제 컴에 아직 메이븐을 설치하지 않아서 안 되네요.

$ cd playlist
$ mvn verify

이 부분은 메이븐을 설치한 다음에 시도해 봐야겠습니다.



반응형


반응형

노컷뉴스 | CBS 스마트뉴스팀 | 입력 2015.12.05. 06:04












반응형


반응형

Korean slugger Park has 4-year deal with Twins





MLB.com | 4:10 PM ET


MINNEAPOLIS -- The Twins and first baseman/designated hitter Byung Ho Park agreed Tuesday on a four-year contract, with a club option for the 2020 season.

MN Twins 와 박병호 선수 (1루수 겸 지명타자)는 화요일 2020 년 club option 을 포함한 4년 계약을 체결했다.

The deal includes $12 million in guaranteed salary, with Park earning $2.75 million in 2016 and 2017 and $3 million in 2018 and 2019. The club option for 2020 is worth $6.5 million with a $500,000 buyout.

계약 조건은 $12 million 의 guaranteed salary 가 포함 돼 있다. 박병호는 2016년과 2017년에 $2.75 million 을 받고 2018년과 2019년에는 $3 million 을 받게 된다. 2020년도의 club option은 5십만불 인수와 $6.5 million 상당의 금액이다.

The Twins won negotiating rights to Park last month by posting a bid with the Nexen Heroes for $12.85 million.


MN Twins 는 지난달 엑센 히어로와의 협상에서 $12.85 million 의 포스팅 금액으로 협상권을 따낸 바 있다.

Park, 29, batted .343 (181-for-528) with 35 doubles, 53 home runs, 146 RBIs and 10 stolen bases in 140 games for the Nexen Heroes of the Korea Baseball Organization last season. He led the league in home runs and RBIs and ranked second in runs (129), OPS (1.150) and slugging percentage (.714).

박병호는 29세로 지난 한국의 야구시즌에서 넥센 히어로 소속으로 타율 .343 (528 중 181)과 35 doubles,홈런 53개, 타점 146점 그리고 10개의 도루를 기록했다. 그는 홈런과 타점에서 리그를 주도했으며 득점 (129), OPS (On hase percentage Plus Slugging percentage 출루율+장타율) - 1.150 그리고 , 장타율 (.714) 에서 2위를 기록했다.


Over parts of nine seasons in the KBO, Park played in 868 games with a .281 career average, 137 doubles, 604 RBIs and 210 home runs, including hitting 105 home runs over the past two seasons. The right-handed-hitting Park will look to become the 18th Korean-born player to reach the Major Leagues.


KBO 의 9개 시즌 중 박병호는 통산 타율 .281, 2루타 137, 타점 604 그리고 210개의 홈런을 기록했다. 지난 두 시즌 동안에는 105개의 홈런을 기록했다. 우완타자인 박병호는 메이저리그에 입성하는 18번째 한국 출신 선수가 될 것이다.

Park is expected to serve mostly as designated hitter for the Twins, and Park told reporters on Sunday that's he's fine with that role.


박병호는 Twins 에서 지명타자로 활동할 것으로 기대되며 일요일 기자와의 인터뷰에서 그 역할에 대해 만족한다고 답변했다.

"I have no problem with being the DH," Park said. "Obviously, I prefer to take the field but I also have to make adjustments in a new environment."


"저는 지명타자가 되는것에 대해 아무런 문제가 없습니다. field에서 뛰고 싶지만 새로운 환경에 적응하는 것도 중요하다고 생각합니다." 라고 그는 말했다.

The Twins will introduce Park at an 11 a.m. ET/10 CT news conference Wednesday at Target Field.


Twins 는 타겟필드에서 수요일 동부시각 오전 11시, 중부시각 오전 10시에 뉴스 컨퍼런스를 열어 박병호 선수를 소개할 예정이다.

반응형
이전 1 2 다음