see SSH client setup
see SSHD setup, enable root account by defining a password that won’t be used, but define it anyway otherwise unlock won’t work
passwd root usermod --unlock root
we want same timezone on all our boxen around the world
timedatectl set-timezone Europe/Moscow ls -lhF /etc/localtime
and remove that user
userdel -r removethatuser ls -alhF /home/ ls -alhF /var/mail/
upgrade the system
apt update apt full-upgrade
get some tools and scripts before XEN setup already
apt install git net-tools bridge-utils mlocate git clone ssh://gollum@slackmx:2222/home/gollum/pub.git ln -s pub/bin git clone https://github.com/pbraun9/xen.git cp -pi /etc/bash.bashrc /etc/bash.bashrc.dist vi /etc/bash.bashrc export PATH=$PATH:$HOME/bin:$HOME/xen
mv -i /etc/default/grub /etc/default/grub.dist cat > /etc/default/grub <<-EOF GRUB_DEFAULT=0 GRUB_TIMEOUT=5 GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian` GRUB_CMDLINE_LINUX_DEFAULT="" GRUB_CMDLINE_LINUX="net.ifnames=0 biosdevname=0 mitigations=0" EOF cp -i /etc/default/grub.d/xen.cfg /etc/default/grub.d/xen.cfg.dist vi /etc/default/grub.d/xen.cfg GRUB_CMDLINE_XEN="pv-linear-pt=true" update-grub grep linear /boot/grub/grub.cfg
xl li brctl show cd ~/ mkdir -p /data/{guests,templates,kernels}/ ln -s /data/guests ln -s /data/templates ln -s /data/kernels
eventually setup Irssi
see outgoing null-mailer with DMA