centOS 7
service firewalld stop ->关闭防火墙
chkconfig firewalld off ->开机关闭防火墙
systemctl status firewalld.service ->查看当前防火墙状态
三台虚拟机关闭selinux
vim /etc/selinux/config
# This file controls the state of SELinux on the system.
# SELINUX= can take one of these three values:
# enforcing - SELinux security policy is enforced.
# permissive - SELinux prints warnings instead of enforcing.
# disabled - No SELinux policy is loaded.
#SELINUX=enforcing ->把这一行注释掉
SELINUX=disabled ->改成disabled
# SELINUXTYPE= can take one of three values:
# targeted - Targeted processes are protected,
# minimum - Modification of targeted policy. Only selected processes are protected.
# mls - Multi Level Security protection.
SELINUXTYPE=targeted
三台虚拟机更改主机名
centOS 7
vim /etc/hostname
三台机器分别添加
node01.hadoop.com
node02.hadoop.com
node03.hadoop.com
大数据集群环境准备三台虚拟机关闭防火墙centOS 7 service firewalld stop ->关闭防火墙 chkconfig firewalld off ->开机关闭防火墙 systemctl status firewalld.service ->查看当前防火墙状态三台虚拟机关闭selinuxvim /etc/selinux/confi...