Merge pull request #889 from collinanderson/ubuntudocs

imporoved ubuntu docs
This commit is contained in:
Berker Peksag 2014-09-16 01:06:22 +03:00
commit 4343ea5a74

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``