yum install -y sshpass for i in {121..123}; do ssh-keyscan 192.168.1.$i >> ~/.ssh/known_hosts sshpass -p XXXXXXXX ssh-copy-id root@192.168.1.$i done
tee -a /etc/hosts << EOF 192.168.1.121 jamalvm11 192.168.1.122 jamalvm12 192.168.1.123 jamalvm13 EOF
for i in {122..123}; do scp /etc/hosts root@192.168.1.$i:/etc done
## Installation of VMware-tools yum install -y git git clone https://github.com/rasa/vmware-tools-patches.git cd vmware-tools-patches ./patched-open-vm-tools.sh if [ -d "/etc/vmware-tools" ]; then perl /root/vmware-tools-patches/vmware-tools-patches/vmware-tools-distrib/bin/vmware-uninstall-tools.pl fi perl /root/vmware-tools-patches/vmware-tools-patches/vmware-tools-distrib/vmware-install.pl
# link host computer to guest for i in {121..123}; do ssh root@192.168.1.$i ln -s /mnt/hgfs/F ~/F done
# installation of Intel Parallel Studio XE 2017 yum install gcc gcc-c++ gcc-gfortran -y ./install.sh # step 1: Enter and key accept to accept End User License Agreement # step 3: to activate by using a license file => 1 to Activate offline => give the location of license # step 4: 2 to not help # step 5: 2 to go to Customize installation => cancel IA-32 installation # step 6: y to install now