Last active
August 4, 2020 04:47
-
-
Save bign8/732951ce7c5863564ef254fd1fe6a703 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Uninstall un-needed packages | |
sudo apt remove \ | |
pi-bluetooth \ # cmon... | |
ed \ # worst text editor ever | |
nano \ # nvm, found a worse one | |
# ... more to come | |
sudo raspi-config | |
# localization: en_us.UTF8 UTF8 | |
# timezone: America / Winnipeg (CENTRAL TIME... yeah ... idk geography) | |
# keyboard? | |
# memory / gpu split: 32 | |
# Enable SSH | |
# Update all the things | |
sudo apt update | |
apt list --upgradable # see if we can uninstall anything else | |
sudo apt upgrade | |
sudo apt autoremove | |
# TODO: walk through home directory remapping (pi -> nate) | |
# TODO: node-exporter? | |
# Reboot at 4am or something (unless it's CRITICAL) | |
crontab -e | |
# 0 4 * * * /sbin/reboot | |
# Reboot after kernel panics (these are HEADLESS, but give 20s to debug if someone does attach a monitor) | |
vi /etc/sysctl.conf | |
# kernel.panic = 20 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment