多应用+插件架构,代码干净,二开方便,首家独创一键云编译技术,文档视频完善,免费商用码云13.8K 广告
[TOC] ## apache相关常用的命令 `apachectl -l` # 查看apache安装的内容 `apachectl -M` # 查看apache安装的模块 `lsof -i tcp:80` # 查看80端口情况 `netstat -tunpl|grep 80` # 查看80端口情况 `ps -ef|grep httpd` # 查看httpd进程情况 `curl -I http://192.168.0.200` # 查看http头信息 ## apace服务器修改完配置重启服务的流程 ~~~ apachectl -t # 检查配置文件 apachectl graceful # 优雅重启进程 ps -ef |grep httpd # 检查httpd进程 netstat -tunpl|grep 80 # 检查apache占用的端口 ~~~