I use and like DietPi as an OS for specific servers (Apache, LAMP, Wireguard VPN, etc). It is fast, reliable, runs great as a virtual machine (or dedicated server, including Raspberry Pi and similar), and lets you install most any Linux package. It has a Let's Encrypt wizard for quick and free TLS Certificates.
https://dietpi.com/#home If you download the Hyper-V image, make sure you create it as a Hyper-V Generation 1 VM. Show error messages: Copy to Clipboard
sudo journalctl
Recent messages only: Copy to Clipboard
sudo journalctl --since "5 minutes ago"
Watch for messages and show them every second: Copy to Clipboard
sudo watch -n1 -x journalctl --since "5 minutes ago"
Watch for messages for Apache and show them every second: Copy to Clipboard sudo watch -n1 -x journalctl -t apache2 --since "5 minutes ago"
|