0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

CACでPlayの環境構築した時のメモ

Last updated at Posted at 2016-12-03

前置き

CentOS 7
初期状態だとunzip入ってなかった。

Javaインストール

yum install java-1.8.0-openjdk-devel

最初にインストールした時にdevelつけ忘れてjavacが入ってないことに後で気づいた。

Scalaインストール

wget http://downloads.lightbend.com/scala/2.12.0/scala-2.12.0.tgz
tar xvzf scala-2.12.0.tgz
mv scala-2.12.0.tgz /usr/local/scala

Playインストール

wget https://downloads.typesafe.com/typesafe-activator/1.3.12/typesafe-activator-1.3.12.zip
unzip typesafe-activator-1.3.12.zip
mv activator-dist-1.3.12 /usr/local/activator

パスを通す

vi /etc/profile
source /etc/profile

/etc/profileに以下を追記。

export SCALA_HOME=/usr/local/scala
export PATH=$PATH:$SCALA_HOME/bin
export PATH=$PATH:/usr/local/activator/bin
0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?