歡迎來到Linux教程網
Linux教程網
Linux教程網
Linux教程網
Linux教程網 >> Linux基礎 >> 關於Linux >> linux apr安裝

linux apr安裝

日期:2017/3/3 17:00:15   编辑:關於Linux

先到下載apr和apr-util

  .1. 安裝apr-1.3.2.tar.gz

  # tar zxvf apr-1.3.2.tar.gz

  # cd apr-1.3.2

  # ./configure

  # make

  # make install

  //apr被安裝在/usr/local/apr下

  2. 安裝apr-util-1.3.2.tar.gz

  # tar zxvf apr-util-1.3.2.tar.gz

  # cd apr-util-1.3.2

  # ./configure --with-apr=/usr/local/apr

  // --with-apr=/usr/local/apr 指定APR安裝路徑

  # make

  # make install

  3.到http://httpd.apache.org/download.cgi#apache20下載httpd

  tar vzxf httpd-2.2.9.tar.gz

  cd httpd-2.2.9

  ./configure --prefix=/usr/local/apache2 --enable-so --enable-rewrite --enable-auth-digest --enable-cgi --enable-suexec --with-suexec-caller=daemon --with-suexec-docroot=/usr/local/apache2/htdocs

  make

  make install

Copyright © Linux教程網 All Rights Reserved