Command not found: systemctl on Amazon Linux 2018.03
问题 I am following this Amazon AWS guide to install SSL certificates. I am running Apache on AWS EC2 using the Amazon Linux AMI 2018.03. The first step in the guide is to run: sudo systemctl is-enabled httpd I get "bash: systemctl: command not found". I suspect maybe I am running Amazon Linux, not Amazon Linux 2. 回答1: First check what Amazon linux version you have runnng on using the command cat /etc/os-release If it is Amazon Linux Version 2, then it does support systemd and comes installed by