1.登陆ssh的xshell
[[email protected] ~]# ssh 192.111.14.11
2.将需要安装的软件传输到服务器的文件夹下
3.Xshell界面到传输的文件路径解压文件
[[email protected] ~]# cd c/ [[email protected] ~]# tar -xzvf 文件名.tar.gz -c /;
1.节点关闭selinux
[[email protected] ~]# sed -i 's/SELINUX=enforcing/SELINUX=disabled/g' /etc/selinux/config
2.关闭防火墙
[[email protected] ~]# systemctl stop firewalld.service;
3.设置为开机不启动
[[email protected] ~]# systemctl disable firewalld.service;
4.重新登陆主机
[[email protected] ~]#ssh 192.111.14.11
5.配置主机名和IP地址映射
[[email protected] ~]#echo "192.111.14.11 master" >> /etc/hosts;
6.添加用户
[[email protected] ~]#useradd -u 666 jhroot666 -g wheel
7.登录
上述有登录步骤
8.安装软件
[[email protected] install]# sh install.sh