Windows XP Windows 7 Windows 2003 Windows Vista Windows教程綜合 Linux 系統教程
Windows 10 Windows 8 Windows 2008 Windows NT Windows Server 電腦軟件教程

linux apr安裝

日期:2017/1/20 17:41:46      編輯: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 © Windows教程網 All Rights Reserved