본문 바로가기

IT/linux

[CentOS] naver yobi 설치

naver yobi 설치 방법

설치환경 : CentOS 6.7

작성자 : Kei


// 0. java 설치 (생략)

-- 1.7 1.8 설치

# java -version

# javac -version


// 1. yobi 계정생성

# useradd yobi


// 2. play activator 설치

# su - yobi

$ wget http://downloads.typesafe.com/typesafe-activator/1.2.10/typesafe-activator-1.2.10-minimal.zip

$ unzip typesafe-activator-1.2.10-minimal.zipcd activator-1.2.10-minimal/ 

$ cd activator-1.2.10-minimal/


// 3. yobi 소스 내려 받기

$ git clone https://github.com/naver/yobi.git

Cloning into 'yobi'...

remote: Counting objects: 54543, done.

remote: Total 54543 (delta 0), reused 0 (delta 0), pack-reused 54543

Receiving objects: 100% (54543/54543), 83.18 MiB | 6.38 MiB/s, done.

Resolving deltas: 100% (33334/33334), done.

Checking connectivity... done.


// 4. 실행

$ cd yobi

$ ../activator

// yobi 콘솔창 나오면 start

[yobi] $ start


// 실행 예제 

// 필자는 9000포트 충돌로 인해 port 변경하여 실행하였음 (기본포트 9000)

[yobi@cent6 yobi]$ ../activator

[info] Loading project definition from /home/yobi/activator-1.2.10-minimal/yobi/project

[info] Set current project to yobi (in build file:/home/yobi/activator-1.2.10-minimal/yobi/)

[yobi] $ start -DapplyEvolutions.default=true -Dhttp.port=9999

[info] Wrote /home/yobi/activator-1.2.10-minimal/yobi/target/scala-2.10/yobi_2.10-0.8.2.pom

[info] Packaging /home/yobi/activator-1.2.10-minimal/yobi/target/scala-2.10/yobi_2.10-0.8.2.jar ...

[info] Done packaging.


(Starting server. Type Ctrl+D to exit logs, the server will remain in background)

 

Play server process ID is 3718

[info] play - database [default] connected at jdbc:h2:file:./yobi

[info] play - Starting application default Akka system.

[info] play - Application started (Prod)

[info] application - User uploaded temporary files are cleaned up...(0 of 0)

[info] play - Listening for HTTP on /0:0:0:0:0:0:0:0:9999


'IT > linux' 카테고리의 다른 글

[X][ubuntu] Ubuntu 설치  (0) 2016.03.09
[X][docker] CentOS에 docker설치  (0) 2016.01.13
[LINUX] heartbeat 설치  (1) 2015.12.01
[이관][CentOS] NTP(Network Time Protocol) 시간동기화  (0) 2015.11.30
[X][CentOS] CentOS minimal 설치 후 작업  (0) 2015.11.23