Red Hat Enterprise Linux 5安装apache记录
2012-12-07 15:07
507 查看
在我的环境下用到了以下几个:
1)APR 和APR-Util,下载地址http://httpd.apache.org/docs/2.4/install.html
2)Perl-Compatible Regular Expressions Library (PCRE),下载地址:ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/
3)Httpd-2.4.3.tar.gz
步骤:
正常情况下只需要几步:
[root@localhost http-2.4.3]# ./configure --prefix=/usr/local/server/apache
这一步执行完后继续,我在这一步出现了问题,即下面说的
[root@localhost http-2.4.3]# make
[root@localhost http-2.4.3]# make install
我在安装的时候出现了没找不到APR、APR-Util、PCRE的情况,因为我的计算机木有装
下载好这几个组件后,安装方式同上
1、安装APR
[root@localhost http-2.4.3]# ./configure
[root@localhost apr]# make
[root@localhost apr]# make install
2、安装APE-Util
[root@localhost http-2.4.3]# ./configure [--with-apr /usr/local/apr]
这个过程中出现了找不到APR,可以使用--with-apr 你的apr路径 参数
[root@localhost apr]# make
[root@localhost apr]# make install
3、安装PCRE
[root@localhost http-2.4.3]# ./configure
[root@localhost apr]# make
[root@localhost apr]# make install
再重新执行
[root@localhost http-2.4.3]# ./configure --prefix=/usr/local/server/apache
[root@localhost http-2.4.3]# make
[root@localhost http-2.4.3]# make install
安装成功。
用VI查看httpd.conf文件看看,ok
测试一下:
[root@localhost bin]# ./apachectl start
1)APR 和APR-Util,下载地址http://httpd.apache.org/docs/2.4/install.html
2)Perl-Compatible Regular Expressions Library (PCRE),下载地址:ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/
3)Httpd-2.4.3.tar.gz
步骤:
正常情况下只需要几步:
[root@localhost http-2.4.3]# ./configure --prefix=/usr/local/server/apache
这一步执行完后继续,我在这一步出现了问题,即下面说的
[root@localhost http-2.4.3]# make
[root@localhost http-2.4.3]# make install
我在安装的时候出现了没找不到APR、APR-Util、PCRE的情况,因为我的计算机木有装
下载好这几个组件后,安装方式同上
1、安装APR
[root@localhost http-2.4.3]# ./configure
[root@localhost apr]# make
[root@localhost apr]# make install
2、安装APE-Util
[root@localhost http-2.4.3]# ./configure [--with-apr /usr/local/apr]
这个过程中出现了找不到APR,可以使用--with-apr 你的apr路径 参数
[root@localhost apr]# make
[root@localhost apr]# make install
3、安装PCRE
[root@localhost http-2.4.3]# ./configure
[root@localhost apr]# make
[root@localhost apr]# make install
再重新执行
[root@localhost http-2.4.3]# ./configure --prefix=/usr/local/server/apache
[root@localhost http-2.4.3]# make
[root@localhost http-2.4.3]# make install
安装成功。
用VI查看httpd.conf文件看看,ok
测试一下:
[root@localhost bin]# ./apachectl start
相关文章推荐
- red hat enterprise linux 5.4安装,mysql 安装、vsftp安装、apache安装、tomcat安装、JDK安装、SSH部署
- Red Hat Enterprise Linux AS release 4 apache+MYsql+PHP的安装和优化
- Red Hat Enterprise Linux 6下安装Apache Httpd
- Red Hat Enterprise Linux 5 系统中安装Apache
- Red Hat Enterprise Linux 7.0 安装手册
- Red Hat Enterprise Linux 6.8 下 aarch64-linux-gnu-gcc 4.9安装
- 图形安装Red Hat Enterprise Linux 4
- 安装Red Hat Enterprise Linux 5操作系统(图文解析)
- 安装Red Hat Enterprise Linux 6.6
- Red Hat Enterprise Linux 5 (红帽子企业版5)下Samba, VSFTP配置与安装
- Oracle 11g for Red Hat Enterprise Linux 6安装(64位)
- 在VMware Server和Red Hat Enterprise Linux 5上安装VMware Tools
- 在VMware Server和Red Hat Enterprise Linux 5上安装VMware Tools
- Red Hat Enterprise Linux 4 与 WLS8.1sp5的安装
- 在Red Hat Enterprise Linux 5.3 x86_64 安装 mongod 1.8.1
- IBM x3650 M4服务器安装Red Hat Enterprise Linux问题
- Red Hat Linux Enterprise 5 pure-ftp +Apache+Mysql+User manager for Pureftpd
- Red Hat Enterprise Linux 4安装MySql5
- red hat enterprise linux 5.4 下安装mysql5.6.10
- Red Hat Linux Enterprise 4上安装swftools-0.9.1 版本