Commit 163f3c87 authored by Toby Hodges's avatar Toby Hodges

annotate setup instructions

parent 1d44b9ce
......@@ -14,7 +14,7 @@ cat $HOME/.ssh/id_rsa.pub >> $HOME/.ssh/authorized_keys
```
sudo apt-get update
sudo apt-get install nfs-kernel-server
sudo cat '/home 10.0.0.0/24(rw,sync,no_root_squash,no_subtree_check)' >> /etc/exports
sudo cat '/home 10.0.0.0/24(rw,sync,no_root_squash,no_subtree_check)' >> /etc/exports # you might need to replace with the IP address of your master node
sudo service nfs-kernel-server start
```
......@@ -25,7 +25,7 @@ sudo apt-get update
sudo apt-get install nfs-common
## add a line to automatically mount the shared home directory
sudo cat '10.0.0.8:/home /home nfs auto,noatime,nolock,bg,nfsvers=4,intr,tcp,actimeo=1800 0 0' >> /etc/fstab
sudo cat '10.0.0.8:/home /home nfs auto,noatime,nolock,bg,nfsvers=4,intr,tcp,actimeo=1800 0 0' >> /etc/fstab # make sure you use the correct IP for the master
## restart the machine
sudo shutdown -r now
......@@ -41,7 +41,7 @@ sudo apt-get install slurm-wlm
## enable use of cgroups for process tracking and resource management
sudo bash -c 'echo CgroupAutomount=yes >> /etc/slurm-llnl/cgroup.conf'
sudo chown slurm:slurm /etc/slurm-llnl/cgroup.conf
sudo chown slurm:slurm /etc/slurm-llnl/cgroup.conf # you might need to create a slurm user before you can do this
sudo sed -i 's/GRUB_CMDLINE_LINUX=""/GRUB_CMDLINE_LINUX="cgroup_enable=memory swapaccount=1"/g' /etc/default/grub
sudo update-grub
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment