zoukankan      html  css  js  c++  java
  • Hadoop 单机搭建 Scala安装

    下载地址:https://www.scala-lang.org/download/

    Scala版本:scala-2.13.1.tar

    1、下载安装

    tar -xvf scala-2.13.1.tar -C /opt/modules/

    2、配置环境变量

    修改
    [hadoop@centos04 scala-2.13.1]$ sudo vi /etc/profile
    
    添加
    export SCALA_HOME=/opt/modules/scala-2.13.1
    export PATH=$PATH:$SCALA_HOME/bin
    
    更新
    [hadoop@centos04 scala-2.13.1]$ source /etc/profile

    3、测试

     scala -version
    [hadoop@centos04 scala-2.13.1]$ scala -version
    Scala code runner version 2.13.1 -- Copyright 2002-2019, LAMP/EPFL and Lightbend, Inc.
    [hadoop@centos04 scala-2.13.1]$ 

    使用方法

    https://www.runoob.com/scala/scala-install.html

    结束

  • 相关阅读:
    虚拟机网络配置常见问题总结
    Python
    Python
    Python
    Python
    Python
    Python
    MySQL
    MySQL
    MySQL
  • 原文地址:https://www.cnblogs.com/xuchen0117/p/12536043.html
Copyright © 2011-2022 走看看