</keywordset>
</bookinfo>
- <part id="installation" xreflabel="Installation">
- <title>Installation</title>
-
- <partintro>
- <para>
- It is possible to install &bdr; or &udr; from binary packages or from
- source.
- </para>
- <para>
- In general you should choose binary packages if they are available
- for your platform.
- </para>
- <para>
- Source installs are mainly useful if you want to keep track of the very
- latest BDR development and contribute to development. They're also the
- only option if there are no packages for your operating system yet.
- </para>
- <para>
- Before installing &bdr; make sure you satisfy the <xref linkend="bdr-requirements">.
- </para>
- </partintro>
-
- &install-packages;
- &install-source;
-
- </part>
+&install;
<part id="quickstart">
<title>Quick Start</title>
<!--
Include external documentation sections
-->
+<!ENTITY install SYSTEM "install.sgml">
<!ENTITY install-packages SYSTEM "install-packages.sgml">
<!ENTITY install-source SYSTEM "install-source.sgml">
<!ENTITY quickstart-install SYSTEM "quickstart-install.sgml">
-<chapter id="installation-packages" xreflabel="Installing from packages">
+<sect1 id="installation-packages" xreflabel="Installing from packages">
<title>Installing &bdr; or &udr; from packages</title>
<para>
</note>
- <sect1 id="installation-packages-redhat" xreflabel="Installing from packages on RHEL, Fedora and CentOS">
+ <sect2 id="installation-packages-redhat" xreflabel="Installing from packages on RHEL, Fedora and CentOS">
<title>RHEL, Fedora and CentOS</title>
<para>
Fedora, RHEL, and CentOS.
</para>
- <sect2>
+ <sect3>
<title>Install the repository RPMs</title>
<para>
<ulink url="https://fedoraproject.org/wiki/EPEL">enable EPEL</ulink>.
</para>
- </sect2>
+ </sect3>
- <sect2>
+ <sect3>
<title>Installing PostgreSQL &pgmajorversion; and &bdr; from packages for RHEL, Fedora or CentOS</title>
- <sect3>
+ <sect4>
<title>Remove the <literal>postgresql94</literal> packages, if installed</title>
<note>
will not be used while BDR is installed.
</para>
- </sect3>
+ </sect4>
- <sect3>
+ <sect4>
<title>Install the &bdr; packages</title>
<para>
<xref linkend="settings"> and <xref linkend="quickstart">.
</para>
- </sect3>
+ </sect4>
- </sect2>
+ </sect3>
- <sect2>
+ <sect3>
<title>Installing &udr; from packages for RHEL, Fedora or CentOS</title>
<para>
</programlisting>
</para>
- </sect2>
+ </sect3>
- </sect1>
-</chapter>
+ </sect2>
+</sect1>
-<chapter id="installation-source" xreflabel="Installing from source code">
+<sect1 id="installation-source" xreflabel="Installing from source code">
<title>Installing &bdr; or &udr; from source</title>
- <sect1 id="installation-source-prereqs">
+ <sect2 id="installation-source-prereqs">
<title>Prerequisites for installing from source</title>
<para>
To install either &bdr; or &udr; the prerequisites for compiling
</itemizedlist>
</para>
- </sect1>
+ </sect2>
- <sect1 id="installation-get-source">
+ <sect2 id="installation-get-source">
<title>Getting &bdr; source code</title>
<para>
There are two ways to get the &bdr; source code: with git, or by downloading tarballs of released versions.
</para>
- <sect2>
+ <sect3>
<title>Using <application>git</application> to get the &bdr; sources</title>
<para>
<ulink url="http://git-scm.org/">git-scm.org</ulink>.
</para>
- </sect2>
+ </sect3>
- <sect2>
+ <sect3>
<title>Downloading release source tarballs</title>
<para>
clone.
</para>
- </sect2>
+ </sect3>
- </sect1>
+ </sect2>
- <sect1 id="installation-bdr-source">
+ <sect2 id="installation-bdr-source">
<title>Installation of &bdr; from source</title>
<para>
Installing &bdr; from source consists out of two steps: First
make -j4 -s all
</programlisting>
</para>
- </sect1>
+ </sect2>
- <sect1 id="installation-udr-source">
+ <sect2 id="installation-udr-source">
<title>Installation of &udr; from source</title>
<para>
Installing &udr; is simpler than installing &bdr;. It compiles
PATH=/usr/pgsql-9.4/bin:$PATH ./configure
</programlisting>
</para>
- </sect1>
+ </sect2>
-</chapter>
+</sect1>
--- /dev/null
+<chapter id="installation" xreflabel="Installation">
+ <title>Installation</title>
+
+ <para>
+ It is possible to install &bdr; or &udr; from binary packages or from
+ source.
+ </para>
+ <para>
+ In general you should choose binary packages if they are available
+ for your platform.
+ </para>
+ <para>
+ Source installs are mainly useful if you want to keep track of the very
+ latest BDR development and contribute to development. They're also the
+ only option if there are no packages for your operating system yet.
+ </para>
+ <para>
+ Before installing &bdr; make sure you satisfy the <xref linkend="bdr-requirements">.
+ </para>
+
+ &install-packages;
+ &install-source;
+
+</chapter>