centos7清华源 wget 下载 hadoop -322
以下是在CentOS 7上使用清华源wget下载Hadoop-3.2.2的步骤:
- 打开终端,并使用以下命令登录到root用户:
sudo su -
- 使用以下命令将清华源添加到CentOS 7的yum源列表中:
cd /etc/yum.repos.d/ wget http://mirrors.tuna.tsinghua.edu.cn/help/centos-7-faster.conf mv centos-7-faster.conf CentOS-Base.repo
- 使用以下命令更新yum源:
yum update
- 安装wget:
yum install wget
- 使用以下命令下载Hadoop-3.2.2:
wget https://mirrors.tuna.tsinghua.edu.cn/apache/hadoop/common/hadoop-3.2.2/hadoop-3.2.2.tar.gz
- 解压下载的文件:
tar -zxvf hadoop-3.2.2.tar.gz
- 下载完成后,您可以将Hadoop安装在您选择的目录中。例如,使用以下命令将Hadoop安装在/opt/目录中:
mv hadoop-3.2.2 /opt/
这样,您就成功地使用清华源wget下载了Hadoop-3.2.2
原文地址: http://www.cveoy.top/t/topic/ci1g 著作权归作者所有。请勿转载和采集!