2021-03-29 apache安装过程记录

apache安装过程记录

apache和iis都是网站服务端 但是apache比iis好太多

但是apache的安装并非下载安装包解压这么简单

 

1 将conf文件夹下的httpd.conf文件进行修改。

 打开httpd.conf后,搜索Define SRVROOT(只有一处),将其后面的双引号里面的路径改为Apache的实际解压路径后保存即可

 

之后 要进入cmd命令行模式

2在cmd模式下 进入apache的文件目录安装

h:

h:\>cd H:\apache\httpd-2.4.46-o111j-x64-vc15\Apache24\bin          这是进入了bin文件夹

h:\>cd H:\apache\httpd-2.4.46-o111j-x64-vc15\Apache24\bin httpd -k install        这是安装

3在cmd模式下 运行服务器

h:\>cd H:\apache\httpd-2.4.46-o111j-x64-vc15\Apache24\bin net start Apache2.4  这是运行

 

4在浏览器上检验

浏览器输入:http://localhost/

This page is used to test the proper operation of the Apache HTTP server after it has been
installed. If you can read this page, it means that the web server installed at this site is
working properly, but has not yet been configured.

该页面用于在
安装Apache HTTP服务器后测试其是否正常运行。如果您可以阅读此页面,则表示此站点上安装的Web服务器可以
正常工作,但尚未配置。(这是正常的 说明运行成功了)

5在ApacheMonitor上检验

在bin中 打开ApacheMonitor.exe (会运行在屏幕右下角,双击显现)

小绿灯说明正常运行

 

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

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

余额充值