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

 

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章