【环境准备】
scala-2.11.8
下载地址 :https://downloads.lightbend.com/scala/2.11.8/scala-2.11.8.tgz
jdk1.8
【安装过程】
[root@hadoop001 opt]# pwd /opt [root@hadoop001 opt]# wget https://downloads.lightbend.com/scala/2.11.8/scala-2.11.8.tgz [root@hadoop001 opt]# ll -rw-r--r-- 1 root root 28678231 Mar 4 2016 scala-2.11.8.tgz [root@hadoop614 opt]# mkdir /user/scala [root@hadoop614 opt]# tar -zxvf /opt/scala-2.11.8.tgz -C /usr/scala/ [root@hadoop001 scala]# ll total 4 drwxrwxr-x 6 1001 1001 4096 Mar 4 2016 scala-2.11.8 [root@hadoop001 scala]# pwd /usr/scala [root@hadoop001 scala]# chown -R root:root scala-2.11.8/ [root@hadoop001 scala]# ll total 4 drwxrwxr-x 6 root root 4096 Mar 4 2016 scala-2.11.8 [root@hadoop001 scala]#cd scala-2.11.8/bin/ [root@hadoop001 bin]# pwd /usr/scala/scala-2.11.8/bin [root@hadoop001 bin]# scala Welcome to Scala 2.11.8 (Java HotSpot(TM) 64-Bit Server VM, Java 1.8.0_45). Type in expressions for evaluation. Or try :help. scala> 1+1 res0: Int = 2 scala>
部署完成
这是我学大数据以来,安装部署最顺利最没有坑的一个软件,大爱