]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
Suggest ways to install on common platforms
authorRich Bowen <rbowen@apache.org>
Mon, 19 Feb 2018 21:33:01 +0000 (21:33 +0000)
committerRich Bowen <rbowen@apache.org>
Mon, 19 Feb 2018 21:33:01 +0000 (21:33 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1824816 13f79535-47bb-0310-9956-ffa450edef68

docs/manual/install.xml

index 59a8728ab7e3bf1d042b2929a58436102527dd51..e5d4bac3040da5ee6633d51d14aa5d3afc059010 100644 (file)
 <section id="overview"><title>Overview for the
     impatient</title>
 
+    <dl>
+    <dt>Installing on Fedora/CentOS/Red Hat Enterprise Linux</dt>
+    <dd>
+    <highlight>
+sudo yum install httpd
+sudo systemctl enable httpd
+sudo systemctl start 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
+    Fedora project's documentation</a> for platform-specific notes.</note>
+    </dd>
+
+    <dt>Installing on Ubuntu/Debian</dt>
+    <dd>
+<highlight>
+sudo apt install apache2
+sudo service apache2 start
+</highlight>
+
+    <note type="warning">See <a href="https://help.ubuntu.com/lts/serverguide/httpd.html">Ubuntu's documentation</a> for platform-specific notes.</note>
+
+    </dd>
+
+    <dt>Installing from source</dt>
+    <dd>
     <table>
       <columnspec><column width=".13"/><column width=".80"/></columnspec>
       <tr>
       </tr>
     </table>
 
-    <p><em>NN</em> must be replaced with the current version
-    number, and <em>PREFIX</em> must be replaced with the
-    filesystem path under which the server should be installed. If
-    <em>PREFIX</em> is not specified, it defaults to
-    <code>/usr/local/apache2</code>.</p>
+        <p><em>NN</em> must be replaced with the current version
+        number, and <em>PREFIX</em> must be replaced with the
+        filesystem path under which the server should be installed. If
+        <em>PREFIX</em> is not specified, it defaults to
+        <code>/usr/local/apache2</code>.</p>
+
+        <p>Each section of the compilation and installation process is
+        described in more detail below, beginning with the requirements
+        for compiling and installing Apache httpd.</p>
+    </dd>
+    </dl>
+
+    <note type="warning">Don't see your favorite platform mentioned
+    here? <a href="http://httpd.apache.org/docs-project/">Come help us
+    improve this doc.</a>
 
-    <p>Each section of the compilation and installation process is
-    described in more detail below, beginning with the requirements
-    for compiling and installing Apache httpd.</p>
 </section>
 
 <section id="requirements"><title>Requirements</title>