I can't get apache to run on Arch Linux.
I tried pacman -S apache => systemctl start httpd => systemctl enable httpd
but it didn't work.
help me.
CodePudding user response:
- update the system db :
sudo pacman -Syu
- install apache web server :
sudo pacman -S apache
- enable apache service :
sudo systemctl enable httpd
andsudo systemctl restart httpd
- get the status of Apache service :
sudo systemctl status httpd
CodePudding user response:
Archlinux Wiki has a good material about how to set up Apache on Archlinux, you could check it first: