Skip to content

Instantly share code, notes, and snippets.

@leowinterde
leowinterde / docker-compose-coreos.sh
Last active October 3, 2023 08:56 — forked from sourcec0de/docker-compose-coreos.sh
Install docker compose on coreos
sudo su -
mkdir -p /opt/bin
version=$(curl https://github.com/docker/compose/releases/latest -sLI -o /dev/null -w '%{url_effective}' | sed 's:.*/::')
curl -L "https://github.com/docker/compose/releases/download/$version/docker-compose-$(uname -s)-$(uname -m)" -o /opt/bin/docker-compose
chmod +x /opt/bin/docker-compose
docker -v
docker-compose -v
exit
@leowinterde
leowinterde / ubuntu-raid.sh
Last active April 18, 2024 09:26 — forked from umpirsky/ubuntu-raid.sh
Install Ubuntu on RAID 1 and UEFI/GPT system without SWAP - 2017
# http://askubuntu.com/questions/505446/how-to-install-ubuntu-14-04-with-raid-1-using-desktop-installer
# http://askubuntu.com/questions/660023/how-to-install-ubuntu-14-04-64-bit-with-a-dual-boot-raid-1-partition-on-an-uefi%5D
sudo -s
apt-get -y install mdadm grub-efi-amd64
sgdisk -z /dev/sda
sgdisk -z /dev/sdb
sgdisk -n 1:0:+100M -t 1:ef00 -c 1:"EFI System" /dev/sda
sgdisk -n 2:0:0 -t 2:fd00 -c 2:"Linux RAID" /dev/sda
sgdisk /dev/sda -R /dev/sdb -G
@leowinterde
leowinterde / sources.list
Last active February 17, 2022 14:45 — forked from ishad0w/sources.list
Ubuntu 20.04 LTS (Focal Fossa) - Full sources.list - DE Mirror
deb http://de.archive.ubuntu.com/ubuntu/ focal main restricted universe multiverse
deb-src http://de.archive.ubuntu.com/ubuntu/ focal main restricted universe multiverse
deb http://de.archive.ubuntu.com/ubuntu/ focal-updates main restricted universe multiverse
deb-src http://de.archive.ubuntu.com/ubuntu/ focal-updates main restricted universe multiverse
deb http://de.archive.ubuntu.com/ubuntu/ focal-security main restricted universe multiverse
deb-src http://de.archive.ubuntu.com/ubuntu/ focal-security main restricted universe multiverse
deb http://de.archive.ubuntu.com/ubuntu/ focal-backports main restricted universe multiverse