在CentOS上更新Apache时,需注意以下关键点:
/etc/httpd
yum/dnf
sudo yum install httpd
apachectl configtest
/var/log/httpd/
sudo systemctl enable httpd
参考来源: