SpectroCloud/RaspberryPiEdge

From DER's LLC
Jump to navigation Jump to search

Raspberry Pi Edge Install

Install OS

# Connnect Network, Keyboard, HDMI, and Power
# Boot to Network by pressing and holding SHIFT
############################################################
# Raspberry Pi Device: RASPBERRY PI 5
# Operating System:    Ubuntu Desktop 24.04.1 LTS (64-BIT)
# Storage:             Internal SD CARD READER
############################################################
# Finish the Setup Wizard

# Enable SSH 
sudo apt update
sudo apt install ssh
sudo ufw allow 22
sudo systemctl enable ssh
sudo systemctl start ssh

Set Static IP Address

# SSH to the Raspberry Pi or use the console.
# Set Static IP Address by running the following:
cat > /etc/netplan/50-cloud-init.yaml << "EOF"
network:
   ethernets:
       eth0:
           addresses:
           - 172.16.84.33/22
           nameservers:
               addresses:
               - 172.16.84.10
               search:
               - dersllc.com
           routes:
           -   to: default
               via: 172.16.84.1
   version: 2
EOF

reboot