您的位置:首页 > 运维架构 > Apache

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

2014-07-08 18:04 791 查看
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
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: