Practical course of Hadoop fully distributed Construction under ubantu 16.4
Preface
This article mainly introduces the relevant content about the fully distributed construction of ubantu 16.4 Hadoop, which is shared for your reference and study. I won't say much below. Let's take a look at the detailed introduction.
A virtual machine
1. Load the virtual machine in NAT network card mode
two。 It is best to modify the hostnames of several used virtual machines, static IP / etc/network/interface, here is S101 S102 S103 three host ubantu, change / etc/hostname file
3. Install ssh
Create a public and private key on the first host S101
Ssh-keygen-t rsa-P''- f ~ / .ssh/id_rsa
> cd .ssh
> cp id_rsa.pub > authorized_keys create key Store
Transfer id_rsa.pub to another host, to the .ssh directory
Through the server nc-l 8888 > ~ / .ssh/authorized_keys
Client nc S102 8888