1 réponse
- Le plus récent
- Le plus de votes
- La plupart des commentaires
0
Hello,
The systemctl command is provided by the systemd package which is not available on Amazon Linux 2018.03.
Instead you can use the service command to restart the Apache server.
sudo service httpd restart
I recommend to check the configuration first.
sudo service httpd configtest
To use systemd with Amazon Linux, you can use Amazon Linux 2 with provides systemd and the systemctl command https://aws.amazon.com/amazon-linux-2/.
Thanks,
Paul
répondu il y a 5 ans
Contenus pertinents
- demandé il y a 6 mois
- demandé il y a 2 mois
- demandé il y a un an
- AWS OFFICIELA mis à jour il y a 5 ans