Mac自带Apache服务器的使用 1. 打开终端,开启Apache: //开启apache: sudo apachectl start//重启apache: sudo apachectl restart//关闭apache: sudo apachectl stop