imporoved ubuntu docs

This commit is contained in:
Collin Anderson 2014-09-15 17:34:47 -04:00
parent 7f06d39b7f
commit 18bee9d67e

View File

@ -125,21 +125,27 @@ Ubuntu
If you use Ubuntu_, you can update your system with packages from If you use Ubuntu_, you can update your system with packages from
our PPA_ by adding ``ppa:gunicorn/ppa`` to your system's Software our PPA_ by adding ``ppa:gunicorn/ppa`` to your system's Software
Sources. Use the ``apt-add-repository`` command from the Sources::
``python-software-properties`` package to add the Gunicorn software source.
::
$ sudo apt-get install python-software-properties
$ sudo apt-add-repository ppa:gunicorn/ppa $ sudo apt-add-repository ppa:gunicorn/ppa
$ sudo apt-get update
$ sudo apt-get install gunicorn
Or this PPA can be added to your system manually by copying the lines below Or this PPA can be added to your system manually by copying the lines below
and adding them to your system's software sources:: and adding them to your system's software sources in ``/etc/apt/sources.list``::
deb http://ppa.launchpad.net/gunicorn/ppa/ubuntu lucid main deb http://ppa.launchpad.net/gunicorn/ppa/ubuntu lucid main
deb-src http://ppa.launchpad.net/gunicorn/ppa/ubuntu lucid main deb-src http://ppa.launchpad.net/gunicorn/ppa/ubuntu lucid main
Replace *lucid* with your Ubuntu distribution series. Replace *lucid* with your Ubuntu distribution series.
Then run::
$ sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 5370FF2A
$ sudo apt-get update
$ sudo apt-get install gunicorn
:Signing key: ``1024R/5370FF2A`` :Signing key: ``1024R/5370FF2A``
:Fingerprint: ``FC7B41B54C9B8476D9EC22A2C6773E575370FF2A`` :Fingerprint: ``FC7B41B54C9B8476D9EC22A2C6773E575370FF2A``