Build hadoop pseudo-distributed in CentOS 6.3

Source: Internet
Author: User

Set up hadoop pseudo-distributed in CentOS 6.3 to install CentOS 6.3 in Basic Server mode, set the machine name to hadoop1.cloud.com, and write hadoop1.cloud.com to the end of 127.0.0.1 in/etc/hosts. 1. Install jdk, I am relatively lazy, so direct yum, this saves the trouble of configuring the environment variable [plain] yum install java-1.6.0-openjdk java-1.6.0-openjdk-devel-y 2, configuring the native password-less login [plain] ssh-keygen-t dsa-p'-f ~ /. Ssh/id_dsa cat. ssh/id_dsa.pub>. ssh/authorized_keys can ssh localhost, no password can be logged on that the configuration is successful 3, download and install hadoop, I am using a hadoop-1.2.1, directly download the rpm installation official website download successful, run the command: [plain] rpm-Uvh hadoop-1.2.1-1.x86_64.rpm 4, modify/etc/hadoop/hadoop-env.sh, change JAVA_HOME to true real value because it is a yum installation, so it is the default setting, you need to modify: [plain] export JAVA_HOME =/usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.