Restructure download sections to be clearer
authorMagnus Hagander <magnus@hagander.net>
Sun, 1 Jul 2012 12:25:32 +0000 (14:25 +0200)
committerMagnus Hagander <magnus@hagander.net>
Sun, 1 Jul 2012 12:25:32 +0000 (14:25 +0200)
In particular, split up the linux instructions into different pages
for different distributions, since they are very differnt, and in
general try to include more detail.

There are still some OSes that definitely need more info, but this
is more than we had before...

17 files changed:
media/css/global.css
media/css/table.css
pgweb/util/contexts.py
templates/pages/download.html
templates/pages/download/freebsd.html
templates/pages/download/linux.html
templates/pages/download/linux/debian.html [new file with mode: 0644]
templates/pages/download/linux/linux_oneclick.inc [new file with mode: 0644]
templates/pages/download/linux/linux_source.inc [new file with mode: 0644]
templates/pages/download/linux/redhat.html [new file with mode: 0644]
templates/pages/download/linux/suse.html [new file with mode: 0644]
templates/pages/download/linux/ubuntu.html [new file with mode: 0644]
templates/pages/download/macosx.html
templates/pages/download/openbsd.html
templates/pages/download/snapshots.html
templates/pages/download/solaris.html
templates/pages/download/windows.html

index c045c782e0d6c3a46ad58ebc39214f1dd7b8c9cb..1706e116c0e2ec454fa4c5e1af178a813388d033 100644 (file)
@@ -79,6 +79,20 @@ pre {
   font-size: 1.0em;
 }
 
+div#pgContentWrap code {
+  font-size: 1.2em;
+  padding: 1em;
+  margin: 2ex 0 2ex 2ex;
+  background: #F7F7F7;
+  border: 1px solid #CFCFCF;
+  -moz-border-radius: 8px;
+  -webkit-border-radius: 8px;
+  -khtml-border-radius: 8px;
+  border-radius: 8px;
+  display: block;
+  overflow: auto;
+}
+
 strong, b {
   font-weight: bold;
 }
index b0c85cb877e5b5497ec5c5afeaf0a72df33410a9..c8ac49244d5d06d19461f3304617063ed4cc75e6 100644 (file)
@@ -8,6 +8,7 @@ div.tblBasic h2 {
 
 div.tblBasic table {
         background: #F5F5F5 url(/media/img/layout/nav_tbl_top_lft.png) top left no-repeat;
+       margin-left: 2ex;
         margin-bottom: 15px;
 }
 
index 4541016066c7d4f8354e534e45acf8fd4627b6ea..bd01c6f051352ed5457e1e146f7f1c7d326d6e1c 100644 (file)
@@ -22,7 +22,10 @@ sitenav = {
                {'title': 'Licence',            'link':'/about/licence/'},
        ],
        'download': [
-               {'title': 'Downloads',          'link':'/download/'},
+               {'title': 'Downloads',          'link':'/download/', 'submenu': [
+                               {'title': 'Binary',             'link':'/download/'},
+                               {'title': 'Source',             'link':'/ftp/source/'}
+               ]},
                {'title': 'Software Catalogue', 'link':'/download/product-categories/'},
                {'title': 'pgFoundry',          'link':'http://pgfoundry.org/'},
                {'title': 'File Browser',       'link':'/ftp/'},
index 2f7cc498809502e9e6259920e1d16a7b6e2eb243..90d6412a96076366149b88297b194408eb1d9143 100644 (file)
@@ -7,57 +7,88 @@
 
 <h2>PostgreSQL Core Distribution</h2>
 
-<p>The core of the PostgreSQL object-relational database management system is available in several source and binary formats.
-The full package includes:</p>
-
-<ul>
-       <li>The core server with full documentation (html, man)</li>
-       <li>Several command line tools (e.g. psql, pg_ctl, pg_dump, pg_restore)</li>
-       <li>C library (libpq) and embedded C processor (ecpg)</li>
-       <li>Several server-side procedural languages (e.g. plpgsql, pltcl, plperl)</li>
-       <li>Several popular add-on packages (e.g. metaphone, pgcrypto and other useful enhancements)</li>
-</ul>
-
-<p>In addition, some 'one click' installers include additional packages such as pgAdmin and PostGIS.</p>
+<p>
+The core of the PostgreSQL object-relational database management system
+is available in several source and binary formats.
+</p>
 
 <h3>Binary packages</h3>
 
-<p>Pre-built binary packages are available for a number of different operating systems:</p>
-
-<div align="center">
-<a href="/download/freebsd">FreeBSD</a> &middot; <a href="/download/linux">Linux</a> &middot; <a href="/download/openbsd">OpenBSD</a> &middot; <a href="/download/macosx">Mac OS X</a> &middot; <a href="/download/solaris">Solaris</a> &middot; <a href="/download/windows">Windows</a>
-</div>
-
-<h3>Source code</h3>
-
-<p>You can download the <a href="/ftp/source/">source code</a> from a mirror site using our File Browser</a>
-
-<h3>Beta/RC Releases and Development snapshots (unstable)</h3>
-
-<p>There are source code and binary <a href="/download/snapshots">packages</a> of beta and release candidates, and of 
-the current development code available for testing and evaluation of new features. Note that these builds should
- be used <b>for testing purposes only</b>, and not for production systems.</p>
-
-<h3>3rd party distributions</h3>
-
+<p>
+Pre-built binary packages are available for a number of different operating
+systems:
+</p>
 <ul>
-       <li><a href="http://www.openscg.org/postgresql">Java PostgreSQL Server Bundles</a> provide an integrated download of the latest &amp; greatest versions of PostgreSQL &amp; OpenJDK with Tomcat, JBoss or Resin. Built by the <a href="http://www.openscg.com">Open Source Computing Group</a>.</li>
-       <li>'LAPP', 'MAPP' and 'WAPP' (Linux/Mac/Windows + Apache + PHP + PostgreSQL) stacks are available from <a href="http://bitnami.org/article/apache-php-and-postgresql-all-in-one">BitNami</a>. Sponsored by <a href="http://bitrock.com">BitRock</a>.</li>
+ <li>BSD
+  <ul>
+   <li><a href="/download/freebsd/">FreeBSD</a></li>
+   <li><a href="/download/openbsd/">OpenBSD</a></li>
+  </ul>
+ </li>
+ <li>Linux
+  <ul>
+   <li><a href="/download/linux/redhat/">RedHat/CentOS/Fedora/Scientific</a> families Linux</li>
+   <li><a href="/download/linux/debian/">Debian</a> GNU/Linux</li>
+   <li><a href="/download/linux/ubuntu/">Ubuntu</a> Linux</li>
+   <li><a href="/download/linux/suse/">SuSE</a> and OpenSuSE</li>
+   <li><a href="/download/linux/">Other</a> Linux</li>
+  </ul>
+ </li>
+ <li><a href="/download/macosx/">Mac OS X</a></li>
+ <li><a href="/download/solaris/">Solaris</a></li>
+ <li><a href="/download/windows/">Windows</a></li>
 </ul>
 
-<h3>Live CDs/Software appliances</h3>
-
-<p>Live CDs are bootable CD images that allow you to run and play with PostgreSQL and a selection of related tools and 
-software, without installing anything on your PC. Software appliances are similarly pre-configured, but are designed to run in a virtual machine or be installed onto real hardware. Note that as complete operating systems, these distributions may not be updated immediately when new versions of PostgreSQL are released.</p>
-
-<ul>
-       <li><a href="http://www.pglivecd.org">PostgreSQL Live CD</a> - a Fedora based PostgreSQL live CD, 
-       containing packages from the PostgreSQL Yum repository. Maintained by Devrim G&Uuml;ND&Uuml;Z at 
-       <a href="http://www.EnterpriseDB.com">EnterpriseDB</a> .</li>
-
-       <li><a href="http://www.turnkeylinux.org/appliances/postgresql">TurnKey PostgreSQL</a> - An Ubuntu based live CD and software appliance featuring a Mac OS X-themed Web management interface and a Python configuration and installation console. Published by <a href="http://www.turnkeylinux.org/">TurnKey Linux</a>.</li>
+<h3>Source code</h3>
 
-</ul>
+<p>
+The source code can be found in the main <a href="/ftp/source">file browser</a>
+or you can access the source control repository directly
+at <a href="http://git.postgresql.org/gitweb/?p=postgresql.git;a=summary">git.postgresql.org</a>.
+Instructions for building from source can be found in the
+<a href="/docs/current/static/installation.html">documentation</a>.
+</p>
+
+<h3>Beta/RC Releases and development snapshots (unstable)</h3>
+
+<p>
+There are source code and binary <a href="/download/snapshots">packages</a>
+of beta and release candidates, and of the current development code available
+for testing and evaluation of new features. Note that these builds should
+be used <b>for testing purposes only</b>, and not for production systems.
+</p>
+
+<h2>3rd party distributions</h2>
+
+<h3>Live CD</h3>
+<p>
+<a href="http://www.pglivecd.org">PostgreSQL Live CD</a> is a Fedora based
+PostgreSQL live CD, containing packages from the PostgreSQL Yum repository.
+Live CDs are bootable CD images that allow you to run and test PostgreSQL
+and a selection of related tools and software, without installing anything
+on your PC.
+</p>
+
+<h3>Java PostgreSQL Server Bundles</h3>
+<p>
+Integrated <a href="http://www.openscg.org/postgresql">downloads</a> of the
+latest &amp; greatest versions of PostgreSQL &amp; OpenJDK with Tomcat,
+JBoss or Resin are available from OpenSCG.
+</p>
+
+<h3>Live CD and virtual machine appliance</h3>
+<p>
+<a href="http://www.turnkeylinux.org/appliances/postgresql">TurnKey PostgreSQL</a>
+is an Ubuntu based live CD and software appliance featuring a Mac OS X-themed
+Web management interface and a Python configuration and installation console.
+</p>
+
+<h3>Ready to run stacks</h3>
+<p>
+'LAPP', 'MAPP' and 'WAPP' (Linux/Mac/Windows + Apache + PHP + PostgreSQL)
+stacks are available from
+<a href="http://bitnami.org/tag/postgresql">BitNami</a>.
+</p>
 
 <h2>Additional software</h2>
 
index cd3d98b5aaff78bf3239560f1bf1272dc6de4f33..2a1435ecf8e3f691c55d9da045f554f170d864b7 100644 (file)
@@ -13,6 +13,4 @@ to install ports.</p>
 <p>A list of <a href="http://www.freebsd.org/cgi/ports.cgi?query=postgresql&stype=name&sektion=databases">PostgreSQL 
        packages</a> can be found using the Ports Search tool on the FreeBSD website.</p>
 
-<p><i>The FreeBSD PostgreSQL Ports are maintained by Palle Girgensohn.</i></p>
-
 {%endblock%}
index 6df72610774be12a5f38f701464de3a4c31ae94b..dfcd502fa4f6ad25ab9c4aee164452b691f72468 100644 (file)
@@ -1,98 +1,44 @@
 {%extends "base/page.html"%}
-{%block title%}Linux packages{%endblock%}
+{%block title%}Linux downloads (other){%endblock%}
 {%block contents%}
 
-<h1>Linux packages</h1>
+<h1>Linux downloads (other)</h1>
 <p>
-PostgreSQL is available integrated with the package management on most Linux platforms. When available,
-this is the recommended way to install PostgreSQL, since it provides proper integration with the
-operating system, including automatic patching and other management functionality.</p>
-<p>
-Should packages not be available for your distribution, or there are issues with your package manager,
-there are <a href="#oneclick">graphical installers</a> available. Finally, most Linux systems make it
-easy to <a href="/ftp/source/">build from source</a>.
+<b>Note!</b> These are the generic Linux download instructions. If you
+are using one of the major Linux distributions, you should read the
+distribution specific instructions:
 </p>
-
 <ul>
- <li>Cross-Platform Installers</li>
- <ul>
-     <li><a href="#oneclick">Graphical installer</a></li>
-     <li><a href="#multibinary">Binary Packages (RPM & DEB)</a></li>
- </ul>
-<br />
- <li>Platform-Specific Installers</li>
- <ul>
-     <li><a href="#yum">Scientific Linux, RHEL, Fedora and CentOS Yum Repository</a></li>
-     <li><a href="#debian">Debian apt</a></li>
-     <li><a href="#ubuntu">Ubuntu apt</a></li>
-     <li><a href="#gentoo">Gentoo Portage</a></li>
-     <li><a href="#suse">SuSE RPM</a></li>
- </ul>
+ <li><a href="/download/linux/redhat/">RedHat/CentOS/Fedora/Scientific</a> families Linux</li>
+ <li><a href="/download/linux/debian/">Debian</a> GNU/Linux</li>
+ <li><a href="/download/linux/ubuntu/">Ubuntu</a> Linux</li>
+ <li><a href="/download/linux/suse/">SuSE</a> and OpenSuSE</li>
 </ul>
 
-<h2><a name="oneclick">Graphical installer</a></h2>
-
-<p>One click installers are available for 32 and 64 bit Linux distributions and include PostgreSQL, 
-pgAdmin and the StackBuilder utility for installing additional packages. The PostgreSQL 8.3 and 8.4 
-installers have been tested with a number of Linux distributions and should work on Ubuntu 6.06 and 
-above, Fedora 6 and above, CentOS/Red Hat Enterprise Linux 4 and above and others. The 9.0 and 9.1
-installers have only been tested on more recent distributions.</p>
+<h2>Generic linux distributions</h2>
 <p>
-<a href="http://www.enterprisedb.com/products/pgdownload.do">Download</a> the packages from
-EnterpriseDB.
+PostgreSQL is available integrated with the package management on most
+Linux platforms. When available, this is the recommended way to install
+PostgreSQL, since it provides proper integration with the operating system,
+including automatic patching and other management functionality.
+</p>
+<p>
+Should packages not be available for your distribution, or there are
+issues with your package manager, there are graphical installers available.
+</p>
+<p>
+Finally, most Linux systems make it easy to build from source.
 </p>
 
-<p><b>Note: The one click installers do not integrate with platform-specific packaging systems.</b></p>
-
-<p><i>The one click installers are maintained by Dave Page at <a href="http://www.enterprisedb.com">EnterpriseDB</a>.</i></p>
-
-<h2><a name="multibinary">Binary Packages (RPM & DEB)</a></h2>
-<p>Cross-distribution server binaries wrapped in RPM and DEB format for use with your native OS
-package manager. These packages allow for side-by-side versions of the database (i.e pg_upgrade compatible)
-without losing the power of the native package manager. The RPM has been tested on Fedora 6 and above,
-CentOS/Red Hat Enterprise Linux 4 and others.  The DEB has been tested on Ubuntu 6.06 and above.</p>
-<p><a href="http://www.openscg.org/postgresql/packages">Download</a> the packages from OpenSCG.</p>
-<p><i>The multi-platform binary packages are maintained by <a href="http://www.openscg.org">OpenSCG</a></i></p>
-
-<h2><a name="yum">Scientific Linux, RHEL, Fedora and CentOS Yum Repository</a></h2>
-
-<p>RPMs for CentOS, Fedora and Red Hat Enterprise Linux are available from the <a href="http://yum.postgresql.org/">PostgreSQL
-Yum repository</a>. Platform-specific RPM packages of PostgreSQL are available as well as a variety of related projects
-such as <a href="http://www.pgadmin.org">pgAdmin</a> and <a href="http://www.postgis.org">PostGIS</a>.</p>
-
-<p>To setup your system to use the repository, please see the <b><a href="http://yum.postgresql.org/howtoyum.php">Yum HOWTO</a></b>.
-
-<p><i>The Yum repository is maintained by Devrim Gunduz.</i></p>
-
-<h2><a name="debian">Debian Apt</a></h2>
-
-<p><a href="http://www.debian.org">Debian</a> users may install PostgreSQL using the apt utility. For 
-details on the use of apt on Debian, please see the documentation.</p>
-
-<p>A <a href="http://packages.debian.org/search?keywords=postgresql&searchon=names&suite=stable&section=all">list</a>
-of PostgreSQL Debian packages is available from the package search tool.</p>
-
-<p><i>The PostgreSQL packages for Debian are maintained by Martin Pitt.</i></p>
-
-<h2><a name="ubuntu">Ubuntu Apt</a></h2>
-
-<p><a href="http://www.ubuntu.com">Ubuntu</a> users may install PostgreSQL using the apt utility. For 
-details on the use of apt on Ubuntu, please see the documentation.</p>
-
-<p><i>The PostgreSQL packages for Ubuntu are maintained by Martin Pitt.</i></p>
-
-<h2><a name="gentoo">Gentoo Portage</a></h2>
-
-<p><a href="http://www.gentoo.org">Gentoo</a> users may install PostgreSQL using the portage system. For 
-details on the use of Gentoo's Portage, please see the documentation.</p>
-
-<h2><a name="suse">SUSE RPMs</a></h2>
-
-<p>RPMs for SUSE Linux and openSUSE are available from the <a href="https://build.opensuse.org/">openSUSE Build Service</a> 
-in the project <i>server:database:postgresql</i>.  Platform-specific RPM packages are available for PostgreSQL 
-as well as a variety of related software.  Use the <a href="http://software.opensuse.org/search">search facility</a> to find 
-suitable packages. Documentation is also available there.</p>
+<h2>Integrated installation</h2>
+<p>
+For information about how to perform this installation, please consult
+the documentation for your Linux distribution.
+</p>
 
-<p><i>The PostgreSQL packages for SUSE are maintained by Reinhard Max.</i></p>
+<h2>Graphical installer</h2>
+{%include "pages/download/linux/linux_oneclick.inc" %}
 
+<h2>Build from source</h2>
+{%include "pages/download/linux/linux_source.inc" %}
 {%endblock%}
diff --git a/templates/pages/download/linux/debian.html b/templates/pages/download/linux/debian.html
new file mode 100644 (file)
index 0000000..d3aae25
--- /dev/null
@@ -0,0 +1,61 @@
+{%extends "base/page.html"%}
+{%block title%}Linux downloads (Debian){%endblock%}
+{%block contents%}
+
+<h1>Linux downloads (Debian)</h1>
+<p>
+PostgreSQL is available in all Debian versions by default. However, the
+stable versions of Debians "snapshot" a specific version of PostgreSQL
+that is then supported throughout the lifetime of that Debian version.
+Other versions are available in the Debian <i>backports</i> repositories.
+</p>
+<p>
+Should packages not be available for your distribution, or there are
+issues with your package manager, there are graphical installers available.
+</p>
+<p>
+Finally, most Linux systems make it easy to build from source.
+</p>
+
+<h2>Included in distribution</h2>
+<p>
+Debian includes PostgreSQL by default. To install PostgreSQL on
+Debian, use the <i>apt-get</i> (or other apt-driving) command:
+</p>
+<code>
+apt-get install postgresql-9.1
+</code>
+</p>
+<p>
+The repository contains many different packages including third party
+addons. The most command and important packages are (substitute the
+version number as required):
+</p>
+<ul>
+ <li>postgresql-client-9.1 - client libraries and client binaries</li>
+ <li>postgresql-9.1 - core database server</li>
+ <li>postgresql-contrib-9.1 - additional supplied modules</li>
+ <li>libpq-dev - libraries and headers for C language frontend development</li>
+ <li>postgresql-server-dev-9.1 - libraries and headers for C language backend development</li>
+ <li>pgadmin3 - pgAdmin III graphical administration utility</li>
+</ul>
+
+<h2>Debian backports</h2>
+<p>
+Newer versions of PostgreSQL for older versions of Debians are available
+in <a href="http://backports.debian.org/">Debian backports</a>. For
+information on how to enable and use the backports repository, please
+see the
+<a href="http://backports-master.debian.org/Instructions/">backports instructions</a> page at Debian.
+</p>
+<p>
+Once backports is enabled, you can install PostgreSQL the same way as with
+the builtin repositories.
+</p>
+
+<h2>Graphical installer</h2>
+{%include "pages/download/linux/linux_oneclick.inc" %}
+
+<h2>Build from source</h2>
+{%include "pages/download/linux/linux_source.inc" %}
+{%endblock%}
diff --git a/templates/pages/download/linux/linux_oneclick.inc b/templates/pages/download/linux/linux_oneclick.inc
new file mode 100644 (file)
index 0000000..7f1bc7f
--- /dev/null
@@ -0,0 +1,18 @@
+<p>
+One click installers are available for 32 and 64 bit Linux distributions
+and include PostgreSQL, pgAdmin and the StackBuilder utility for installation
+of additional packages. The PostgreSQL 8.3 and 8.4 installers have been
+tested with a number of Linux distributions and should work on Ubuntu 6.06
+and above, Fedora 6 and above, CentOS/RedHat Enterprise Linux 4 and above
+and others. The 9.0 and later installers have only been tested on more
+recent distributions.
+</p>
+<p>
+<a href="http://www.enterprisedb.com/products/pgdownload.do">Download</a>
+the installer from EnterpriseDB for all supported versions.
+</p>
+
+<p>
+<i>Note:</i> The one click installers do not integrate with
+platform-specific packaging systems.
+</p>
diff --git a/templates/pages/download/linux/linux_source.inc b/templates/pages/download/linux/linux_source.inc
new file mode 100644 (file)
index 0000000..00abed3
--- /dev/null
@@ -0,0 +1,5 @@
+<p>
+The source code can be found in the main <a href="/ftp/source">file browser</a>.
+Instructions for building from source can be found in the
+<a href="/docs/current/static/installation.html">documentation</a>.
+</p>
diff --git a/templates/pages/download/linux/redhat.html b/templates/pages/download/linux/redhat.html
new file mode 100644 (file)
index 0000000..770ec3d
--- /dev/null
@@ -0,0 +1,136 @@
+{%extends "base/page.html"%}
+{%block title%}Linux downloads (RedHat/CentOS/Fedora/Scientific){%endblock%}
+{%block contents%}
+
+<h1>Linux downloads (RedHat/CentOS/Fedora/Scientific)</h1>
+<p>
+PostgreSQL is available on these platforms by default. However,
+each version of the platform normally "snapshots" a specific version of
+PostgreSQL that is then supported throughout the lifetime of this platform.
+Since this can often mean a different version than preferred, the PostgreSQL
+project provides a repository of packages of all supported versions.
+</p>
+<p>
+Should packages not be available for your distribution, or there are
+issues with your package manager, there are graphical installers available.
+</p>
+<p>
+Finally, most Linux systems make it easy to build from source.
+</p>
+
+<h2>Included in distribution</h2>
+<p>
+These distributions all include PostgreSQL by default. To install
+PostgreSQL from these repositories, use the <i>yum</i> command:
+</p>
+<p>
+<code>
+yum install postgresql
+</code>
+</p>
+<p>
+Which version of PostgreSQL you get will depend on the version of
+the distribution:
+<div class="tblBasic">
+ <table border="0" cellpadding="0" cellspacing="0" class="tblBasicGrey">
+  <tr>
+   <th class="colFirst">Distribution</th>
+   <th class="colLast">Version</th>
+  </tr>
+  <tr>
+   <td class="colFirst">RHEL/CentOS/SL 5</td>
+   <td class="colLast">8.1 (also supplies package postgresql84)</td>
+  </tr>
+  <tr>
+   <td class="colFirst">RHEL/CentOS/SL 6</td>
+   <td class="colLast">8.4</td>
+  </tr>
+  <tr class="lastrow">
+   <td class="colFirst">Fedora 16, 17</td>
+   <td class="colLast">9.1</td>
+  </tr>
+ </table>
+</div>
+</p>
+
+<p>
+The repository contains many different packages including third party
+addons. The most command and important packages are (substitute the
+version number as required):
+</p>
+<ul>
+ <li>postgresql - client libraries and client binaries</li>
+ <li>postgresql-server - core database server</li>
+ <li>postgresql-contrib - additional supplied modules</li>
+ <li>postgresql-devel - libraries and headers for C language development</li>
+ <li>pgadmin3 - pgAdmin III graphical administration utility</li>
+</ul>
+
+<h3>Post-installation</h3>
+<p>
+Due to policies for RedHat style distributions, the PostgreSQL installation
+will not be enabled for automatic start or have the database initialized
+automatically. To make your database installation complete, you need to
+perform these two steps:
+<code>
+service postgresql initdb<br/>
+chkconfig postgresql on
+</code>
+</p>
+
+<h2>PostgreSQL Yum Repository</h2>
+<p>
+If the version supplied by your operating system is not the one you want,
+you can use the PostgreSQL Yum Repository. This repository will integrate
+with your normal systems and patch management, and provide automatic
+updates for all supported versions of PostgreSQL throughout the support
+<a href="/support/versioning/">lifetime</a> of PostgreSQL.
+</p>
+<p>
+To use the yum repository, you must first install the <i>repository RPM</i>.
+To do this, download the correct RPM from the
+<a href="http://yum.postgresql.org/repopackages.php">repository RPM listing</a>,
+and install it with commands like:
+</p>
+<p>
+<code>
+rpm -i http://yum.postgresql.org/9.2/redhat/rhel-6-x86_64/pgdg-redhat92-9.2-6.noarch.rpm
+</code>
+</p>
+<p>
+Once this is done, you can proceed to install and update packages the
+same way as the ones included in the distribution.
+</p>
+<p>
+<code>
+yum install postgresql91-server postgresql91-contrib<br/>
+service postgresql-9.1 initdb<br/>
+chkconfig postgresql-9.1 on
+</code>
+</p>
+<p>
+Package names in the
+PostgreSQL yum repository follows the same standard as the ones included
+in the main repositories, but include the version number, such as:
+</p>
+<ul>
+ <li>postgresql91</li>
+ <li>postgresql91-server</li>
+ <li>postgresql91-contrib</li>
+ <li>pgadmin3_91</li>
+</ul>
+
+<h2>Direct RPM download</h2>
+<p>
+If you cannot, or do not want to, use the yum based installation method,
+all the RPMs that are in the yum repository are available for
+<a href="http://yum.postgresql.org/rpmchart.php">direct download</a>
+and manual installation as well.
+</p>
+
+<h2>Graphical installer</h2>
+{%include "pages/download/linux/linux_oneclick.inc" %}
+
+<h2>Build from source</h2>
+{%include "pages/download/linux/linux_source.inc" %}
+{%endblock%}
diff --git a/templates/pages/download/linux/suse.html b/templates/pages/download/linux/suse.html
new file mode 100644 (file)
index 0000000..13568d6
--- /dev/null
@@ -0,0 +1,35 @@
+{%extends "base/page.html"%}
+{%block title%}Linux downloads (SuSE){%endblock%}
+{%block contents%}
+
+<h1>Linux downloads (SuSE)</h1>
+<p>
+PostgreSQL is available in all SuSE versions by default. However, the
+SuSE "snapshots" a specific version of PostgreSQL
+that is then supported throughout the lifetime of that SuSE version.
+</p>
+<p>
+Should packages not be available for your distribution, or there are
+issues with your package manager, there are graphical installers available.
+</p>
+<p>
+Finally, most Linux systems make it easy to build from source.
+</p>
+
+<h2>Included in distribution</h2>
+<p>
+RPMs for SUSE Linux and openSUSE are available from the
+<a href="https://build.opensuse.org/">openSUSE Build Service</a>
+in the project <i>server:database:postgresql</i>.
+Platform-specific RPM packages are available for PostgreSQL
+as well as a variety of related software.
+Use the <a href="http://software.opensuse.org/search">search facility</a>
+to find suitable packages. Documentation is also available there.
+</p>
+
+<h2>Graphical installer</h2>
+{%include "pages/download/linux/linux_oneclick.inc" %}
+
+<h2>Build from source</h2>
+{%include "pages/download/linux/linux_source.inc" %}
+{%endblock%}
diff --git a/templates/pages/download/linux/ubuntu.html b/templates/pages/download/linux/ubuntu.html
new file mode 100644 (file)
index 0000000..d094b4a
--- /dev/null
@@ -0,0 +1,68 @@
+{%extends "base/page.html"%}
+{%block title%}Linux downloads (Ubuntu){%endblock%}
+{%block contents%}
+
+<h1>Linux downloads (Ubuntu)</h1>
+<p>
+PostgreSQL is available in all Ubuntu versions by default. However,
+Ubuntu "snapshots" a specific version of PostgreSQL that is then
+supported throughout the lifetime of that Ubuntu version. Other
+versions of PostgreSQL are available through a <i>PPA</i> (Personal
+Package Archive - the Ubuntu standard for addon repositories)
+repository.
+</p>
+<p>
+Should packages not be available for your distribution, or there are
+issues with your package manager, there are graphical installers available.
+</p>
+<p>
+Finally, most Linux systems make it easy to build from source.
+</p>
+
+<h2>Included in distribution</h2>
+<p>
+Ubuntu includes PostgreSQL by default. To install PostgreSQL on
+Ubuntu, use the <i>apt-get</i> (or other apt-driving) command:
+</p>
+<code>
+apt-get install postgresql-9.1
+</code>
+</p>
+<p>
+The repository contains many different packages including third party
+addons. The most command and important packages are (substitute the
+version number as required):
+</p>
+<ul>
+ <li>postgresql-client-9.1 - client libraries and client binaries</li>
+ <li>postgresql-9.1 - core database server</li>
+ <li>postgresql-contrib-9.1 - additional supplied modules</li>
+ <li>libpq-dev - libraries and headers for C language frontend development</li>
+ <li>postgresql-server-dev-9.1 - libraries and headers for C language backend development</li>
+ <li>pgadmin3 - pgAdmin III graphical administration utility</li>
+</ul>
+
+<h2>Ubuntu PPA</h2>
+<p>
+Other versions of PostgreSQL than the standard one for a specific
+Ubuntu version are available in the
+<a href="https://launchpad.net/~pitti/+archive/postgresql">PostgreSQL
+backports PPA</a> repository. To enable this repository, run the
+command:
+</p>
+<p>
+<code>
+sudo add-apt-repository ppa:pitti/postgresql
+</code>
+</p>
+<p>
+Once this is done, you can proceed to install and update packages the
+same way as the ones included in the distribution.
+</p>
+
+<h2>Graphical installer</h2>
+{%include "pages/download/linux/linux_oneclick.inc" %}
+
+<h2>Build from source</h2>
+{%include "pages/download/linux/linux_source.inc" %}
+{%endblock%}
index c392f98e36d218b11f613849012ca77e32d3eb85..e5d6bdeb27184dc792d509fb3a765924323312ee 100644 (file)
@@ -3,36 +3,74 @@
 {%block contents%}
 
 <h1>Mac OS X packages</h1>
+<p>
+PostgreSQL is the default database on Mac OS X Server as of version 10.7.
+The standard version of Mac OS X includes only the PostgreSQL commandline
+client utilities.
+</p>
+<p>
+Mac OS X Server 10.7 ships with PostgreSQL 9.0. Minor updates are provided
+by Apple, but not necessarily right after a new PostgreSQL minor release.
+</p>
+<p>
+There are several other installers available for PostgreSQL on Mac OS X,
+which is the recommended way to install.
+</p>
 
 <h2>One click installer</h2>
 
-<p>A one click installer for PostgreSQL 8.3 and 8.4 is available for for Mac OS X 10.4 and above on Intel and PPC 
-and includes PostgreSQL, pgAdmin and the StackBuilder utility for installing additional packages. Installers for 
-PostgreSQL 9.0 and 9.1 support Max OS X 10.5 and above on 32 and 64 bit Intel CPUs.</p>
+<p>
+A one click installer is available for for Mac OS X that includes PostgreSQL,
+pgAdmin, PL/Java and the PL/pgSQL debugger plugin. The installer for
+PostgreSQL 8.3 and 8.4 supports Mac OS X 10.4 and above on Intel and PPC. For
+PostgreSQL 9.0 and later, Mac OS X 10.5 and above are supported for 32 and
+64-bit Intel CPUs.
+</p>
 
-<ul>
-    <li>Download for <b><a href="http://www.enterprisedb.com/products/pgdownload.do#osx">Mac OS X 10.4+</a></b></li>
-</ul>
+<p>
+<a href="http://www.enterprisedb.com/products/pgdownload.do#osx">Download</a>
+the installer from EnterpriseDB for all supported versions.
+</p>
 
-<p><i>The one click installer is maintained by Dave Page at <a href="http://www.enterprisedb.com">EnterpriseDB</a>.</i></p>
+{%comment%}
+Not released yet (just beta), and nobody on packagers handling it
 
-<h2>Fink</h2>
+<h2>Postgres.app</h2>
+<p>
+<a href="http://postgresapp.com">Postgres.app</a> is a native Mac OS X app
+designed for developer who wants a
+"desktop style" installer. It is not intended for server deployments, but
+makes starting and stopping and general handling of a local PostgreSQL
+server for development easy.
+</p>
+{%endcomment%}
 
-<p>PostgreSQL packages are available for Mac OS X from the <a href="http://www.finkproject.org/">Fink
-Project</a>. Please see the Fink documentation for information on how to install packages.</p>
+<h2>Fink</h2>
 
-<p>A list of <a href="http://pdb.finkproject.org/pdb/browse.php?summary=postgresql">PostgreSQL
-packages</a> can be found using the package search tool on the Fink website.</p>
+<p>
+PostgreSQL packages are available for Mac OS X from the
+<a href="http://www.finkproject.org/">Fink Project</a>.
+Please see the Fink documentation for information on how to install packages.
+</p>
 
-<p><i>The PostgreSQL Fink packages are maintained by Benjamin Reed.</i></p>
+<p>
+A list of
+<a href="http://pdb.finkproject.org/pdb/browse.php?summary=postgresql">PostgreSQL packages</a>
+can be found using the package search tool on the Fink website.
+</p>
 
 <h2>MacPorts</h2>
 
-<p>PostgreSQL packages are also available for Mac OS X from the <a href="http://www.macports.org/">MacPorts
-Project</a>. Please see the MacPorts documentation for information on how to install ports.</p>
+<p>
+PostgreSQL packages are also available for Mac OS X from the
+<a href="http://www.macports.org/">MacPorts Project</a>. Please see the
+MacPorts documentation for information on how to install ports.
+</p>
 
-<p>A list of <a href="http://www.macports.org/ports.php?by=name&substr=postgresql">PostgreSQL 
-packages</a> can be found using the portfiles search tool on the MacPorts website.</p>
+<p>
+A list of
+<a href="http://www.macports.org/ports.php?by=name&substr=postgresql">PostgreSQL packages</a>
+can be found using the portfiles search tool on the MacPorts website.
+</p>
 
-<p><i>The PostgreSQL MacPorts are maintained by Jyrki Wahlstedt and Markus Weissmann.</i></p>
 {%endblock%}
index c7664677023c02384c95e60948924b31b2d08b03..72d604f6b5b67bf6d9a058293655384d3bc20544 100644 (file)
@@ -10,6 +10,4 @@
     Ports and Packages Collection</a>. Please see the ports documentation for information on how\r
 to install ports.</p>\r
 \r
-<p><i>The OpenBSD PostgreSQL Ports are maintained by Pierre-Emmanuel Andre.</i></p>\r
-\r
 {%endblock%}\r
index 0ac3cea403180335d44e6678cb9f289ef707904b..9d598daeda52b708ce6435cd372f264667f22b87 100644 (file)
@@ -4,51 +4,92 @@
 
 <h1>Beta/RC Releases and Development snapshots (unstable)</h1>
 
-<p>Beta and Release Candidate packages are built prior to the release of new major versions of PostgreSQL. They are not
-built continually.</p>
-
-<p>Development snapshots are built from the latest source code and alpha/beta/rc versions that the developers are working on. These are 'bleeding edge'
-versions of PostgreSQL and <font color="red"><b>should not be used in production systems</b></font> as they have had little or no testing or quality control.</p>
-
-<p>The latest development version of the documentation is also 
+<p>
+Beta and Release Candidate packages are built prior to the release of
+new major versions of PostgreSQL. They are not built continually.
+</p>
+
+<p>
+Development snapshots are built from the latest source code and
+alpha/beta/rc versions that the developers are working on.
+These are 'bleeding edge' versions of PostgreSQL and
+<font color="red"><b>should not be used in production systems</b></font>
+as they have had little or no testing or quality control.
+</p>
+
+<p>
+The latest development version of the documentation is also 
 <a href="/docs/devel/static/index.html">available online</a>.
+</p>
+
+<h2>RedHat, CentOS, Fedora and ScientificLinux</h2>
+<p>
+RPMs for RedHat, CentOS, Fedora and ScientificLinux are available from the
+<a href="http://yum.postgresql.org/">PostgreSQL Yum repository</a>.
+</p>
+<p>
+To setup the repository for these versions, follow the same instructions
+as for the <a href="/download/linux/redhat/">normal</a> yum repository on these
+platforms.
+</p>
+
+<p>
+Typically only Beta and Release Candidate packages are available in the
+Yum repository.
+</p>
+
+<h2>Ubuntu Linux</h2>
+<p>
+DEBs for Ubuntu are available from the
+<a href="https://launchpad.net/~pitti/+archive/postgresql">Ubuntu backports PPA</a>
+repository.
+</p>
+<p>
+To setup the repository for these versions, follow the same instructions
+as for the <a href="/download/linux/ubuntu/">normal</a> PPA repository.
+</p>
+<p>
+Typically only Beta and Release Candidate packages are available in
+the PPA repository.
+</p>
 
-<h2>One click installer</h2>
 
-<p>One click installers are available for 32 and 64 bit Linux distributions, Mac OS X and Windows and 
-include PostgreSQL, pgAdmin and the PL/pgSQL debugger plugin.</p>
+<h2>One click installer</h2>
+<p>
+One click installers are available for 32 and 64 bit Linux distributions,
+Mac OS X and Windows and include PostgreSQL, pgAdmin and the PL/pgSQL
+debugger plugin.
+</p>
 
-<p>Typically only Beta and Release Candidate packages are available in the installer distribution.</p>
+<p>
+Typically only Beta and Release Candidate packages are available in
+the installer distribution.
+</p>
 
 <p><b>Note: The one click installers do not integrate with platform-specific packaging systems on Linux. If you need
-RPM packages for CentOS, Fedora or RHEL please use the packages below.</b></p>
-
-<ul>
-    <li>Download for <b><a href="http://www.enterprisedb.com/products/pgdevdownload.do#linux">32bit Linux</a></b><br />&nbsp;</li>
-    <li>Download for <b><a href="http://www.enterprisedb.com/products/pgdevdownload.do#linux-x64">64bit Linux</a></b><br />&nbsp;</li>
-    <li>Download for <b><a href="http://www.enterprisedb.com/products/pgdevdownload.do#osx">Mac OS X 10.4+</a></b><br />&nbsp;</li>
-    <li>Download for <b><a href="http://www.enterprisedb.com/products/pgdevdownload.do#windows">Windows</a></b></li>
-</ul>
-
-<p><i>The one click installers are maintained by Dave Page at <a href="http://www.enterprisedb.com">EnterpriseDB</a>.</i></p>
+RPM packages for CentOS, Fedora or RHEL please use the packages above.</b></p>
 
-<h2>CentOS, Fedora and RHEL Yum Repository</h2>
-
-<p>RPMs for CentOS, Fedora and Red Hat Enterprise Linux are available from the 
-<a href="http://yum.postgresql.org/">PostgreSQL Yum repository</a>. 
-
-<p>To setup your system to use the repository, please see the <b><a href="http://yum.postgresql.org/howtoyum.php">Yum HOWTO</a></b>.
-
-<p>Typically only Beta and Release Candidate packages are available in the Yum repository.</p>
+<p>
+<a href="http://www.enterprisedb.com/products/pgdevdownload.do">Download</a>
+the one click installer for all platforms.
+</p>
 
 <h2>Source code</h2>
 
-<p>Beta and Release Candidate tarballs are <a href="/ftp/source/">made available alongside</a> the release tarballs 
-during the final phases of the development cycle of new major versions of PostgreSQL.</p>
-
-<p>Source code tarballs are built automatically every night on the official PostgreSQL development server. The 
-<a href="/ftp/snapshot/dev/">development snapshot</a> is taken from the HEAD of the GIT repository, and 
-includes the new features being worked on for the next release.</p>
-
+<p>
+Beta and Release Candidate tarballs are <a href="/ftp/source/">made available
+alongside</a> the release tarballs during the final phases of the development
+cycle of new major versions of PostgreSQL.
+</p>
+
+<p>
+Source code tarballs are built automatically every night on the official
+PostgreSQL development server. The 
+<a href="/ftp/snapshot/dev/">development snapshot</a> is taken from the
+head of the git repository, and includes the new features being worked
+on for the next release. There are also "branch tip" snapshots built from
+all supported <a href="/ftp/snapshot/">stable branches</a>, which contains
+all bugfixes that are scheduled for the next release.
+</p>
 
 {%endblock%}
index fe8a2c4230b6f624709a107c331fcb4c75ce378e..1193ae648d7b2b36c5c59e475f8672ce8ea0eba0 100644 (file)
@@ -4,17 +4,16 @@
 
 <h1>Solaris packages</h1>
 
-<p><b><a href="/ftp/binary">Download</a></b> Solaris packages from the solaris
-subdirectory of the version you require from our file browser.</p>
+<p>
+Binary packages for Solaris can be downloaded from the solaris subdirectory
+of the version you require from our <a href="/ftp/binary/">file browser</a>.
+</p>
 
-<p>Packages for OpenSolaris and Solaris 10 and 11 are available for Sparc and i386 platforms.</p>
+<p>Packages for Solaris 10 and 11 are available for Sparc and i386 platforms.</p>
 
 <p>Although produced by Oracle (previously Sun), these packages are not officially supported by them.</p>
 
 <p>Solaris packages are installed by unpacking the compressed tar files
 directly into the install directory; see the README files for details.</p>
 
-<p><i>The Solaris PostgreSQL packages are maintained by Bjorn Munch at
-       <a href="http://www.oracle.com/">Oracle</a>, formerly at Sun Microsystems.</i></p>
-
 {%endblock%}
index 556c4cc7eecc7814f22b57691ed1e1b996e8e43c..6dfc5afd98bc554c802e300733cb5d69895a26ea 100644 (file)
@@ -1,31 +1,46 @@
 {%extends "base/page.html"%}
-{%block title%}Windows packages{%endblock%}
+{%block title%}Windows installers{%endblock%}
 {%block contents%}
 
-<h1>Windows packages</h1>
+<h1>Windows installers</h1>
 
-<p>The Windows installer for PostgreSQL includes the PostgreSQL server, <a href="http://www.pgadmin.org">pgAdmin III</a>; a graphical tool for managing and developing your databases, and StackBuilder; a package manager that can be used to download and install additional PostgreSQL applications and drivers.</p>
+<p>
+The Windows installers for PostgreSQL includes the PostgreSQL server,
+<a href="http://www.pgadmin.org">pgAdmin III</a>; a graphical tool
+for managing and developing your databases, and StackBuilder; a
+package manager that can be used to download and install additional
+PostgreSQL applications and drivers.
+</p>
 
 <h2>One click installer</h2>
 
-<p>The one click installer is designed to be as straightforward as possible and the fastest way to get up and running with PostgreSQL on Windows.</p>
+<p>
+The one click installer is designed to be as straightforward as possible
+and the fastest way to get up and running with PostgreSQL on Windows.
+</p>
 
-<ul>
-    <li><b><a href="http://www.enterprisedb.com/products/pgdownload.do#windows">Download</a></b> the one click installer</li>
-</ul>
+<p>
+<a href="http://www.enterprisedb.com/products/pgdownload.do#windows">Download</a>
+the installer from EnterpriseDB for all supported versions.
+</p>
 
-<p><i>Advanced users</i> can also download a <a href="http://www.enterprisedb.com/products/pgbindownload.do">zip archive</a> of the binaries, without the installer.</p>
-
-<p><i>The one click installer is maintained by Dave Page at <a href="http://www.enterprisedb.com">EnterpriseDB</a>.</i></p>
+<p>
+<i>Advanced users</i> can also download a
+<a href="http://www.enterprisedb.com/products/pgbindownload.do">zip archive</a>
+of the binaries, without the installer. This is not recommended for normal
+installations, it is intended for users who wish to include PostgreSQL as
+part of another application installer.
+</p>
 
 <h2>pgInstaller</h2>
 
-<p>pgInstaller is a Windows Installer package that offers advanced configuration options. pgInstaller packages are only being maintained for PostgreSQL 8.3.</p>
-
-<ul>
-    <li><b><a href="/ftp/binary">Download</a></b> pgInstaller from the win32 subdirectory of the version you require from our file browser.</li>
-</ul>
-
-<p><i>pgInstaller is maintained by Dave Page and Magnus Hagander.</i></p>
+<p>
+pgInstaller is a Windows Installer package that offers advanced
+configuration options. pgInstaller packages are only being maintained
+for PostgreSQL 8.3.
+</p>
+<p>
+<a href="/ftp/binary">Download</a> pgInstaller from the win32 subdirectory of the version you require from our file browser.
+</p>
 
 {%endblock%}