Apache的httpd的设置和安装 [英] Apache httpd setup and installation

查看:192
本文介绍了Apache的httpd的设置和安装的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

这是我第一次,我想在本地安装Apache HTTP服务器在我作为一个普通用户(非root)对话框。

This is my first time I am trying to install Apache HTTP server locally in my box as a regular user (non-root).

我已经下载的Apache 2.4.1版本的Apache HTTP服务器[http://httpd.apache.org/download.cgi。然而,当我试图建立在我的盒子,我得到以下错误本地安装:

I have downloaded Apache 2.4.1 version of Apache HTTP server [http://httpd.apache.org/download.cgi]. However when I am trying to build and install locally in my box I am getting below error:

httpd/httpd-2.4.1 1059> ./configure
checking for chosen layout... Apache
checking for working mkdir -p... yes
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking target system type... x86_64-unknown-linux-gnu

Configuring Apache Portable Runtime library ...

checking for APR... no
configure: error: APR not found.  Please read the documentation.

我不知道是什么扶养它正在寻找 - 我指的是下载包不包含它?我需要做什么构建/部署的Apache HTTP服务器?

I am not sure what dependency it is looking for - I mean the download package does not contains it? What I need to do to build / deploy Apache HTTP server?

先谢谢了。

推荐答案

在它会告诉你请阅读文档这意味着你应该去阅读Apache文档(<一个href=\"http://httpd.apache.org/docs/2.4/install.html\">http://httpd.apache.org/docs/2.4/install.html ),它会告诉你

When it tells you Please read documentation it means that you should go read Apache documentation ( http://httpd.apache.org/docs/2.4/install.html ) which tells you to

APR 同时下载APR和APR-的Util的最新版本,
  解压他们到./srclib/apr和./srclib/apr-util(确保
  域名不具有版本号;例如,APR
  分配必须在./srclib/apr /)

download the latest versions of both APR and APR-Util from Apache APR, unpack them into ./srclib/apr and ./srclib/apr-util (be sure the domain names do not have version numbers; for example, the APR distribution must be under ./srclib/apr/)

然后执行

./configure --with-included-apr

这篇关于Apache的httpd的设置和安装的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆