zoukankan      html  css  js  c++  java
  • 亲测apache

    http://www.cnblogs.com/bluewelkin/p/3805107.html
    里面是纠正了原文的一些小错误,即可正常安装
     
    1、su 命令
    2、安装apr-1.3.5.tar.gz
    # tar zxvf apr-1.3.5.tar.gz
     
    # cd apr-1.3.5
     
    # ./configure
     
    #make
     
    #make install
    3、
    安装apr-util-1.3.7.tar.gz
    # tar zxvf apr-util-1.3.7.tar.gz
     
    # cd apr-util-1.3.7
     
    # . /configure --with-apr=/usr/local/apr
    . /configure --with-apr=/usr/local/apr(这个是修正之后的)
     
     
     
    # make
     
    # make install
    4
    安装httpd-2.2.11.tar.gz
    # tar zxvf httpd-2.2.11.tar.gz
     
    # ./configure --prefix=/usr/local/apache2 --enable-dav --enable-modules=so --enable-maintainer-mode --enable-rewrite --with-apr=/usr/local/apr/bin/apr-1-config --with-apr-util=/usr/local/apr/bin/apu-1-config
     
    【bash: ./configure: 没有那个文件或目录
     
    --------------------------------------------------
     
    解决方案: chmod a+x configure 修改一下这个文件的权限即可】
     
     
    # make
     
    # make install
     
     
     
    启动Apache服务:
     
    # /usr/local/apache2/bin/apachectl start
     
     
     
    用浏览器查看http://localhost/,得到It works!
     
    说明apache已经配置成功了。

    httpd: Could not reliably determine the server's fully qualified domain name

    ---------------------------------------

    解决方案:cd /usr/local/apache/conf

    vi  httpd.conf

    将里面的#ServerName www.example.comt:80注释去掉即可。


     
     、

  • 相关阅读:
    SQL*Loader-951错误
    excel导出
    zookeeper常见bug
    可编辑表格
    tree的应用
    join
    hibernate manytomany 双向
    hibernate 多对多 单向关联
    hibernate 一对多(多对一)双向
    hibernate one2many
  • 原文地址:https://www.cnblogs.com/bluewelkin/p/3817355.html
Copyright © 2011-2022 走看看