linux 下 apache启动、停止、重启命令
来源:互联网 发布:斗牛软件下载 编辑:程序博客网 时间:2024/05/19 16:23
基本的操作方法:
apahce安装目录为/usr/local/apache2,这些方法适合任何情况
apahce启动命令:
推荐/usr/local/apache2/bin/apachectl start apaceh启动
apache停止命令
/usr/local/apache2/bin/apachectlstop
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启动、停止、重启命令
- Java常用类库初识
- Redis系列学习笔记15 论坛构建
- java中文乱码解决之道(8):解决URL中文乱码问题
- Java基础回顾 : String类的内存分析
- linux安装nginx
- linux 下 apache启动、停止、重启命令
- 新版本可以确保您下载到免费的最新版
- 从头到尾彻底理解KMP(2014年8月22日版)(转载)
- Redis系列学习笔记16 服务器配置
- mysql replication by mysqldump & xtrabackup
- 【转载】如何转做测试管理?
- redhat 安装mysql
- 在iOS应用中跳转到淘宝或天猫客户端商品详情页
- Java 静态方法和实例化方法的区别