linux 下 apache启动、停止、重启命令
来源:互联网 发布:李开元 知乎 编辑:程序博客网 时间:2024/06/04 18:46
基本的操作方法:
本文假设你的apahce安装目录为/usr/local/apache2,这些方法适合任何情况
apahce启动命令:
推荐/usr/local/apache2/bin/apachectl start apaceh启动
apache停止命令
/usr/local/apache2/bin/apachectl stop 停止
apache重新启动命令:
/usr/local/apache2/bin/apachectl restart 重启
要在重启 Apache 服务器时不中断当前的连接,则应运行:
/usr/local/sbin/apachectl graceful
如果apache安装成为linux的服务的话,可以用以下命令操作:
service httpd start 启动
service httpd restart 重新启动
service httpd stop 停止服务
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
0 0
- linux 下 apache启动、停止、重启命令
- linux 下 apache启动、停止、重启命令
- linux下apache启动、停止、重启命令
- linux 下 apache启动、停止、重启命令
- linux 下 apache启动、停止、重启命令
- linux 下 apache启动、停止、重启命令
- linux 下 apache启动、停止、重启命令
- linux 下 apache启动、停止、重启命令
- linux 下 apache启动、停止、重启命令
- linux 下 apache启动、停止、重启命令
- linux 下 apache启动、停止、重启命令
- linux 下 apache启动、停止、重启命令
- linux 下 apache启动、停止、重启命令
- linux 下 apache启动、停止、重启命令
- linux 下 apache启动、停止、重启命令
- linux 下 apache启动、停止、重启命令
- linux 下 apache启动、停止、重启命令
- linux 下 apache启动、停止、重启命令
- dataTable、dataset转换成Json格式
- 工作中遇到的一些javaScript细节(一)
- 快速弹窗工具类
- rapidJson::Document doc
- 选择器本没有什么优先级可言! 只不过叫着叫着就有了而已——关于韩顺平老师将div+css部分选择器的优先级
- linux 下 apache启动、停止、重启命令
- Quartz的简单使用和与Spring的整合
- maven创建scala项目:spark-streaming项目使用
- Array
- Java分布式应用技术架构介绍
- php 使用 ticks declare 进行 耗时记录
- 用软件管工程合同有什么价值?
- 01html的简介
- Extjs动画效果(自定义动画) Ext Core 预置的 12 个动画功能