我已经创建了一个新的httpd.conf文件,现在我希望我的Apache使用该conf文件并开始使用。但那不适合我。当我试图启动Apache时,我收到错误
./apachectl -k start
httpd: Could not open configuration file /usr/local/install/apache/conf/httpd.conf: No such file or directory
我的新conf文件是
/home/<user>/conf/httpd.conf
我无法理解我对使用此http.conf的更改所做的工作
首先安装apache。对于ArchLinux,请关注qazxsw poi安装指南。
然后启动该服务,只需运行此命令广告管理员:
this
检查它是否正在使用:
sudo systemctl start httpd.service
sudo systemctl status httpd.service