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

posted on 2019-08-14 17:10  锋锋2019  阅读(176)  评论(0编辑  收藏  举报

导航