1: Environment Preparation
1 Linux servers, Hadoop installation packages (Apache official website download) jdk1.6+2: Install the JDK, configure the environment variables (etc/profile), and java-version test the next step correctly. 3: Configure SSH password-free login CD ~ ssh-keygen-t RSA generate key, located in ~/.ssh directory
Cp~/.ssh/id_rsa.pub ~/.ssh/authorized_keys theid_rsa.pub Public key file CP to Authorized_keys ssh localhost login test
Note: SSH here is only single-machine mode (pseudo-distribution) 4: Install Hadoop TAR-ZXVF hadoop-1.1.2 5: Configure Hadoop Several important configuration files (Conf directory to extract the completed) a): hadoop-env.sh Specify the current environment JDK security Loading catalogue exportjava_home=/opt/java/jdk1.7b): Core-site.xml
c):hdfs-site.xml
d): mapred-site.xml
All files saved in effect 5: formatted HDFs bin/hadoop Namenode-format
6: Start Hadoop bin/start-all.sh
7:JPS View process 8:web mode access 50070 and 50030 ports http://192.168.0.111:50070 http://192.168.0.111:50030
Linux Server pseudo distribution mode installation hadoop-1.1.2