apache重启
停止服务:sudo /usr/sbin/apachectl stop
开启服务:sudo /usr/sbin/apachectl start
重启服务:sudo /usr/sbin/apachectl restart
本地环境
Sudo vim /etc/apache2/httpd.conf
/etc/apache2/extra/httpd-vhosts.conf
/etc/hosts
apache重启
停止服务:sudo /usr/sbin/apachectl stop
开启服务:sudo /usr/sbin/apachectl start
重启服务:sudo /usr/sbin/apachectl restart
本地环境
Sudo vim /etc/apache2/httpd.conf
/etc/apache2/extra/httpd-vhosts.conf
/etc/hosts