最新下载
热门教程
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
linux系统下ubuntu重启apache服务命令
时间:2012-06-21 编辑:简简单单 来源:一聚教程网
在linux中要重启apache服务与在windows是有很大的区别,下面我们来介绍一下常用的命令
Linux系统为Ubuntu
一、Start Apache 2 Server /启动apache服务
# /etc/init.d/apache2 start
or
$ sudo /etc/init.d/apache2 start
二、 Restart Apache 2 Server /重启apache服务
# /etc/init.d/apache2 restart
or
$ sudo /etc/init.d/apache2 restart
三、Stop Apache 2 Server /停止apache服务
# /etc/init.d/apache2 stop
or
$ sudo /etc/init.d/apache2 stop
方法其实很简单,有需要的同学可以备案一下。
-
上一个: linux中screen命令用法说明
-
下一个: linux中uptime命令用法介绍
相关文章
- Linux apachectl命令详解 Linux apachectl命令怎么用 12-09
- Linux系统apache下htpasswd命令使用详解 06-17
- Linux源码包制作RPM包之Apache 05-25
- linux搭建apache服务器步骤详解 04-26
- linux如何卸载apache方法总结 10-01
- linux系统下apache服务的启动、停止、重启命令 10-28