apache2ctl

Apache HTTP web 服务器命令行管理工具。 基于 Debian 的操作系统自带该命令,基于 RHEL 的查看 httpd。 更多信息:https://manned.org/apache2ctl.8.

sudo apache2ctl start

sudo apache2ctl stop

sudo apache2ctl restart

sudo apache2ctl -t

sudo apache2ctl -M