Hadoop偽分散式的安裝!!
阿新 • • 發佈:2018-11-22
軟江的安裝目錄:
/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