hadoop的伪分布安装
1.hadoop的伪分布安装 1.1 设置ip地址 执行命令 service network restart 验证: ifconfig 1.2 关闭防火墙 执行命令 service iptables stop 验证: service iptables status 1.3 关闭防火墙的自动运行 执行命令 chkconfig iptables off 验证: chkconfig --list | grep iptables 1.4 设置主机名 执行命令 (1)hostname chaoren (2)vi /etc/sysconfig/network 1.5 ip与hostname绑定 执行命令 vi /etc/hosts 验证: ping chaoren 1.6 设置ssh免密码登陆 执行命令 (1)ssh-keygen -t rsa (2)cp ~/.ssh/id_rsa.pub ~/.ssh/authorized_keys 验证: