Unterschiede
Hier werden die Unterschiede zwischen zwei Versionen der Seite angezeigt.
Beide Seiten, vorherige ÜberarbeitungVorherige ÜberarbeitungNächste Überarbeitung | Vorherige Überarbeitung | ||
linux:homelab [23.11.2024 14:23] – Martin | linux:homelab [06.02.2025 10:38] (aktuell) – Martin | ||
---|---|---|---|
Zeile 1: | Zeile 1: | ||
# Homelab Notizen | # Homelab Notizen | ||
+ | |||
+ | Links: [[: | ||
## Benutzer in CT Container anlegen | ## Benutzer in CT Container anlegen | ||
Zeile 18: | Zeile 20: | ||
wget -O ~/ | wget -O ~/ | ||
sudo wget -O / | sudo wget -O / | ||
+ | sudo sed -i " | ||
sudo cat / | sudo cat / | ||
``` | ``` | ||
Zeile 60: | Zeile 63: | ||
sudo mv lazygit / | sudo mv lazygit / | ||
lazygit --version | lazygit --version | ||
+ | ``` | ||
+ | |||
+ | ## lazydocker installieren | ||
+ | ``` | ||
+ | LAZYDOC_VERSION=$(curl -s " | ||
+ | curl -Lo lazydocker.tar.gz " | ||
+ | tar xf lazydocker.tar.gz lazydocker | ||
+ | rm lazydocker.tar.gz | ||
+ | sudo mv lazydocker / | ||
+ | lazydocker --version | ||
+ | ``` | ||
+ | ## fastfetch installieren | ||
+ | ``` | ||
+ | LATEST_VERSION=$(curl --silent -qI https:// | ||
+ | wget -O fastfetch-latest.deb https:// | ||
+ | sudo dpkg -i fastfetch-latest.deb | ||
+ | rm fastfetch-latest.deb | ||
+ | fastfetch | ||
+ | ``` | ||
+ | |||
+ | ## docker container Helferlein | ||
+ | ``` | ||
+ | echo \# | ||
+ | echo sudo docker-compose pull >> up.sh | ||
+ | echo sudo docker-compose up -d >> up.sh | ||
+ | |||
+ | echo \# | ||
+ | echo sudo docker-compose down >> down.sh | ||
+ | |||
+ | echo \# | ||
+ | echo sudo docker-compose logs -f >> log.sh | ||
+ | |||
+ | echo \# | ||
+ | echo ./down.sh >> restart.sh | ||
+ | echo ./up.sh >> restart.sh | ||
+ | echo ./log.sh >> restart.sh | ||
+ | |||
+ | echo \# | ||
+ | echo ./down.sh >> pull.sh | ||
+ | echo sudo docker-compose pull >> pull.sh | ||
+ | echo ./up.sh >> pull.sh | ||
+ | echo ./log.sh >> pull.sh | ||
+ | |||
+ | sudo chmod +x *.sh | ||
``` | ``` | ||
linux/homelab.1732371808.txt.gz · Zuletzt geändert: 23.11.2024 14:23 von Martin