Skip to content

Instantly share code, notes, and snippets.

@lovellfelix
Last active May 21, 2021 23:22
Show Gist options
  • Save lovellfelix/f8eeb3be538f5804d51b7534e274bc91 to your computer and use it in GitHub Desktop.
Save lovellfelix/f8eeb3be538f5804d51b7534e274bc91 to your computer and use it in GitHub Desktop.
Raspberry Pi helpers
#enable arm 64 and set graphic memory
gpu_mem=16
arm_64bit=1
# Install NFS server
apt install nfs-kernel-server
# Create mount
mkdir /export
# Add to /etc/exports
/export *(rw,fsid=0,async,no_subtree_check,no_auth_nlm,insecure,no_root_squash)
# Restart NFS server
systemctl restart nfs-kernel-server
sudo systemctl enable rpc-statd
sudo systemctl start rpc-statd
#enable ssh
#touch /Volumes/boot/ssh
country=US # Your 2-digit country code
ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev
network={
ssid="YOUR_NETWORK_NAME"
psk="YOUR_PASSWORD"
key_mgmt=WPA-PSK
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment