Home > other >  Setting up Apache on Arch Linux
Setting up Apache on Arch Linux

Time:09-15

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:

  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

CodePudding user response:

Archlinux Wiki has a good material about how to set up Apache on Archlinux, you could check it first:

https://wiki.archlinux.org/title/Apache_HTTP_Server

  • Related