An abstract factory could not create an instance of magentoframeworkappdeploymentconfig(alias: Magento\Framework\App\DeploymentConfig).
An abstract factory could not create an instance of magentoframeworkappdeploymentconfig(alias: Magento\Framework\App\DeploymentConfig).
Acabei encontrando a mesma dúvida aqui no fórum do curso. A solucionei rodando o comando a seguir:
sudo update-alternatives --set php /usr/bin/php7.4