I installed it on a virtual machine. I will not talk about installing Ubuntu12.10. Let's talk about the simple steps of installing Hadoop1.0.4 pseudo-distributed. Windows 7 hard drive installation Ubuntu12.10 graphic tutorial
I installed it on a virtual machine. I will not talk about installing Ubuntu 12.10. Let's talk about the simple steps of installing Hadoop1.0.4 pseudo-distributed.
Windows 7 hard disk installation Ubuntu 12.10 graphic tutorial http://www.linuxidc.com/Linux/2012-11/73500.htm
1. Install jdk
For the installation method, see http://www.linuxidc.com/linux/2013-01/77923.htm.
2. Install SSH and configure password-free Login
In ubuntu 12.10, you can use sudo apt-get install ssh for installation. If any problem occurs, you can modify the agt source of ubuntu. I changed it to the 163 source before it can be installed properly. Baidu can easily find the modification method.
Then enter ssh-keygen-t dsa-p'-f ~ /. Ssh/id_dsa, input content similar to the following
Enter cat ~ /. Ssh/id_dsa.pub> ~ /. Ssh/authorized_keys command.
3. Extract hadoop1.0.4 to a directory.
4. modify the configuration file:
Go to the hadoop-env.sh directory (/hadoop-1.0.4/conf/) and modify the file as follows: export JAVA_HOME =/usr/java/jdk1.6.0 _ 37. Here is your own jdk address.
Conf/core-site.xml:
Fs. default. name
Hdfs: // localhost: 9000
Conf/hdfs-site.xml:
Dfs. replication
1
Conf/mapred-site.xml:
Mapred. job. tracker
Localhost: 9001
5. Format namenode
Enter the command bin/hadoop namenode-format
6. Start hadoop
Enter command bin/start-all.sh
The above are all files in the hadoop directory by default.
Use http: // localhost: 50030, http: // localhost: 50070 for verification
For more information about Ubuntu, see Ubuntu special page http://www.linuxidc.com/topicnews.aspx? Tid = 2
For more information about Hadoop, see Hadoop topic page http://www.linuxidc.com/topicnews.aspx? Tid = 13