当前位置:文档之家› Apache服务启动

Apache服务启动

Windows环境 Apache 安装后手动添加Service方法
2011-05-26 16:48
安装后如果需要手动添加Sevice,可以按照如下方法:

Apache版本:httpd-2.2.15_win32

Apache Service Monitor 提示:“No services installed”

安装Service

1)运行

2)键入命令:cmd

3)进入Apache安装目录下的bin目录:cd C:\Program Files\Apache Software Foundation\Apache2.2\bin

4)键入命令:httpd.exe -k install -n apache2.2

结果显示:

Installing the apache2.2 servece

The apache2.2 service is successfully installed.

删除Service

修改4)键入命令:httpd.exe -k uninstall -n apache2.2

结果显示:

Removing the apache2.2 service

The apache2.2 service has been removed successfully.

启动Service

键入命令:net start apache2.2

结果显示:

apache2.2 服务正在启动。

apache2.2 服务已经启动成功。

关闭Service

键入命令:net stop apache2.2

结果显示:

apache2.2 服务正在停止。

apache2.2 服务已经成功停止。

相关主题
文本预览
相关文档 最新文档