#! /bin/bash ############################################################ ## fe1.conf ## Run fe1.conf to configure a fresh frontend node in a CentOS 5.7. ############################################################ echo -e "NOW ENTER PASSWORD TO SCP" ### Create a folder /configrepo in /root/ of a node to store all files scp from 10.205.19.205/home/tlyoon/repo/configrepo/ and 10.205.19.205/home/tlyoon/configrepo/###### mkdir /root/configrepo cd /root/configrepo scp -r tlyoon@10.205.19.205:/home/tlyoon/repo/configrepo /root/ #scp -r tlyoon@10.205.19.205:/home/tlyoon/configrepo /root/ cd /root/configrepo wget http://10.205.19.205/configrepo/howto/CENTOS57/installapps.conf wget http://10.205.19.205/configrepo/howto/RocksClusters543/cn.conf wget http://10.205.19.205/configrepo/howto/RocksClusters543/mathematica.conf wget http://10.205.19.205/configrepo/howto/RocksClusters543/mathematica1.conf wget http://10.205.19.205/configrepo/howto/RocksClusters543/movevbcn.conf wget http://10.205.19.205/configrepo/howto/RocksClusters543/movevbfe.conf chmod +x /root/configrepo/configrepo/*.conf chmod +x /root/configrepo/installapps.conf sh /root/configrepo/installapps.conf