centos7基础安装
基础:
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
    有些人,自甘堕落;有些人,即便身处深渊,也依旧笑容灿烂。
 
                    
                 
                
            
         
 浙公网安备 33010602011771号
浙公网安备 33010602011771号