On Debian 13:
sudo apt update
sudo apt install cherokee
On RHEL 10:
sudo dnf install cherokee
If the package is not available on your distro, consider using another web server or build from source.
sudo systemctl enable --now cherokee
On UFW:
sudo ufw allow 80/tcp
sudo ufw allow 443/tcp
On firewalld:
sudo firewall-cmd --permanent --add-service=http
sudo firewall-cmd --permanent --add-service=https
sudo firewall-cmd --reload
Open http://SERVER_IP or https://SERVER_IP.
See Cherokee Hardening.