Set up hadoop pseudo-distributed in CentOS6.3 to install CentOS6.3 in BasicServer mode, set the machine name to hadoop1.cloud.com, and write hadoop1.cloud.com to 127.0.0.1 in/etc/hosts. 1. install jdk, I am relatively lazy, so direct... 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 can save the configuration environment variable [plain] yum install java-1.6.0-openjdk java-1.6.0-openjdk-devel-y 2, configure the machine without password login [plain] ssh-keyge N-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/
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.