Apache Awstats 安装配置系列 (1)

Apache Awstats 安装配置系列 (1)之Apache 安装

1.下载安装 apache 2.2.31
http://www.apachehaus.com/cgi-bin/download.plx?dli=O5GbwpVaNFzTE50KhdFezBlVOpkVFVFdhZ1Z3R2Z
2、解压缩放在D:\Apache22
3、进入到apache下面的bin目录,输入

httpd -k install  把apache安装成windows后台服务。

4、出错
(OS 5)拒绝访问。  : Failed to open the WinNT service manager

5、打开cmd程序的时候以管理员身份运行

6、安装apache 2.2 成功
 D:\Apache22\bin>httpd -k install
Installing the Apache2.2 service
The Apache2.2 service is successfully installed.
Testing httpd.conf....
Errors reported here must be corrected before the service can be started.

7.进入 D:\Apache22\bin>services.msc 启动 apache 2.2 服务

8.校验netstat -n,80端口已经开启
D:\Apache22\bin>netstat -n

活动连接

  协议  本地地址          外部地址        状态
  TCP    127.0.0.1:80           127.0.0.1:51558        TIME_WAIT

9.打开http://127.0.0.1/
显示

Welcome,

That's right! If you are seeing this it means that the web server installed at this site is working properly,

but has not yet been configured.

显示
Server Details

Apache Version: 2.2.31 Win32
Build Date: Jul 15, 2015
 
OpenSSL Version: 1.0.1p
APR Version: 1.5.2
APR-Util Version: 1.5.4
PCRE Version: 8.37
ZLib Version: 1.2.8
LibXML2 Version: 
LUA Version:

10、启动D:\Apache22\bin目录下面的ApacheMonitor.exe
也可进行Apache 启动 停止 操作

11、至此 apache 2.2 安装完成

 

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

段智华

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值