linux 安装httpd
来源:互联网 发布:移动云商城 2.2 源码 编辑:程序博客网 时间:2024/06/14 15:20
安装httpd时需要参数:
Optional Packages:
--with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
--without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
--with-included-apr Use bundled copies of APR/APR-Util
--with-apr=PATH prefix for installed APR or the full path to
apr-config
--with-apr-util=PATH prefix for installed APU or the full path to
apu-config
--with-pcre=PATH Use external PCRE library
--with-port=PORT Port on which to listen (default is 80)
--with-sslport=SSLPORT Port on which to securelisten (default is 443)
--with-z=DIR use a specific zlib library
--with-lua=PATH Path to the Lua 5.1 prefix
--with-serf=PREFIX Serf client library
--with-sslc=DIR RSA SSL-C SSL/TLS toolkit
--with-ssl=DIR OpenSSL SSL/TLS toolkit
--with-mpm=MPM Choose the process model for Apache to use by
default. MPM={simple|event|worker|prefork|winnt}
This will be statically linked as the only available
MPM unless --enable-mpms-shared is also specified.
--with-module=module-type:module-file
Enable module-file in the modules/<module-type>
directory.
--with-program-name alternate executable name
--with-suexec-bin Path to suexec binary
--with-suexec-caller User allowed to call SuExec
--with-suexec-userdir User subdirectory
--with-suexec-docroot SuExec root directory
--with-suexec-uidmin Minimal allowed UID
--with-suexec-gidmin Minimal allowed GID
--with-suexec-logfile Set the logfile
--with-suexec-safepath Set the safepath
--with-suexec-umask umask for suexec'd process
-1.安装前电脑上要装有g++,否则安装过程会出现错误。
0.下载httpd并解压
在解压后的文件夹里面有一个srclib文件夹,下面用到的apr, apr-util,pcre应该都在里面,要用这些安装,不要从网上下,因为可能出现版本不兼容的问题。如果srclib里面没有这些软件,那么在apache官网上找到httpd***deps***的压缩包,意思就是问安装httpd所用到的信赖文件,用里面的进行安装。如果这个包再没有,那就只能从网上下了。
1、安装apache APR
./configure --prefix=/usr/local/apr
make
make test
make install
2、安装apr-util
./configure --prefix=/usr/local/apr-util/ --with-apr=/usr/local/apr/bin/apr-1-config
make
make install
3、安装pcre
./configure --prefix=/usr/local/pcre --with-apr=/usr/local/apr/bin/apr-1-config
make
make install
4、安装httpd(红色的配置是必须要配置的)
./configure --prefix=/usr/local/apache/httpd --with-apr=/usr/local/apr/ --with-apr-util=/usr/local/apr-util/bin/apu-1-config --with-pcre=/usr/local/pcre/bin/pcre-config
make
make install
- linux 安装httpd
- linux 安装httpd
- linux httpd安装
- linux安装apache-httpd
- linux安装apache httpd
- Linux安装HTTPD服务
- linux 安装apache httpd
- Linux下安装apache httpd
- Linux下安装Apache httpd
- Httpd安装手册(Linux环境)
- Ubuntu Linux下安装Apache httpd
- Ubuntu Linux下安装Apache httpd
- Httpd安装手册(Linux环境)
- Ubuntu Linux下安装Apache httpd
- linux下安装Apache-httpd-2.4
- linux centos 安装httpd-2.4.12
- linux apache(httpd)编译安装和启动
- Linux下编译安装Apache httpd 2.4
- fedora 用yum来管理安装Apache+PHP+Mysql的基本安装。
- MySQL+Apache+GD+PHP+Zend+ImageMagick
- MySQL 安装及配置
- C#网络编程(一)------最简单的基于cs的sokect通讯程序
- [Reprinted]How to Debug Billing IDOC User Exit ZXEDFU02
- linux 安装httpd
- Two useful transaction codes to search the T-TCODE where is in SAP menu tree
- SQL:select case 用法详解 带例子 图解说明 sqlserver2000
- 关于process的文章事例
- Linux内核简介、版本号与发布历史
- Tween Animation
- FDTD 周期斜入射 with BPML using OPENGEMS_Memory.h
- 操作系统
- 《Head First 设计模式》阅读笔记(一)——策略模式