zoukankan      html  css  js  c++  java
  • LAMP环境配置三步曲之(一) CentOS 编译安装 Apache

    LAMP环境的配置现今虽然已比之前大大的简化了,但对于一些不熟悉Linux系统的朋友来说,还是有一定难度的,这里将本人的配置过程记录下来,希望能对大家有一些帮助。

    本期介绍CentOS下编译安装Apache的方法:

    1. 下载Apache服务器 httpd-2.2.26

    wget http://apache.fayea.com/apache-mirror//httpd/httpd-2.2.26.tar.gz

    2. 安装gcc等必须的编译器

    yum install autoconf automake libtool make

    3. 解压缩

    tar zxvf httpd-2.2.26.tar.gz

    4. configure

    cd httpd-2.2.26

    ./configure –prefix=/usr/local/apache2 –enable-so –enable-mods-shared=most

    5. make

    6. make install

  • 相关阅读:
    c++ string 的注意事项
    vim 高级技巧
    常用工具
    网络安全测试工具
    RMQ ST算法
    高精度模板
    CodeForces
    CodeForces
    线段树初探
    树状数组初探
  • 原文地址:https://www.cnblogs.com/mazefeng/p/3832015.html
Copyright © 2011-2022 走看看