首页 > 其他分享 >apache install

apache install

时间:2022-11-24 23:24:25浏览次数:34  
标签:httpd -- apr usr install apache local

https://www.gnu.org/software/libtool/

./configure --prefix=/usr/local/libtool
make
sudo make install

 


https://apr.apache.org/download.cgi

./configure --prefix=/usr/local/httpd/apr
make
sudo make install

 

https://pkgs.org/download/expat-devel
https://pkgs.org/search/?q=expat
# yum install -y expat-devel
sudo rpm -hiv expat*.rpm

./configure --prefix=/usr/local/httpd/apr-util --with-apr=/usr/local/httpd/apr
make
make install

 

http://www.pcre.org/
https://sourceforge.net/projects/pcre/files/pcre/8.45/
./configure --prefix=/usr/local/pcre
make
sudo make install

./configure --prefix=/usr/local/httpd/apache2 --with-apr=/usr/local/httpd/apr --with-apr-util=/usr/local/httpd/apr-util --with-pcre=/usr/local/pcre --enable-module=so

 


<VirtualHost *:13100>
ServerName beyondiary
ServerAlias beyondiary
ProxyRequests off
<Proxy *>
Order allow,deny
Allow from all
</Proxy>
ProxyPass / http://www.baidu.com
ProxyPassReverse / http://www.baidu.com
</VirtualHost>

 

标签:httpd,--,apr,usr,install,apache,local
From: https://www.cnblogs.com/exmyth/p/16923832.html

相关文章