ubuntu下启动、重启、关闭apache2服务

启动apache服务
$  etc/apache2/sites-enabled/apache2ctl start


重启apache服务
$ etc/apache2/sites-enabled/apache2ctl restart


停止apache服务
$ etc/apache2/sites-enabled/apache2ctl stop

猜你喜欢

转载自blog.csdn.net/qq_39198486/article/details/81625493