zoukankan      html  css  js  c++  java
  • 安装 Apache 源代码包

    把自己在网易博客的文章迁移过来

    cd /lamp/httpd-2.2.9
    ./configure --prefix=/usr/local/apache2/
    --sysconfdir=/usr/local/apache2/etc/ --with-included-apr --enable-dav
    --enable-so --enable-deflate=shared --enable-expires=shared
    --enable-rewrite=shared
    make
    make install
    启动 Apache 测试:
    /usr/local/apache2/bin/apachectl restar
    查看进程:
    ps -le | grep httpd
    查看 apache 模块:
    /usr/local/apache2/bin/apachectl –h
    #share 动态模块或动态库文件
    Php5 rewrite
    #static 静态模块或表态库文件
    Server-status
    Userdir
    Virtual host
    测试:
    http://localhost/index.html
    “it works”
    设置 Apache 随机启动
    Vi /etc/rc.local
    /usr/local/apache2/bin/apachectl restart
  • 相关阅读:
    Pick-up sticks
    The Doors
    Intersecting Lines
    Segments
    TOYS
    Palindrome
    Distinct Substrings
    Milk Patterns
    Musical Theme
    JavaScript基于时间的动画算法
  • 原文地址:https://www.cnblogs.com/it-cen/p/4217179.html
Copyright © 2011-2022 走看看