From: Rich Bowen Date: Tue, 26 May 2026 09:34:05 +0000 (+0000) Subject: Correct systemctl syntax X-Git-Tag: 2.4.68-rc1-candidate~73 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=0c659faa0ae0e42454520339212920642f8579cb;p=thirdparty%2Fapache%2Fhttpd.git Correct systemctl syntax git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1934634 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/docs/manual/install.xml b/docs/manual/install.xml index 0ec766bf5f..dfd4c20920 100644 --- a/docs/manual/install.xml +++ b/docs/manual/install.xml @@ -56,23 +56,36 @@
Installing on Fedora/CentOS/Red Hat Enterprise Linux
-sudo yum install httpd -sudo systemctl enable httpd +sudo dnf install httpd + +# Start service sudo systemctl start httpd + +# Stop service +sudo systemctl stop httpd + +# Restart service +sudo systemctl restart httpd - Newer releases of these distros use - dnf rather than yum. See the + See the Fedora project's documentation for platform-specific notes.
Installing on Ubuntu/Debian
-sudo apt update sudo apt install apache2 -sudo service apache2 start + +# Start service +sudo systemctl start apache2 + +# Stop service +sudo systemctl stop apache2 + +# Restart service +sudo systemctl restart apache2 See Ubuntu's documentation for platform-specific notes.