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
3.3 to view the network configuration and change network configuration
Restart Service
service network restart
3.4 Changing selinux
vi / etc / selinux / config
will SELINUX = enforcing to SELINUX = disabled
3.4 Changing sudoers
root用户下运行visudo命令