Skip to content

Instantly share code, notes, and snippets.

@miqm
Last active September 6, 2023 18:42
Show Gist options
  • Save miqm/b421153e0c06996676e1c9c93b5770fa to your computer and use it in GitHub Desktop.
Save miqm/b421153e0c06996676e1c9c93b5770fa to your computer and use it in GitHub Desktop.
Setups

Remove UI

sudo apt purge xserver* lightdm* raspberrypi-ui-mods vlc* lxde* chromium* desktop* gnome* gstreamer* gtk* hicolor-icon-theme* lx* mesa* cups* wpasupplicant pulseaudio*
sudo apt autoremove

extend swap

  1. sudo vi /etc/dphys-swapfile
  2. CONF_SWAPSIZE=1024

reduce gpu memory

  1. sudo raspi-config
  2. Select 4. Performance Options
  3. P2 GPU Memory
  4. Change to 16MB
sudo apt-get install haveged -y
sudo apt install openjdk-8-jre-headless -y
wget https://dl.ui.com/unifi/7.4.156/unifi_sysvinit_all.deb
sudo dpkg --force-all -i unifi_sysvinit_all.deb
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment