Hadoop伪分布式的安装!!

版权声明:打个招呼,转载呗! https://blog.csdn.net/weixin_41919236/article/details/84258529

软江的安装目录:

	/opt/modules/

安装前的准备

1、关闭和禁用SELinux
# systemctl stop firewalld
# service iptables stop
# vim /etc/sysconfig/selinux 设置SELINUX=disabled

2、 置静态IP地址
# vi /etc/sysconfig/network-scripts/ifcfg-eth0

>3、修改HostName
			# hostname hadoop-yarn.dragon.org
			# vi /etc/hosts
		
>4、IP与HostName绑定
			# vi /etc/hosts

4、安装JDK
# /etc/profile
# source /etc/profile

  • 安装JDK

安装

	0)说明
			1、系统:Centos7 64位
			2、关闭防火墙
					>查看防火墙是否关闭:systemctl status firewalld   
					>关闭防火墙命令:systemctl stop firewalld
					>
	1)解压tar包
	tar zxvf hadoop-2.7.5.tar.gz -C /opt/modules/
	2)安装目录
	Hadoop_Home=/opt/modules/hadoop-2.7.5

猜你喜欢

转载自blog.csdn.net/weixin_41919236/article/details/84258529