From 16bf5a3c74bcc2f3c767feb675b338ab10ad6b51 Mon Sep 17 00:00:00 2001 From: Justin Zobel Date: Sat, 15 Apr 2017 19:03:12 +0930 Subject: [PATCH] Add httpd instructions --- software/httpd/en.md | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 software/httpd/en.md diff --git a/software/httpd/en.md b/software/httpd/en.md new file mode 100644 index 0000000..9b25d46 --- /dev/null +++ b/software/httpd/en.md @@ -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 +```