From 5dc53947edd2a41ee974e10d1b4dcf150c693dfe Mon Sep 17 00:00:00 2001 From: benoitc Date: Mon, 19 Sep 2011 23:39:57 +0200 Subject: [PATCH] sync doc --- doc/htdocs/install.html | 68 ++++++++++++++++++++---- doc/htdocs/news.html | 111 ++++++++++++++++++++++------------------ 2 files changed, 119 insertions(+), 60 deletions(-) diff --git a/doc/htdocs/install.html b/doc/htdocs/install.html index bc7c455c..046e2c70 100644 --- a/doc/htdocs/install.html +++ b/doc/htdocs/install.html @@ -111,8 +111,53 @@ package manager. If Geven installed, this is the most likely reason.

-
-

Ubuntu/Debian

+
+

Debian GNU/Linux

+

If you are using Debian GNU/Linux is is recommended that you use system +packages to install Gunicorn. This has a number of advantages:

+
+
    +
  • Zero-effort installation: Automatically starts multiple Gunicorn instances +based on configurations defined in /etc/gunicorn.d.
  • +
  • Sensible default locations for logs (/var/log/gunicorn). Logs +can be automatically rotated and compressed using logrotate.
  • +
  • Improved security: Can easily run each Gunicorn instance with a dedicated +UNIX user/group.
  • +
  • Sensible upgrade path: Upgrades to newer versions result in less downtime, +handle conflicting changes in configuration options, and can be quickly +rolled back in case of incompatibility. The package can also be purged +entirely from the system in seconds.
  • +
+
+
+

Stable ("squeeze")

+

The version of Gunicorn in the Debian "stable" distribution is 0.10.0 (July +2010). It is not recommended that you use this version.

+

However, you can use the most recent version by using Debian Backports. +First, copy the following line to your /etc/apt/sources.list:

+
+deb http://backports.debian.org/debian-backports squeeze-backports main
+
+

Then, update your local package lists:

+
+$ sudo apt-get update
+
+

You can then install the latest version using:

+
+$ sudo apt-get -t squeeze-backports install gunicorn
+
+
+
+

Testing ("wheezy") / Unstable ("sid")

+

"wheezy" and "sid" contain the latest released version of Gunicorn. You can +install it in the usual way:

+
+$ sudo apt-get install gunicorn
+
+
+
+
+

Ubuntu

If you use Ubuntu karmic, you can update your system with packages from our PPA by adding ppa:bchesneau/gunicorn to your system's Software Sources.

@@ -141,13 +186,18 @@ deb-src http://ppa.launchpad.net/bchesneau/gunicorn/ubuntu karmic main

Contents