linux系统为ubuntu
一、start apache 2 server/启动apache服务
?
| 1 2 3 | # /etc/init.d/apache2 start or $ sudo /etc/init .d /apache2 start |
二、 restart apache 2 server/重启apache服务
?
| 1 2 3 | # /etc/init.d/apache2 restart or $ sudo /etc/init .d /apache2 restart |
三、stop apache 2 server/停止apache服务
?
| 1 2 3 | # /etc/init.d/apache2 stop or $ sudo /etc/init .d /apache2 stop |
搬瓦工中文网





