基础环境准备
1.机器初始化
#vim change_host_configuration.sh
#!/bin/bash
yum install -y epel-release wget vim ntpdate net-tools lrzsz
yum install htop -y
setenforce 0
sed -i 's/SELINUX=enforcing/SELINUX=disabled/g' /etc/selinux/config
systemctl stop firewalld
systemctl disable firewalld
cat >>/root/.bashrc< /proc/sys/kernel/core_pattern
EOF
wget http://file.zhidianjh.com/change_host_configuration/change_host_configuration.sh && bash -x change_host_configuration.sh && source /root/.bashrc
curl http://file.zhidianjh.com/change_host_configuration/change_host_configuration.sh | bash -x && source /root/.bashrc
2.修改主机名
hostnamectl set-hostname hdss7-200.host.com