在Arch Linux上安装Apache

mbjcgjjk  于 2022-11-16  发布在  Apache
关注(0)|答案(2)|浏览(211)

我无法让Apache在Arch Linux上运行。我试过‍‍‍pacman -S apache => systemctl start httpd => systemctl enable httpd,但它不起作用。帮帮我。

wgeznvg7

wgeznvg71#

1.更新系统数据库:sudo pacman -Syu
1.安装Apache Web服务器:sudo pacman -S apache
1.启用apache服务:sudo systemctl enable httpdsudo systemctl restart httpd
1.获取Apache服务的状态:sudo systemctl status httpd

yhxst69z

yhxst69z2#

Archlinux Wiki有一个关于如何在Archlinux上设置Apache的很好的材料,你可以先看看:
https://wiki.archlinux.org/title/Apache_HTTP_Server

相关问题