User Tools

Site Tools


debian

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
debian [2024/05/13 07:59] – created protocoldebian [2026/01/10 12:44] (current) protocol
Line 1: Line 1:
 +===== Basics =====
 +
 +<code>
 apt -y install screen tmux curl wget sudo libsocket6-perl vim bash-completion fzf grc nano wget iotop dnsutils gnupg2 apt -y install screen tmux curl wget sudo libsocket6-perl vim bash-completion fzf grc nano wget iotop dnsutils gnupg2
  
Line 5: Line 8:
 apt update apt update
  
-apt install webmin -y --install-recommends+apt-get install --install-recommends webmin 
 + 
 +sed -i -e "s/%sudo\tALL=(ALL:ALL) ALL/%sudo  ALL=(ALL) NOPASSWD: ALL/" /etc/sudoers 
 +</code> 
 + 
 +===== Upgrade from 11 to 12 ===== 
 + 
 +sed -i -e "s/bullseye/bookworm/" /etc/apt/sources.list 
 + 
 +apt update 
 + 
 +apt upgrade --without-new-pkgs 
 + 
 +apt full-upgrade 
 + 
 +apt update 
 + 
 +sed -i -e "s/non-free/non-free-firmware/" /etc/apt/sources.list 
 + 
 +apt update 
 + 
 + 
 + 
 +https://gist.github.com/rrottmann/b0f371a62950a9e149c4358772c5a647 
 + 
 + 
 + 
 +===== Upgrade from 12 to 13 ===== 
 + 
 +<code>
  
-echo "protocol ALL=(ALL:ALL) ALL" >> /etc/sudoers && echo "manuel ALL=(ALL:ALL) ALL" >> /etc/sudoers.d/admin+sudo apt update && sudo apt full-upgrade -y 
 +sudo apt autoclean && sudo apt autoremove -y 
 +sudo cp /etc/apt/sources.list /etc/apt/sources.list.bookworm-backup 
 +sudo cp -r /etc/apt/sources.list.d /etc/apt/sources.list.d.bookworm-backup 
 +sudo sed -i 's/bookworm/trixie/g' /etc/apt/sources.list 
 +sudo find /etc/apt/sources.list.d -name "*.list" -exec sed -i 's/bookworm/trixie/g' {} \; 
 +sudo apt update 
 +sudo apt upgrade --without-new-pkgs -y 
 +sudo apt full-upgrade -y 
 +sudo apt autoremove -y 
 +sudo apt autoclean
  
 +cat /etc/debian_version # Should show '13.x'
 +lsb_release -a         # Should show 'Trixie'
  
 +sudo systemctl reboot
  
 +</code>
debian.1715597966.txt.gz · Last modified: by protocol