Created
January 11, 2021 09:21
-
-
Save mutatrum/7f947b1139ab4aa13ca924fb77492f7e to your computer and use it in GitHub Desktop.
Installing Umbrel on an Odroid HC4
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
# first boot | |
ssh root@odroid | |
# dependencies | |
apt-get update | |
apt-get full-upgrade | |
apt-get install fswatch jq rsync curl python3 python3-pip | |
apt autoremove | |
# swapfile | |
dd if=/dev/zero of=/swapfile bs=1M count=4096 | |
chmod 0600 /swapfile | |
mkswap /swapfile | |
swapon /swapfile | |
# hostname and username | |
hostnamectl set-hostname umbrel | |
echo umbrel > /etc/hostname | |
passwd | |
adduser umbrel | |
adduser umbrel sudo | |
# second boot | |
reboot | |
ssh umbrel@umbrel | |
# docker | |
curl -fsSL https://get.docker.com -o get-docker.sh | |
sudo sh ./get-docker.sh | |
sudo usermod -aG docker umbrel | |
exit | |
ssh umbrel@umbrel | |
sudo pip3 install docker-compose qrcode | |
# umbrel | |
mkdir umbrel | |
cd umbrel | |
curl -L https://github.com/getumbrel/umbrel/archive/v0.3.1.tar.gz | tar -xz --strip-components=1 | |
sudo ./scripts/start | |
# restart on boot | |
sudo ln -s /home/umbrel/umbrel/scripts/umbrel-os/services/umbrel-startup.service /etc/systemd/system/umbrel-startup.service | |
sudo systemctl enable umbrel-startup |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment