Preparation before installation hadoop

A domain name mapping

  1. Editor vi / etc / hosts
Name and ip address changed flexibly according to their own

Here Insert Picture Description
Here Insert Picture Description
The other two virtual machines are also modified.

Second, avoid close Login

  1. In ~ / input ssh-keygen (no space)
    to each virtual machine id_rsa.pub (public key) for (~ / .ssh /) j are centrally stored to a virtual machine (~ / .ssh / authorized_keys) in. as the picture shows.
    Here Insert Picture Description
    Here Insert Picture Description
  2. Then scp to each virtual machine.
    Here Insert Picture Description
  3. Verify
    ssh host name
    if you can log in successfully.
    Here Insert Picture Description
Published 11 original articles · won praise 2 · Views 327

Guess you like

Origin blog.csdn.net/OnTheRoad_ING/article/details/104615350