Linux cluster installation and set up Hadoop3.1.2 (2) - Network configuration and system management operations

Chapter 3 Hadoop runtime environment to build

3.1 virtual machine environment ready

Host computer Slave Slave
CPU name hadoop104 hadoop105 hadoop106
hostname hadoop104 hadoop105 hadoop106
IP addresses 192.168.153.104 192.168.153.105 192.168.153.106

Firewall 3.2

Check firewall status

firewall-cmd --state

Stop firewall

systemctl stop firewalld.service

Prohibit firewall boot

systemctl disable firewalld.service 

Here Insert Picture Description

3.3 to view the network configuration and change network configuration

Here Insert Picture DescriptionHere Insert Picture DescriptionHere Insert Picture DescriptionHere Insert Picture DescriptionRestart Service

service network restart

3.4 Changing selinux

vi / etc / selinux / config
will SELINUX = enforcing to SELINUX = disabled
Here Insert Picture Description

3.4 Changing sudoers

	root用户下运行visudo命令

Here Insert Picture Description

Network configuration

Published 37 original articles · won praise 7 · views 1193

Guess you like

Origin blog.csdn.net/zy13765287861/article/details/104532784