Hadoop Pseudo-distributed environment to build--linux environment configuration

Source: Internet
Author: User

Hadoop can be said to be quite a fire lately, and I'm interested in it, so I'm going to learn a little bit. To learn Hadoop, you must first learn to build a Hadoop pseudo-distributed environment on your computer. The first step in the pseudo-distribution mode installation step is to configure the Linux environment . My own Linux is Ubuntu system, but as long as the Linux system, all the same, the configuration steps basically no difference.

First, the local network configuration is required. We need to add a network connection under the Linux system, set the IP (IPv4) address, subnet mask and network officer. Is my settings:

Next, you also need to set the IP address under Windows on the window local connection.

When the network environment is configured, you need to modify the Linux system hostname, modify the hostname requires root user rights, enter the root user only need to enter sudo su under the Linux terminal and then enter the password. You can use vim/etc/hostname to modify your host user name when you have root privileges.

After modifying the hostname, modify the IP address and host name mappings in the hosts. Change the IP address to the IP of the Linux system you set by using the command vim/etc/hosts , and change the hostname to the hostname you just modified.

Finally, we need to shut down the firewall under Linux, which is iptables, using the command UFW disable . Restart the Linux system after completing all the steps above. The settings are then judged to be successful.

Open the terminal of the window, enter Ping 192.168.8.88 (This is the IP address of the Linux system you set up), and if the following result is set, the setting is successful:

Next , under the Linux system also do the following ping 192.168.8.100 (here is the IP address you set under Windows), if the success is shown as follows:

If you find that your ping command did not succeed, it is possible that the virtual machine is not set to host-only mode :

if all of the above steps are successful, the first step in building a Hadoop pseudo-distributed environment is completed.

Copyright NOTICE: This article for Bo Master original article, without Bo Master permission not reproduced.

Hadoop Pseudo-distributed environment to build--linux environment configuration

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.