yum install openssh-server
Enter file in which to save the key (/root/.ssh/id_rsa):(按回车)
cat /root/.ssh/id_rsa.pub >> /root/.ssh/authorized_keys
tar -zxvf jdk-7u71-linux-x64.tar.gz
2. 打开全局变量配置文件
vim /etc/profile
source /etc/profile
5. 确认 JDK 安装成功
tar -zxvf hadoop-2.2.0.tar.gz
2. 配置 hadoop-env.sh
cd /opt/hadoop-2.2.0/etc/hadoop
vim hadoop-env.sh
3. 在/etc/profile 里增加如下配置:
cd /opt/hadoop-2.2.0/etc/hadoop
vim core-site.xml