基础:
hostname xx
vim /etc/hostname
systemctl stop firewalld
systemctl disable firewalld
setenforce 0
grep SELINUX= /etc/selinux/config | grep -v ^#
sed -i s'#SELINUX=enforcing#SELINUX=disabled#' /etc/selinux/config
getenforce
yum install -y vim*
yum install -y wget
yum install lrzsz -y
yum -y install net-tools
yum install ntpdate -y
配置免密登录,本机也要做.如果把yarn主角色放其它节点,那这台也需要做。所以最好每台都做。
ssh-keygen -t rsa -P '' -f ~/.ssh/id_rsa