Universal maintenance tips
- FirewallD
- Easy to maintain with its config files
- Supported by Podman since v4.0 with netavark
- Fail2Ban
- Rate limit against attacks
- FirewallD support
- OpenSSH
- By default, firewallD has ssh on port 22 enabled. Please change the port to avoid attacks.
-
<!-- /etc/firewalld/services/ssh-custom.xml --> <?xml version="1.0" encoding="utf-8"?> <service> <short>SSH Custom</short> <description>Service for the custom ssh port.</description> <port protocol="tcp" port="9999"/> </service>
-
firewall-offline-cmd --remove-service-from-zone ssh firewall-offline-cmd --zone=public --add-service ssh-custom systemctl start firewalld.service # TEST YOUR SSH ACCESS BY OPENING A NEW CONNECTION! systemctl enable --now firewalld.service
Successor of docker. Compatible with docker. Better security. Designed to run rootless. Has a docker API layer with the podman-docker package.
- Installation
- Podman Rootless
reboot
loginctl enable-linger username
to keep he services running, even after a logout.
- Bash autocompletion
- Health status of the storage
- Automatic email if problems happen
- RAID health
- Automatic email if problems happen
- Prefer filesystem native RAID support like RAID 1 on BTRFS
- Send an email if an error happens
- Filesystem health (Example BTRFS
& btrfsmaintenance)
- Automatic email if problems happen
- Autoupdater of this project
- Notification about system updates
- Notification about failed systemd services
- Notification script
- Do the same for the rootless user (~/.config/systemd/user/service.d/toplevel-override.conf etc.)
- Auto-Update and prune container images
systemctl --user enable --now podman-auto-update.timer
- Displaying information & updatable packages on (ssh) login
- Example motd generation files.
- Needs package
lm_sensors
- Needs package
- Example motd generation files.
- Web-based server interface Cockpit
- Backup ESP partition
- Don't use a RAID. The ESP partition is modified by the UEFI and the bootloader for the boot counter. UEFI and Bootloader don't understand a RAID and will turn it async.
- Podman.io
- Podman.io - Tutorials
- Podman.io - Documentation
- Docker Wiki
- Docker Security
- Docker Secrets
- Generate SSL config
- Test website for security