centos 编译安装 lamp
2013-10-09 15:09
399 查看
编译安装 apache
# tar zxvf httpd-2.2.6.tar.gz
# cd httpd-2.2.6
# ./configure --prefix=/usr/local/apache2 --enable-so --enable-track-vars --enable-proxy --enable-vhost-alias --enable-cache --enable-disk-cache --enable-mem-cache --enable-rewrite --enable-mods-shared=all
# make
# make install
安装完apache,用浏览器访问http://localhost,能正常显示说明装好了。
# tar zxvf httpd-2.2.6.tar.gz
# cd httpd-2.2.6
# ./configure --prefix=/usr/local/apache2 --enable-so --enable-track-vars --enable-proxy --enable-vhost-alias --enable-cache --enable-disk-cache --enable-mem-cache --enable-rewrite --enable-mods-shared=all
# make
# make install
wget http://mirror.bjtu.edu.cn/apache/httpd/httpd-2.2.19.tar.bz2 tar -jxvf httpd-2.2.19.tar.bz2 cd httpd-2.2.19 sudo yum install gcc ./configure --prefix=/opt/httpd --enable-so --enable-rewrite make sudo make install sudo /opt/httpd/bin/httpd -k start
安装完apache,用浏览器访问http://localhost,能正常显示说明装好了。
相关文章推荐
- CentOS6编译安装LAMP(CentOS6、httpd-2.4、php-7.1、mariadb-10.2、memcached-3.0.4)
- LAMP环境配置三步曲之(一) CentOS 编译安装 Apache
- centos下编译安装LAMP环境
- lamp编译安装(centos6.2+apache2.4.2+mysql5.5.24+php5.3.13)
- centos 6 编译安装php-5.4/5.5(lamp模式)
- centos 5.9(x64)--2.6.18-348.el5 LAMP 编译安装
- CentOS 5.X 源码编译安装LAMP(Apache+MySQL+PHP)
- php centos yum安装lamp 编译安装oci8
- Centos编译安装 LAMP (apache-2.4.7 + mysql-5.5.35 + php 5.5.8)+ Redis
- Centos 5.5 Lamp源码包安装编译
- CentOS 源码编译安装LAMP(Apache MySQL PHP)
- centos 6.2系统下编译安装lamp环境
- CentOS 5.5(X64)下编译安装LAMP平台
- Centos6.9实现基于源码编译安装LAMP(FPM模块方式)的wordpress应用
- CentOS 7 编译安装LAMP
- 实验:centos7.3实现基于源码编译安装LAMP的wordpress应用
- centos下LAMP之源码编译安装httpd
- 详解二:CentOS下编译安装PHP开发环境,配置LAMP
- 在centos6.5上编译安装LAMP
- Centos6.8下编译安装LAMP的操作记录梳理