hadoop的一键搭建脚本
1.使用说明:
本脚本适用于ubuntu系统,用户只需要下载对应的hadoop-2.8.5与jdk1.8.0_261版本,把压缩包放在用户的家目录下,执行该脚本即可
2.脚本作用:
- 自动解压jdk与Hadoop
- 自动更改配置文件
- 安装openssh与实现免密登录
hadoop-2.8.5:
https://pan.baidu.com/s/1IP5pa7Ybj6aAwudHXVqsGQ
提取码:tt01
jdk1.8.0_261:
https://pan.baidu.com/s/1Pn-atBZgoxKebRzJP62TZw
提取码:tt01
脚本链接:https://github.com/TdreamT/hadoop.git
#!/bin/bash
#********************************************************************
#Hadoop的安装与配置(Ubuntu18.04)
#Author:txm
#github: https://github.com/TdreamT/hadoop.git
#********************************************************************
#!/bin/bash
echo -n "请输入用户名: "