Unterschiede
Hier werden die Unterschiede zwischen zwei Versionen der Seite angezeigt.
Beide Seiten, vorherige ÜberarbeitungVorherige ÜberarbeitungNächste Überarbeitung | Vorherige Überarbeitung | ||
linux:debian [25.10.2023 06:41] – [mein Bash Prompt] Martin | linux:debian [07.12.2024 18:19] (aktuell) – Martin | ||
---|---|---|---|
Zeile 1: | Zeile 1: | ||
# Debian | # Debian | ||
- | ## schnellsten Apt Mirror | + | ## mein Bash Prompt |
<code bash> | <code bash> | ||
- | sudo apt install netselect-apt | + | wget -O ~/ |
- | sudo netselect-apt | + | sudo wget -O / |
+ | sudo sed -i " | ||
+ | sudo cat / | ||
</ | </ | ||
- | ## mein Bash Prompt | + | ## sources.list bookworm |
<code bash> | <code bash> | ||
- | wget -O ~/.bash_aliases | + | sudo -s |
- | sudo wget -O /root/.bashrc | + | |
+ | echo "deb http://deb.debian.org/ | ||
+ | echo "deb http://deb.debian.org/ | ||
+ | echo "deb http:// | ||
+ | echo "deb http:// | ||
+ | cat / | ||
+ | apt update && apt dist-upgrade -y && apt autoremove -y && apt clean -y && reboot | ||
+ | </ | ||
+ | |||
+ | oder direkt netzwerge als Mirror | ||
+ | <code bash> | ||
+ | sudo -s | ||
+ | |||
+ | echo "deb http:// | ||
+ | echo "deb http:// | ||
+ | echo "deb http:// | ||
+ | echo "deb http:// | ||
+ | cat / | ||
+ | apt update | ||
+ | </ | ||
+ | |||
+ | ## Hostnamen anpassen | ||
+ | |||
+ | ``` | ||
+ | newHostname=neuerName | ||
+ | |||
+ | current=" | ||
+ | currip=" | ||
+ | sudo hostnamectl set-hostname $newHostname | ||
+ | sudo echo " | ||
+ | check=$(hostname) | ||
+ | echo " | ||
+ | ``` | ||
+ | |||
+ | ## Bullseye zu Bookworm | ||
+ | |||
+ | <code bash> | ||
+ | sudo -s | ||
+ | |||
+ | apt update | ||
+ | apt install screen -y | ||
+ | apt full-upgrade -y | ||
+ | |||
+ | echo "deb http://mirror.netzwerge.de/ | ||
+ | echo "deb http://mirror.netzwerge.de/debian bookworm-updates contrib main non-free-firmware">> | ||
+ | echo "deb http:// | ||
+ | echo "deb http:// | ||
+ | apt update | ||
+ | systemctl is-enabled systemd-resolved && apt install systemd-resolved | ||
+ | |||
+ | screen | ||
+ | apt upgrade --without-new-pkgs -y | ||
+ | apt full-upgrade -y | ||
+ | reboot | ||
+ | </ | ||
+ | ## Tools | ||
+ | |||
+ | Hier sind ein paar Tools für Linux, die ich eigentlich immer bzw. oft installiere. | ||
+ | |||
+ | <code bash> | ||
+ | apt install sudo nano wget mc htop ncdu exa | ||
+ | apt install duf bat fd-find | ||
+ | </ | ||
+ | |||
+ | <code bash> | ||
+ | wget https:// | ||
+ | </ | ||
+ | |||
+ | Dazu hier noch ein paar Links zu Tools, die nicht ganz so wichtig sind... | ||
+ | |||
+ | * [[https:// | ||
+ | |||
+ | ## schnellsten Apt Mirror | ||
+ | |||
+ | <code bash> | ||
+ | sudo apt install netselect-apt | ||
+ | sudo netselect-apt -n -c DE | ||
</ | </ | ||
linux/debian.1698216076.txt.gz · Zuletzt geändert: 25.10.2023 06:41 von Martin