[rs-commit] r131 - /rs-manual/trunk/src/site/xhtml5/installation.xhtml5

rs-commit at redwax.eu rs-commit at redwax.eu
Thu Oct 31 00:53:32 CET 2019


Author: minfrin at redwax.eu
Date: Thu Oct 31 00:53:32 2019
New Revision: 131

Log:
Add details of how to build RPMs, or Debian packages.

Modified:
    rs-manual/trunk/src/site/xhtml5/installation.xhtml5

Modified: rs-manual/trunk/src/site/xhtml5/installation.xhtml5
==============================================================================
--- rs-manual/trunk/src/site/xhtml5/installation.xhtml5	(original)
+++ rs-manual/trunk/src/site/xhtml5/installation.xhtml5	Thu Oct 31 00:53:32 2019
@@ -10,22 +10,95 @@
     <section class="spotlight style2 orient-right content-align-left image-position-left" id="introduction">
       <div class="content null">
         <h2>Compiling and Installing</h2>
-        <p>How to compile and install the Redwax Server.</p>
+        <p>How to compile and install the Redwax Server from source, or through the
+          building of RPM or Debian packages.</p>
       </div>
       <div class="image">
         <img src="images/candles-lightgreen.jpg" alt="" />
       </div>
     </section>
 
-    <section class="wrapper style1 align-center"
-        id="introduction">
+    <section class="wrapper style1 align-center inner"
+        id="rpm">
+      <header>
+        <h2>Build an RPM Package</h2>
+        <p>
+          Compile from source and generate RPM packages for Redhat/Fedora systems.
+        </p>
+      </header>
+      <div class="content index align-left">
+
+        <section>
+          <header>
+            <h3>Build an RPM Package</h3>
+          </header>
+          <div class="content">
+            <p>
+              The <code>mod_ca</code> module must be built first, as each subsequent
+              modules depends on headers provided by this core module.
+            </p>
+            <p>
+              To compile an RPM, each module is built as follows:
+            </p>
+<pre><code><![CDATA[rpmbuild -tb mod_ca-x.y.z.tar.bz2
+]]></code></pre>
+            <p>
+              The <code>rpmbuild</code> tool will complain if the required development
+              packages have not been installed. Install any missing packages with
+              <code>yum</code> or <code>dnf</code>.
+            </p>
+          </div>
+        </section>
+
+      </div>
+    </section>
+
+    <section class="wrapper style1 align-center inner"
+        id="debian">
+      <header>
+        <h2>Build a Debian Package</h2>
+        <p>
+          Compile from source and generate Debian packages for Debian/Ubuntu systems.
+        </p>
+      </header>
+      <div class="content index align-left">
+
+        <section>
+          <header>
+            <h3>Build a Debian Package</h3>
+          </header>
+          <div class="content">
+            <p>
+              The <code>mod_ca</code> module must be built first, as each subsequent
+              modules depends on headers provided by this core module.
+            </p>
+            <p>
+              To compile each Debian package, each module is built from the root of
+              the source as follows:
+            </p>
+<pre><code><![CDATA[cd mod-ca-x.y.z
+dpkg-buildpackage -us -uc
+]]></code></pre>
+            <p>
+              The <code>dpkg-buildpackage</code> tool will complain if the required development
+              packages have not been installed. Install any missing packages with
+              <code>apt-get</code>.
+            </p>
+          </div>
+        </section>
+
+      </div>
+    </section>
+
+    <section class="wrapper style1 align-center inner"
+        id="source">
       <header>
         <h2>Compile and Install</h2>
         <p>
           Compile from source and install to the local machine from scratch.
         </p>
       </header>
-      <div class="content inner index align-left">
+      <div class="content index align-left">
 
         <section>
           <header>



More information about the rs-commit mailing list