Installing and configuring hadoop single node on a red hat 6
Make sure that Java 6 is already installed and then set the environment variable to ensure that hadoop finds it.
$ export JAVA_HOME=/usr/
Note: My path to java may be different then yours. For example if your java installation is located at '/usr/bin/java' then this will work.
Download the rpm that works on your platform at the following url:
you can double click it and install it:
Then run the following command:
$ sudo /usr/sbin/hadoop-setup-single-node.sh
$ sudo /usr/sbin/hadoop-create-user.sh -u $USER
You have now installed hadoop. Enjoy....