源码编译安装Apache
Apache起源html
./configure :执行脚本,配置文件
--prefix=/usr/local/httpd :指定安装路径
--enable-so :开启核心模块
--enable-rewrite :开启重写功能,防盗链
--enable-charset-lite :开启支持字符集
--enable-cgi :开启通用网关接口linux
5.make && make install
6.添加启动脚本
7.在http配置文件中添加官方备注信息
8.修改httpd主配置文件
9.建立软连接
10.关闭防火墙,开启服务
查看监听端口
11.检验结果
到此,Apache服务安装完成!c++