1개 답변
- 최신
- 최다 투표
- 가장 많은 댓글
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
답변함 5년 전