1、下载Mahout
cd /tmp
wget http://mirrors.cnnic.cn/apache/mahout/0.11.0/apache-mahout-distribution-0.11.0.tar.gz
2、解压
tar zxvf apache-mahout-distribution-0.11.0.tar.gz
mv apache-mahout-distribution-0.11.0 /home/hadoop/mahout
3、配置
vim /etc/bashrc
MAHOUT_HOME = /home/hadoop/mahout
export $MAHOUT_HOME
export PATH=$PATH:$MAHOUT_HOME/bin
4、启动hadoop
start-dfs.sh
start-yarn.sh
原创文章,作者:奋斗,如若转载,请注明出处:https://blog.ytso.com/191740.html