Skip to content

Instantly share code, notes, and snippets.

@mayankchhabra
Last active June 23, 2023 14:28
Show Gist options
  • Star 3 You must be signed in to star a gist
  • Fork 6 You must be signed in to fork a gist
  • Save mayankchhabra/4997de286ace7ff2b29f16b0576ac6c3 to your computer and use it in GitHub Desktop.
Save mayankchhabra/4997de286ace7ff2b29f16b0576ac6c3 to your computer and use it in GitHub Desktop.
Installing Umbrel on Ubuntu 20.04 x86

Install Umbrel v0.3.5

sudo fallocate -l 4G /swapfile
sudo chmod 600 /swapfile
sudo swapon /swapfile
echo '/swapfile none swap sw 0 0' | sudo tee -a /etc/fstab
sudo sysctl vm.swappiness=10
echo 'vm.swappiness=10' | sudo tee -a /etc/sysctl.conf
sudo sysctl vm.vfs_cache_pressure=50
echo 'vm.vfs_cache_pressure=50' | sudo tee -a /etc/sysctl.conf
sudo apt update -y
sudo apt-get install fswatch jq rsync curl
curl -fsSL https://get.docker.com | sudo sh
sudo usermod -aG docker $USER
sudo curl -L "https://github.com/docker/compose/releases/download/1.28.2/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose
sudo chmod +x /usr/local/bin/docker-compose
sudo mkdir ~/umbrel
sudo chown $USER:$USER ~/umbrel
cd ~/umbrel
curl -L https://github.com/getumbrel/umbrel/archive/v0.3.5.tar.gz | tar -xz --strip-components=1

Start Umbrel

cd ~/umbrel
sudo ./scripts/start

Stop Umbrel

cd ~/umbrel
sudo ./scripts/stop
@miguelitog
Copy link

hello my umbrel says this :**Error

Not allowed by CORS**

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment