Basisinstallation Linuxkiste
Basis User/Software:
adduser bb
adduser bb sudo
apt install sudo
sudo apt update
sudo apt full-upgrade
sudo apt autoremove
sudo apt install vnstat git-core chrony ca-certificates apt-transport-https rsync cron wget curl nano logrotate htop ncdu python3-psutil fail2ban rsyslog
sudo apt clean
(Kein chrony in Containern, ansonsten in /etc/chrony/chrony.conf ggf. den NTP Server anpassen.)
SSH-Port ändern:
sudo nano /etc/ssh/sshd_config.d/port.conf
(dort "Port xxPORTxx" einfügen)
sudo service sshd restart
SSH Keys installieren (/home/bb/.ssh/authorized_keys und /root/.ssh/authorized_keys)
In /home/bb/.bashrc force_color_prompt einschalten
Ggf. Zeitzone anpassen
Ggf. mstmp TLS relay
Ggf. Restic
Ggf. Icinga Client
Ggf. Syncthing
Ggf. /etc/logrotate.d/localapps
Ggf. Default crontab Jobs