yum install wget
wget https://mirrors.tuna.tsinghua.edu.cn/apache/hadoop/common/hadoop-2.7.6/hadoop-2.7.6.tar.gz >>下载镜像
mkdir -p /xxx/xxx/xxx >>创建多级目录
mv /xxx/xxx /aaa/aaa >>移动/xxx/xxx >/aaa/aaa
tar -zxvf /xxxx.tar.gz >>解压
yum install wget
wget https://mirrors.tuna.tsinghua.edu.cn/apache/hadoop/common/hadoop-2.7.6/hadoop-2.7.6.tar.gz >>下载镜像
mkdir -p /xxx/xxx/xxx >>创建多级目录
mv /xxx/xxx /aaa/aaa >>移动/xxx/xxx >/aaa/aaa
tar -zxvf /xxxx.tar.gz >>解压
转载于:https://www.cnblogs.com/bestzj/p/10549027.html