我无法让Apache在Arch Linux上运行。我试过pacman -S apache => systemctl start httpd => systemctl enable httpd,但它不起作用。帮帮我。
pacman -S apache => systemctl start httpd => systemctl enable httpd
wgeznvg71#
1.更新系统数据库:sudo pacman -Syu1.安装Apache Web服务器:sudo pacman -S apache1.启用apache服务:sudo systemctl enable httpd和sudo systemctl restart httpd1.获取Apache服务的状态:sudo systemctl status httpd
sudo pacman -Syu
sudo pacman -S apache
sudo systemctl enable httpd
sudo systemctl restart httpd
sudo systemctl status httpd
yhxst69z2#
Archlinux Wiki有一个关于如何在Archlinux上设置Apache的很好的材料,你可以先看看:https://wiki.archlinux.org/title/Apache_HTTP_Server
2条答案
按热度按时间wgeznvg71#
1.更新系统数据库:
sudo pacman -Syu
1.安装Apache Web服务器:
sudo pacman -S apache
1.启用apache服务:
sudo systemctl enable httpd
和sudo systemctl restart httpd
1.获取Apache服务的状态:
sudo systemctl status httpd
yhxst69z2#
Archlinux Wiki有一个关于如何在Archlinux上设置Apache的很好的材料,你可以先看看:
https://wiki.archlinux.org/title/Apache_HTTP_Server