This document overlays the general MCPT infrastructure setup.
Servers
General
- manages
/sharevia a NFS drive located at/var/share. You can config it at/etc/exportsand that CIDR range is the DO VPC private networking range.- UFW also has a rule
sudo ufw allow from 10.137.0.0/16 to any port nfsto allow incoming NFS in that range - It’s then added to FSTAB under
{host_ip}:/var/nfs/general /nfs/general nfs auto,nofail,noatime,nolock,intr,tcp,actimeo=1800 0 0
- UFW also has a rule
Crontab
run -c /judge.yml —skip-self-test 165.227.47.244
0 * * * * chmod +rX -R /home/dmoj/share/problems
0 4 * * * bash /home/dmoj/backup.sh