#! /bin/bash ############################################################ ## fe1.conf ## Run fe1.conf to configure a fresh frontend node in a Rocks cluster. ############################################################ rocks set appliance attr compute x11 true adduser tlyoon usermod -g users tlyoon passwd tlyoon adduser choojun usermod -g users choojun passwd choojun adduser human usermod -g users human passwd human ##################### end of creating users ##################### echo -e "NOW ENTER PASSWORD TO SCP" ### Goto /share/apps. Create a folder /configrepo in /share/apps of the frontend to store all files scp from www2.fizik.usm.my/repo/configrepo/ ###### #scp -r tlyoon@www2.fizik.usm.my:/home/tlyoon/repo/configrepo /share/apps/ #cd /share/apps/configrepo #wget http://www2.fizik.usm.my/configrepo/howto/RocksClusters543/installapps.conf #wget http://www2.fizik.usm.my/configrepo/howto/RocksClusters543/cn.conf #wget http://www2.fizik.usm.my/configrepo/howto/RocksClusters543/mathematica.conf #wget http://www2.fizik.usm.my/configrepo/howto/RocksClusters543/mathematica1.conf #wget http://www2.fizik.usm.my/configrepo/howto/RocksClusters543/movevbcn.conf #wget http://www2.fizik.usm.my/configrepo/howto/RocksClusters543/movevbfe.conf chmod +x /share/apps/configrepo/*.conf #sh /share/apps/configrepo/installapps.conf rocks sync users echo -e "\nMessage from the author :\nCOMPLETE!!! \n"