安装apache_2.2.4时选择only for the Current User, on 8080, when started Manually
来源:互联网 发布:清华大学软件学院考研 编辑:程序博客网 时间:2024/06/09 19:35
安装apache_2.2.4时选择only for the Current User, on 8080, when started Manually
安装apache_2.2.4时选择only for the Current User, on 8080, when started Manually
1:
运行cmd:然后
cd..
cd..
到C盘根目录下.
2.执行cd C:\Program Files\Apache Software Foundation\Apache2.2\bin
到bin目录下
再执行:
httpd -k install
进行服务安装.
就可以启动服务了.
Apache仅能够在Windows NT上作为服务运行。
你可以选择在安装Apache时自动将其安装为一个服务。如果你选择"for all users",那么Apache将会被安装为服务。如果你选择了"only for the Current User",你可以在安装后手动将Apache注册为服务。注意,你必须是Administrators组的成员才能成功注册服务。
使用Apache Service Monitor工具,可以查看和管理你所在网络上的所有机器上安装的Apache服务的状态。为了能够使用这个工具管理Apache服务,你必须首先自动或手动安装Apache服务。
你可以在Apache安装目录的bin子目录下,使用如下命令将Apache安装为Windows NT服务:
httpd -k install
如果你想指定服务的名称,可以使用下面的命令。当你在同一机器上安装多个Apache服务时,你必须为它们指定不同的名字。
httpd -k install -n "服务名"
如果你想为不同名称的服务使用不同的配置文件,则安装时需要指定配置文件:
httpd -k install -n "服务名" -f "c:\files\my.conf"
如果你使用的是第一个命令,也就是除 -k install 外没有其它命令行参数,那么被安装的服务名称将是:Apache2.2 ,配置文件将使用conf\httpd.conf 。
要移除一个Apache服务很简单:
httpd -k uninstall
或者使用下述命令移除特定名称的Apache服务:
httpd -k uninstall -n "服务名"
通常,启动、重启、关闭Apache服务的方法是使用Apache Service Monitor工具,另外也可以使用控制台命令:NET START Apache2.2 和 NET STOP Apache2.2 或者通过Windows服务控制面板。在启动Apache服务之前,你应当使用下面的命令检查一下配置文件的正确性:
httpd -n "服务名" -t
你可以通过命令行开关来控制Apache服务。要启动一个已经安装的Apache服务,可以使用:
httpd -k start
要停止一个已经安装的Apache服务,可以使用:
httpd -k stop
或
httpd -k shutdown
要重启一个运行中的Apache服务,强制它重新读取配置文件,可以使用:
httpd -k restart
默认情况下,Apache服务将被注册为以本地系统用户(LocalSystem帐号)身份运行。LocalSystem帐号没有网络权限,不能通过任何Windows安全机制访问网络,包括文件系统、命名管道、DCOM或secure RPC ,但是它对于本地资源却拥有广泛的特权
- 安装apache_2.2.4时选择only for the Current User, on 8080, when started Manually
- Apache 选择"only for the Current User, on 8080, when started Manually"时的服务启动方法及如何修改端口号
- apache http server 安装的时候选择 “for current user”,如何正常启动?(jung)
- Selenium在添加cookie时“Can only set Cookies for the current domain”错误处理
- Create the User Scott Manually
- How to set the current user on the model instance in the admin:
- virtualbox安装增强功能时The headers for the current running kernel were not found
- 安装"vmtolls"时出现以下提示:VMware Tools installation cannot be started manually while Easy Instal
- Get the current user permission level on a list item with ecmascript
- Access Denied: Either the SOM service on the machine is not started or the user attempting this conn
- Theserver is not reeady for publishing.Please check if the Publishing Tools on the serverare started
- fckeditor 错误信息 the current user isn't authorized for file browsing
- fck struts2 整合 出现the current user isn't authorized for file browsing!.
- ORA-20001: Statistics Advisor: Invalid task name for the current user
- An application error occurred on the server. The current custom error settings for this application
- Displays information on the current wait states for all active database sessions
- 第一步,安装apache_2.0.59
- How to fix the bug 640*480 resolution only when install ubuntu 14.04 on a old laptop?
- WPF应用程序如何重启当前的Application
- 自己动手编写web server(二)
- Html之表格在网页中的对齐_实例
- django关于csrf防止跨站的ajax请求403处理
- UI 选择for iphone
- 安装apache_2.2.4时选择only for the Current User, on 8080, when started Manually
- 【Apache Kafka】安装升级指南
- 用ASM实现GetProcAddress()函数
- tomcat配置https访问系统
- Thread safety & Re-entrancy
- ubuntu12.04使用eclipse快捷键设置--关于alt+/无法使用,ubuntu删除alt快捷键
- 透视投影理解
- 二分查找
- 100 - The 3n + 1 problem