美文网首页
mac os 终端启动、关闭、重启apache

mac os 终端启动、关闭、重启apache

作者: 弦歌芳华 | 来源:发表于2016-01-22 00:37 被阅读1402次

在目录:/etc目录下进行

1.打开终端,进入到上述目录下 

    cd /etc

2. 输入命令启动服务器

    sudo apachectl -k start

3.重启服务器

   sudo apachectl -k restart

4.关闭服务器

    sudo apachectl -k stop

相关文章

网友评论

      本文标题:mac os 终端启动、关闭、重启apache

      本文链接:https://www.haomeiwen.com/subject/xinehttx.html