Add httpd instructions

This commit is contained in:
Justin Zobel 2017-04-15 19:03:12 +09:30 committed by Joshua Strobl
parent 2a46047ede
commit 16bf5a3c74
No known key found for this signature in database
GPG Key ID: 3F6FD9A6B13E584D
1 changed files with 24 additions and 0 deletions

24
software/httpd/en.md Normal file
View File

@ -0,0 +1,24 @@
+++
title = "Apache (httpd)"
+++
# Apache (httpd) Web Server
Solus provides httpd for web developers to test locally before uploading their work. Below are installation instructions for installing httpd:
## Install
httpd can be installed either from the Software Center or via terminal:
``` bash
sudo eopkg install httpd
```
Configuration must be copied from /usr/share/defaults/httpd/httpd.conf into /etc/ and then edited to your liking. The default location for www documents in /var/www/
Commands for managing the httpd via systemd systemctl:
``` bash
sudo systemctl enable httpd # enable on startup
sudo systemctl start httpd # start the web server
sudo systemctl stop httpd # stop the web server
```