configs and scripts for management of the Hackerspace's computer lab
ssh into Tyrell and:
sudo rm -r /nfshome/9912345/.cache
TODO: Do this via puppet....
Update settings in /etc/network/interfaces
and notify IT Dept to add to DNS
NOTE: The default comment at the top of the file has a second line that isn't commented that can cause an error.
iface ens32 inet static
address 192.168.3.3 # This server's IP
netmask 255.255.255.0
gateway 192.168.3.1
dns-search hackerspace.tbl sd72.bc.ca
dns-nameservers 192.168.3.10
After changing, restart the network interface: sudo ifdown ens32 && sudo ifup ens32
sudo apt install libnss-ldap
sudo dpkg-reconfigure ldap-auth-config
sudo auth-client-config -t nss -p lac_ldap
sudo pam-auth-update
https://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=850
Relax the security on server: Change the /etc/ssh/sshd_conf file to have password authentication while you're adding ssh keys
ssh-copy-id <username>@<host>
-Check space: df-h
-http://ubuntuhandbook.org/index.php/2016/05/remove-old-kernels-ubuntu-16-04/
/etc/apt/apt.conf.d/50unattended-upgrades
Change these settings:
- Unattended-Upgrade::Remove-Unused-Dependencies "true";
- Unattended-Upgrade::Automatic-Reboot "true";
- Unattended-Upgrade::Automatic-Reboot-Time "03:00"; # 2am is default for student computers