apt-get update apt-get upgrade
locale -a
dpkg-reconfigure locales
sudo vim /etc/network/interfaces iface eth0 inet manual
sudo adduser <user> sudo
root:x:0:0:root:/root:/bin/bash root:x:0:0:root:/root:/usr/sbin/nologin
file -sL /dev/sda1 or file -sL /dev/vg_group/lv_volume
/dev/vg_group/lv_volume /home ext4 noatime,user_xattr 0 0
sudo apt install vim sudo apt install smartmontools sudo apt install iotop sudo apt install rsync sudo apt install zip sudo apt install wget
smartctl --health /dev/sda
sudo apt-get remove --purge libreoffice* sudo apt-get clean sudo apt-get autoremove
You might first need to add the firmware repositories to get acceptable graphics output. For example, you are installing on a machine with an old graphics card, but a new monitor. In one of my installs the XFCE desktop will boot, but the screen resolution is off, and the fonts are hardly readable. LXQt desktop will not boot into a graphics desktop at all, the machine drops into a terminal during boot.
# replace the following repositories (http://mirror.kku.ac.th) with the ones you are using # use buster for Debian 10 or stretch for Debian 9 deb http://mirror.kku.ac.th/debian/ buster non-free contrib deb-src http://mirror.kku.ac.th/debian/ buster non-free contrib
sudo apt update sudo apt install firmware-linux firmware-linux-nonfree
lspci -vnn | grep VGA
sudo apt install libdrm-amdgpu1 xserver-xorg-video-amdgpu
sudo apt install nvidia-driver nvidia-settings nvidia-xconfig
sudo apt-get install firmware-realtek
tar zxf atlantic.tar.gz mv Linux ~/Drivers/Aquantia cd ~/Drivers/Aquantia vim aq_cfg.h #define AQ_CFG_IS_LRO_DEF 0U /* change from 1U to 0U */ sudo apt-get install build-essential gawk dkms sudo apt-get install linux-headers-`uname -r` cd ~/Drivers/Aquantia sudo ./dkms.sh install
/lib/modules/`uname -r`/updates/dkms/atlantic.ko lspci -v
sudo ./dkms.sh uninstall
Sometimes it is helpful to exclude a package from upgrading. Virtualbox, for example, requires the GUI on the client to be used after version upgrade to upgrade and install the guest addtions, so sometimes it's better to not upgrade the package while you don't have physical access to the client. You can exclude and include with the following commands:
sudo apt-mark hold virtualbox-6.1 sudo apt-mark unhold virtualbox-6.1