Начинаем с обновления системы:
apt update && apt upgrade
Устанавливаем апач:
apt install apache2
Перезапускаем Apache:
systemctl status apache2