SpectroCloud/RaspberryPiEdge: Difference between revisions
Jump to navigation
Jump to search
| Line 44: | Line 44: | ||
== Install Required Software == | == Install Required Software == | ||
snap install docker | sudo snap install docker | ||
snap install curl | sudo snap install curl | ||
sudo apt-get install jq zstd rsync conntrack -y | |||
== Export the Palette Stylus ARM Agent Container (Air-Gapped)== | == Export the Palette Stylus ARM Agent Container (Air-Gapped)== | ||
| Line 54: | Line 55: | ||
export URL=https://github.com/spectrocloud/agent-mode/releases/download/v4.5.5/palette-agent-linux-arm64 | export URL=https://github.com/spectrocloud/agent-mode/releases/download/v4.5.5/palette-agent-linux-arm64 | ||
curl --verbose --location $URL --output palette-agent | curl --verbose --location $URL --output palette-agent | ||
== Move the files to the Edge Node (IF NEEDED) == | |||
scp palette-agent arm-agent-v4.5.9.tar [email protected]:/tmp | |||
Revision as of 20:49, 10 January 2025
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 (NOT WORKING)
# 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:
version: 2
renderer: networkd
ethernets:
eth0:
dhcp4: no
addresses:
- 172.16.84.33/22
nameservers:
addresses:
- 172.16.84.10
search:
- dersllc.com
routes:
- to: default
via: 172.16.84.1
EOF
netplan apply
Install Required Software
sudo snap install docker sudo snap install curl sudo apt-get install jq zstd rsync conntrack -y
Export the Palette Stylus ARM Agent Container (Air-Gapped)
export EDGE_API_VERSION='v4.5.9' docker pull us-docker.pkg.dev/palette-images/edge/stylus-agent-mode-linux-arm64:$EDGE_API_VERSION docker save us-docker.pkg.dev/palette-images/edge/stylus-agent-mode-linux-arm64:$EDGE_API_VERSION > arm-agent-$EDGE_API_VERSION.tar
Download the palette-agent CLI
export URL=https://github.com/spectrocloud/agent-mode/releases/download/v4.5.5/palette-agent-linux-arm64 curl --verbose --location $URL --output palette-agent
Move the files to the Edge Node (IF NEEDED)
scp palette-agent arm-agent-v4.5.9.tar [email protected]:/tmp