auto lo
iface lo inet loopback
auto eth1
iface eth1 inet static
address 192.168.1.81
netmask 255.255.255.0
gateway 192.168.1.1
auto eth0
iface eth0 inet dhcp
nameserver 10.20.13.6
nameserver 10.10.13.6
nameserver 10.30.13.6
127.0.0.1 localhost
192.168.1.81 giclus1
192.168.1.82 giclus2
192.168.1.83 giclus3
192.168.1.84 giclus4
portmap ypserv ypbind sge_qmaster sge_execd : \
192.168.1.81 192.168.1.82 192.168.1.83 192.168.1.84
host 192.168.1.81
host 192.168.1.82
host 192.168.1.83
host 192.168.1.84
<
/home giclus1(rw,sync,no_subtree_check) giclus2(rw,sync,no_subtree_check)
giclus3(rw,sync,no_subtree_check) giclus4(rw,sync,no_subtree_check)
/usr/local giclus1(rw,sync,no_subtree_check) giclus2(rw,sync,no_subtree_check)
giclus3(rw,sync,no_subtree_check) giclus4(rw,sync,no_subtree_check)
/opt giclus1(rw,sync,no_subtree_check) giclus2(rw,sync,no_subtree_check)
giclus3(rw,sync,no_subtree_check) giclus4(rw,sync,no_subtree_check)
/sge giclus1(rw,sync,no_subtree_check) giclus2(rw,sync,no_subtree_check)
giclus3(rw,sync,no_subtree_check) giclus4(rw,sync,no_subtree_check)
sudo aptitude install ca-certificates
sudo update-ca-certificates
account gmail
host smtp.gmail.com
from giclus1@gmail.com
auth on
tls on
tls_trust_file /etc/ssl/certs/ca-certificates.crt
user giclus1@gmail.com
password *******
port 587
account default : gmail
sudo ufw enable
sudo ufw allow 22/tcp
sudo ufw allow 22/udp
sudo ufw allow in on eth1
# nat Table rules
*nat :POSTROUTING ACCEPT [0:0]
# .
-A POSTROUTING -s 192.168.1.0/24 -o eth1 -j MASQUERADE
COMMIT
mkdir /opt/soft/sge
mv ge-6.1u6-* ../../soft/sge
cd ../../soft/sge
tar xvzf ge-6.1u6-common.tar.gz
tar xvzf ge-6.1u6-arco.tar.gz
tar xvzf ge-6.1u6-bin-lx24-amd64.tar.gz
cd ..\\ sudo cp -rdvfa sge /
cd /sge
scp -rdv giclus1:/sge/* .
sudo ./inst_sge -m -x
#SGE settings export
SGE_ROOT=/sge
export SGE_CELL=default
if [ -e $SGE_ROOT/$SGE_CELL ]
then
. $SGE_ROOT/$SGE_CELL/common/settings.sh
fi
libc_version=‘echo $libc_string | tr ’ ,’ ’\n’ | grep "2\." | cut -f 2 -d "." | uniq‘
cd /etc/init.d/
sudo update-rc.d sgeexecd.giclus defaults
sudo update-rc.d sgemaster.giclus defaults
group_name @allhosts
hostlist giclus1 giclus2 giclus3 giclus4
auto lo
iface lo inet loopback
auto eth1
iface eth1 inet static
address 192.168.1.8{2,3,4}
netmask 255.255.255.0
gateway 192.168.1.81
nameserver 10.20.13.6
nameserver 10.10.13.6
nameserver 10.30.13.6
127.0.0.1 localhost
192.168.1.81 giclus1
192.168.1.82 giclus2
192.168.1.83 giclus3
192.168.1.84 giclus4
#NFS Cluster mount
giclus1:/home /home nfs rsize=8192,wsize=8192,timeo=14,intr,rw
giclus1:/opt /opt nfs rsize=8192,wsize=8192,timeo=14,intr,rw
giclus1:/usr/local /usr/local nfs rsize=8192,wsize=8192,timeo=14,intr,rw
giclus1:/sge /sge nfs rsize=8192,wsize=8192,timeo=14,intr,rw
mkdir /opt/soft/sge
mv ge-6.1u6-* ../../soft/sge
cd ../../soft/sge
tar xvzf ge-6.1u6-common.tar.gz
tar xvzf ge-6.1u6-arco.tar.gz
tar xvzf ge-6.1u6-bin-lx24-amd64.tar.gz
cd ..\\ sudo cp -rdvfa sge /
cd /sge
scp -rdv giclus1:/sge/* .
sudo ./install_execd
#SGE settings export
SGE_ROOT=/sge
export SGE_CELL=default
if [ -e $SGE_ROOT/$SGE_CELL ]
then
. $SGE_ROOT/$SGE_CELL/common/settings.sh
fi
libc_version=‘echo $libc_string | tr ’ ,’ ’\n’ | grep "2\." | cut -f 2 -d "." | uniq‘
cd /etc/init.d/
sudo update-rc.d sgeexecd.giclus defaults
wget -c http://neuro.debian.net/_static/neurodebian.lucid.de.sources.list
wget -c http://neuro.debian.net/_static/neuro.debian.net.asc
sudo apt-key add neuro.debian.net.asc
sudo cp neurodebian.lucid.de.sources.list /etc/apt/sources.list.d
sudo apt-get update
sudo apt-get upgrade
sudo apt-get install fsl fsl-atlases fsl-first-data nifti-bin
Copyright (C) 2010 Alexandre Manhães Savio