windows2008下apache2.4.9安裝記錄

操做系統 windows2008,64位。redis

一、從頁面:http://www.apachelounge.com/downloadapache

下載:httpd-2.4.9-win64-VC11.zipwindows

我已經把它放到了這裏:http://pan.baidu.com/s/1eQh84D0瀏覽器

解壓縮到D:\Apache24dom

 

二、下載並安裝 vcredist_x64.exethis

http://www.microsoft.com/zh-cn/download/confirmation.aspx?id=30679操作系統

我已經把它放到了這裏:http://pan.baidu.com/s/1sjnrJVBserver

 

三、修改文件:D:\Apache24\conf\httpd.confip

將:c:/Apache24 替換爲:d:/Apache24get

 

四、修改文件:D:\Apache24\conf\extra\httpd-vhosts.conf

將:c:/Apache24 替換爲:d:/Apache24

 

五、打開cmd窗口,進入:d:\Apache24\bin,運行命令:httpd -k install

出現提示:

 

Installing the Apache2.4 service
The Apache2.4 service is successfully installed.
Testing httpd.conf....
Errors reported here must be corrected before the service can be started.
AH00558: httpd: Could not reliably determine the server's fully qualified domain
name, using fe80::f83f:2c24:a0d8:cb5. Set the 'ServerName' directive globally t
o suppress this message

 

六、進入服務列表,看到Apache2.4服務在列表中。啓動它試試,成功。

 

七、瀏覽器瀏覽網址:http://localhost/

顯示:It works!

相關文章
相關標籤/搜索