svn commit: r1934634 - httpd/httpd/branches/2.4.x/docs/manual

[email protected]
Newsgroups gmane.comp.apache.cvs
Message-ID <177978804606.3566933.3907303955411710833@svn03-he-fi>
Author: rbowen
Date: Tue May 26 09:34:05 2026
New Revision: 1934634

Log:
Correct systemctl syntax

Modified:
   httpd/httpd/branches/2.4.x/docs/manual/install.xml

Modified: httpd/httpd/branches/2.4.x/docs/manual/install.xml
==============================================================================
--- httpd/httpd/branches/2.4.x/docs/manual/install.xml	Tue May 26 09:33:14 2026	(r1934633)
+++ httpd/httpd/branches/2.4.x/docs/manual/install.xml	Tue May 26 09:34:05 2026	(r1934634)
@@ -56,23 +56,36 @@
     <dt>Installing on Fedora/CentOS/Red Hat Enterprise Linux</dt>
     <dd>
     <highlight>
-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
     </highlight>
 
-    <note type="warning">Newer releases of these distros use
-    <code>dnf</code> rather than <code>yum</code>. See <a
-    href="https://fedoraproject.org/wiki/Apache_HTTP_Server">the
+    <note type="warning">See <a
+    href="https://docs.fedoraproject.org/en-US/quick-docs/getting-started-with-apache-http-server/index.html">the
     Fedora project's documentation</a> for platform-specific notes.</note>
     </dd>
 
     <dt>Installing on Ubuntu/Debian</dt>
     <dd>
 <highlight>
-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
 </highlight>
 
     <note type="warning">See <a href="https://ubuntu.com/tutorials/install-and-configure-apache">Ubuntu's documentation</a> for platform-specific notes.</note>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.