zoukankan      html  css  js  c++  java
  • apache 绿色版 安装

    下载绿色版apache 本文已apache2.4为例

    http://www.apachehaus.com/cgi-bin/download.plx



    下载后解压 打开readme_first.html文件

    能够看到假设是 xp则须要安装 vs 2008 sp1 和 vc2008  自己下载后更新



    安装为服务

    httpd.exe -k install



    错误提示:

    Testing httpd.conf....
    Errors reported here must be corrected before the service can be started.
    httpd.exe: Syntax error on line 39 of F:/develop/apache/2.4.9/conf/httpd.conf: ServerRoot must be a valid directory


    改动38行改为绝对路径



    卸载又一次安装服务或者不用管仅仅要改动好配置文件就能够的

    我这里演示卸载又一次安装

    卸载:httpd.exe -k uninstall



    又一次安装



    Errors reported here must be corrected before the service can be started.

    提示信息:这里报告的错误必须纠正后服务才干启动。

    (仅仅是给我们个友善的提示)


    服务已被安装(右键服务名(Apache2.4)启动  假设比較懒:启动类型改为自己主动)




    http://localhost/   



查看全文
  • 相关阅读:
    Leetcode Binary Tree Preorder Traversal
    Leetcode Minimum Depth of Binary Tree
    Leetcode 148. Sort List
    Leetcode 61. Rotate List
    Leetcode 86. Partition List
    Leetcode 21. Merge Two Sorted Lists
    Leetcode 143. Reorder List
    J2EE项目应用开发过程中的易错点
    JNDI初认识
    奔腾的代码
  • 原文地址:https://www.cnblogs.com/ldxsuanfa/p/10553005.html
  • Copyright © 2011-2022 走看看