Set up a virtual machine will not go (does not support virtualization, change the bios settings)
Development tools used VMware12Pro & CentOS6.8 & securcrt
The basic operation of Linux:
Three virtual machines, one host, two slaves, (if copying the virtual machine will have to create a new network configuration, delete the original, the new eth) using nat bridged network, set a static ip, set the host name and set the hosts map , linux in the / etc / hosts in, Windows mapped in order to facilitate access to the node data corresponding to the view
Turn off the firewall! !
Creating a common and ordinary users have added it sudoers sudo privileges,
/ Opt created module, software folder (for the co-owners of ordinary users)
jdk (linux version) into the decompression module folder and add the jdk path environment variable (/ etc / profile) in
sudo vi /etc/profile
#JAVA_HOME export JAVA_HOME=/opt/module/jdk1.8.0_144 export PATH=$PATH:$JAVA_HOME/bin
source / etc / profile environmental variables to take effect
Testing a successful installation jdk java -version
hadoop same decompression module into the same folder is added to the environment variable
sudo vi /etc/profile
##HADOOP_HOME export HADOOP_HOME=/opt/module/hadoop-2.7.2 export PATH=$PATH:$HADOOP_HOME/bin export PATH=$PATH:$HADOOP_HOME/sbin
: Wq save and exit
source / etc / profile file to take effect
hadoop version installed successfully test