This is a comprehensive list of steps for setup of Debian family of Linux. It primarily applies to Proxmox Ubuntu VM’s and LXC’s.
- Create the VM/LXC from the Proxmox gui on local storage using the correct .iso image file. Sect Qemu Agent, Discard (for SSH TRIM), add public key.
- Add IP to DHCP
- edit /etc/ssh/sshd.conf
- PasswordAuthentication no
- PubkeyAuthentication yes
- check /etc/ssh/sshd_conf.d/50… for additional settings
- mkdir ~/.bin and add it to your path. Edit ~/.bashrc and add ‘export PATH=$PATH:$HOME/.bin’ to the bottom of the file.
- for LXC, create local user
- useradd <name>
- apt install sudo
- sudo usermod -aG sudo <name>
- new user settings need a lot of work
Placekeeper: distrobox enter abcde-env
sudo usermod -aG sudo