Hadoop ubuntu Configuration Synthesis

Source: Internet
Author: User

When we use the Linux Ubuntu system as the OS of the Hadoop node, we need to do some configuration on the Ubuntu OS. PS. (the following only operate in ubuntu14.04, other versions may differ)

Installation using tools:

sudo Install Vim sudo Install git sudo Install Subversion ...

Common configuration:

1. Add users (nave) and group (Hadoop)

sudo --ingroup Hadoop Nave

2, add permissions to nave users, open the/etc/sudoers file:

sudo vim/etc/sudoers

Pressing ENTER will open the/etc/sudoers file, giving the Hadoop user the same permissions as the root user.

Add Nave all= (All:all) all under root all= (All:all) all

1 root   all=(all:all)  all2 nave   all= (all:all)  all

3, modify the hostname

sudo vim/etc/hostname

PS. After logoff or restart takes effect

4. Modify the Hosts file

sudo vim/etc/hosts

The reference links are as follows:

Http://os.51cto.com/art/201211/364167.htm

Hadoop ubuntu Configuration Synthesis

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.