fjqzyc 发表于 2018-11-23 09:40:51

Install Apache in Linux

  Simple Note:
  step1: install APR
http://apr.apache.org/download.cgi
step2: install APR-Util
http://apr.apache.org/download.cgi
step3: install pcre
http://jaist.dl.sourceforge.net/project/pcre/pcre/8.33/pcre-8.33.tar.gz
step4: install Apache httpd
http://httpd.apache.org/download.cgi#verify
./configure --prefix=/data1/esbadmin/apache2/apache2 --with-apr=/data1/esbadmin/apr/apr --with-apr-util=/data1/esbadmin/apr/apr-util --with-pcre=/data1/esbadmin/apache2/pcre--with-included-apr
make
make install
  if you got apr boundle error : please try to use this solution.
cp apr and apr-util into httpd/srclib/ folder. Notice that the file name should be apr and apr-util otherwirse will get an error.
./configure --prefix=/data1/esbadmin/apache2/apache2 --with-pcre=/data1/esbadmin/apache2/pcre--with-included-apr
make
make install
  
ERROR: (13)Permission denied: AH00072: make_sock: could not bind to address [::]:80
SOLUTION: change Listener port#
  RedirectMatch permanent ^/webservice(.*)$ https://testws.synnex.com/$1



页: [1]
查看完整版本: Install Apache in Linux