Setting up Apache on Arch Linux

Viewed 35

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.

2 Answers
  1. update the system db : sudo pacman -Syu
  2. install apache web server : sudo pacman -S apache
  3. enable apache service : sudo systemctl enable httpd and sudo systemctl restart httpd
  4. get the status of Apache service : sudo systemctl status httpd
Related