摘要: 一、Scala安装 1.1下载并解压Scala 1.2 将Scala添加到环境变量 1.3激活配置 二、安装Spark 2.1下载并解压Spark 2.2 修改文件夹名字 2.3配置环境变量 三、配置Spark 需要修改的配置文件有两个 Spark env.sh, spark defaults.co 阅读全文
posted @ 2020-04-28 19:54 hziwei 阅读(394) 评论(0) 推荐(0) 编辑
摘要: 1、使用crontab编辑一个定时任务 每分钟执行一次,把“hello world!”写入到/root/test.txt 命令 :crontab -e 或者 vim /etc/crontab # 也可以直接修改 /etc/crontab */1 * * * * echo “hello world!” 阅读全文
posted @ 2020-04-28 16:07 hziwei 阅读(164) 评论(0) 推荐(0) 编辑
摘要: 一、Liunx环境准备 VMware+CentOS 7.6, 1.1下面是VMware和Centos的资源地址,也可以自己从网上下载相应的版本 百度网盘地址:链接:https://pan.baidu.com/s/1m_qvasgybY5rfJNHNjkqpw 提取码:9xka 1.2安装Linux 阅读全文
posted @ 2020-04-28 11:51 hziwei 阅读(287) 评论(0) 推荐(0) 编辑
摘要: 防火墙 systemctl stop firewalld 关闭防火墙 systemctl start firewalld 开启防火墙 systemctl disable firewalld 禁止开机启动 systemctl status firewalld 查看防火墙状态 重启网络服务 servic 阅读全文
posted @ 2020-04-28 10:27 hziwei 阅读(141) 评论(0) 推荐(0) 编辑