apache install
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>
systemctl status httpd
● httpd.service - SYSV: Apache
Loaded: loaded (/etc/rc.d/init.d/httpd; bad; vendor preset: disabled)
Active: active (running) since Sun 2022-11-27 00:07:06 CST; 2 days ago
Docs: man:systemd-sysv-generator(8)
Process: 1395 ExecStart=/etc/rc.d/init.d/httpd start (code=exited, status=0/SUCCESS)
Tasks: 108
Memory: 11.7M
CGroup: /system.slice/httpd.service
├─ 1413 /usr/local/httpd/apache2/bin/httpd -k start
├─ 1414 /usr/local/httpd/apache2/bin/httpd -k start
├─ 1415 /usr/local/httpd/apache2/bin/httpd -k start
└─24943 /usr/local/httpd/apache2/bin/httpd -k start
【推荐】国内首个AI IDE,深度理解中文开发场景,立即下载体验Trae
【推荐】编程新体验,更懂你的AI,立即体验豆包MarsCode编程助手
【推荐】抖音旗下AI助手豆包,你的智能百科全书,全免费不限次数
【推荐】轻量又高性能的 SSH 工具 IShell:AI 加持,快人一步
· 10年+ .NET Coder 心语 ── 封装的思维:从隐藏、稳定开始理解其本质意义
· 地球OL攻略 —— 某应届生求职总结
· 周边上新:园子的第一款马克杯温暖上架
· 提示词工程——AI应用必不可少的技术
· Open-Sora 2.0 重磅开源!
2021-11-24 swagger2 Illegal DefaultValue null for parameter type integer
2016-11-24 PopClip:你会热爱的文本穿梭机