hadoop安装和SSH

hadoop安装:

1、到官网下载hadoop-x.x.x.tar.gz,不要下成src的了,wget (http://网址);

2、tar -zxf 源目录 -C 解压目录

3、在local目录下赋权:chown -R hadoop:hadoop ./hadoop

4、检查是否安装好:./bin/hadoop version

SSH安装:

下载更新:

yum install openssh-server;

登入本机:

ssh localhost

cd .ssh

ssh-keygen -t rsa

cat ./id_rsa.pub >> ./authorized_keys

检查是否安装好:ssh localhost

你可能感兴趣的:(Hadoop)