码迷,mamicode.com
首页 > 其他好文 > 详细

LAMP环境配置三步曲之(一) CentOS 编译安装 Apache

时间:2014-07-09 16:19:00      阅读:200      评论:0      收藏:0      [点我收藏+]

标签:http   strong   os   linux   服务器   amp   

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

LAMP环境配置三步曲之(一) CentOS 编译安装 Apache,布布扣,bubuko.com

LAMP环境配置三步曲之(一) CentOS 编译安装 Apache

标签:http   strong   os   linux   服务器   amp   

原文地址:http://www.cnblogs.com/mazefeng/p/3832015.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!