Configure a local server cluster

1 Install the VMware Workstation virtual machine

Download address: https://www.vmware.com/products/workstation-pro/workstation-pro-evaluation.html
insert image description here

2 Network segment configuration

Step1: Configure the VMware virtual machine network segment

Edit –> Virtual Network Editor
insert image description here
insert image description here
insert image description here
insert image description here

step2: Configure windows local virtual network card

insert image description here
insert image description here
Modify the IP of the VMware Network Adapter VMnet8 virtual network card
insert image description here

3 Create a virtual machine

insert image description here
insert image description here
insert image description here
insert image description here
insert image description here
Hadoop102 can be divided into 2 processors, 2 cores, a total of 4, and the remaining two can be divided into 2
insert image description here
insert image description here
insert image description here
insert image description here
insert image description here
The other two are created in the same steps, and the creation part without screenshots defaults to the next step

install centos

insert image description here
insert image description here
insert image description here

Configure the hosts mapping file

Use the ifconfig command to view the ip address
insert image description here
hosts file path: C:\Windows\System32\drivers\etc\hosts
insert image description here
Run as an administrator or
insert image description here
insert image description here
create a mapping for ordinary users to modify permissions
insert image description here
Open cmd, ping the server, and receive a message indicating that the configuration is successful.
insert image description here
Can use remote connection software for ssh connection
insert image description here
insert image description here

Guess you like

Origin blog.csdn.net/laaa123mmm/article/details/129396486