赞
踩
1.系统:centos 7.9
2.VMwareWrok Station Pro 16
3.三台虚拟机
服务器 | IP | 主机名 |
控制节点 | 192.168.11.11 | master |
计算节点1 | 192.168.11.22 | node01 |
计算节点2 | 192.168.11.33 | node02 |
- systemctl stop firewalld
- systemctl disable firewalld
- sed -i -e 's/^SELINUX=.*/SELINUX=disabled/g' /etc/selinux/config
- setenforce 0
- hostname master
- hostname node01
- hostname node02
- vim /etc/hosts
- 192.168.11.11 master
- 192.168.11.22 node01
- 192.168.11.33 node02
- reboot
- echo y| ssh-keygen -t rsa -P '' -f ~/.ssh/id_rsa
- ssh-copy-id -i ~/.ssh/id_rsa.pub -o StrictHostKeyChecking=no root@node01
- ssh-copy-id -i ~/.ssh/id_rsa.pub -o StrictHostKeyChecking=no root@node02
yum -y install net-tools wget vim ntpdate chrony htop glances nfs-utils rpcbind python32
yum install -y epel-release
yum install munge munge-libs mu
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。