find / -name httpd find / -name apachectl find / -name httpd.conf 可以通过阅读httpd.conf找到ServerRoot关键字 ,ServerRoot之后的引号里的内容就是系统安装目录了。比如REDHAT LINUX过RPM方式安装的APACHE的默认目录为:/etc/httpd,则你就可以其httpd.conf里有这条指令:ServerRoot "/etc/httpd"。
linux下查找配置文件
最新推荐文章于 2024-05-22 23:46:52 发布