Navigation Menu

Skip to content

Commit

Permalink
doc install ubuntu: use PPA
Browse files Browse the repository at this point in the history
  • Loading branch information
kou committed Apr 28, 2014
1 parent a6358ca commit 4f9523d
Showing 1 changed file with 16 additions and 91 deletions.
107 changes: 16 additions & 91 deletions doc/source/install/ubuntu.txt
Expand Up @@ -16,108 +16,33 @@ size data.

.. include:: server-use.inc

12.04 LTS Precise Pangolin
--------------------------
PPA (Personal Package Archive)
------------------------------

.. note::

Enable the universe repository to install groonga::

% sudo cp /etc/apt/sources.list /etc/apt/sources.list.d/universe.list
% sudo sed -i'' -e 's/main/universe/' /etc/apt/sources.list.d/universe.list

Add the Groonga apt repository.

/etc/apt/sources.list.d/groonga.list::

deb http://packages.groonga.org/ubuntu/ precise universe
deb-src http://packages.groonga.org/ubuntu/ precise universe

Install::

% sudo apt-get update
% sudo apt-get -y --allow-unauthenticated install groonga-keyring
% sudo apt-get update
% sudo apt-get -y install groonga

If you want to use `MeCab <http://mecab.sourceforge.net/>`_ as a
tokenizer, install groonga-tokenizer-mecab package.

Install groonga-tokenizer-mecab package::

% sudo apt-get -y install groonga-tokenizer-mecab

There is a package that provides `Munin
<http://munin-monitoring.org/>`_ plugins. If you want to monitor
groonga status by Munin, install groonga-munin-plugins package.

Install groonga-munin-plugins package::
The Groonga APT repository for Ubuntu uses PPA (Person Package
Archive) on Launchpad. You can install Groonga by APT from the PPA.

% sudo apt-get -y install groonga-munin-plugins

There is a package that provides MySQL compatible normalizer as
Groonga plugins.
If you want to use that one, install groonga-normalizer-mysql package.

Install groonga-normalizer-mysql package::

% sudo apt-get -y install groonga-normalizer-mysql
Here are supported Ubuntu versions:

13.10 Saucy Salamander
----------------------
* 12.04 LTS Precise Pangolin
* 13.10 Saucy Salamander
* 14.04 LTS Trusty Tahr

Add the Groonga apt repository.
.. note::

/etc/apt/sources.list.d/groonga.list::
Enable the universe repository to install Groonga::

deb http://packages.groonga.org/ubuntu/ saucy universe
deb-src http://packages.groonga.org/ubuntu/ saucy universe
% sudo cp /etc/apt/sources.list /etc/apt/sources.list.d/universe.list
% sudo sed -i'' -e 's/main/universe/' /etc/apt/sources.list.d/universe.list

Install::
Add the ``ppa:groonga/ppa`` PPA to your system::

% sudo apt-get -y install software-properties-common
% sudo add-apt-repository -y ppa:groonga/ppa
% sudo apt-get update
% sudo apt-get -y --allow-unauthenticated install groonga-keyring
% sudo apt-get update
% sudo apt-get -y install groonga

If you want to use `MeCab <http://mecab.sourceforge.net/>`_ as a
tokenizer, install groonga-tokenizer-mecab package.

Install groonga-tokenizer-mecab package::

% sudo apt-get -y install groonga-tokenizer-mecab

There is a package that provides `Munin
<http://munin-monitoring.org/>`_ plugins. If you want to monitor
Groonga status by Munin, install groonga-munin-plugins package.

Install groonga-munin-plugins package::

% sudo apt-get -y install groonga-munin-plugins

There is a package that provides MySQL compatible normalizer as
Groonga plugins.
If you want to use that one, install groonga-normalizer-mysql package.

Install groonga-normalizer-mysql package::

% sudo apt-get -y install groonga-normalizer-mysql

14.04 LTS Trusty Tahr
----------------------

Add the Groonga apt repository.

/etc/apt/sources.list.d/groonga.list::

deb http://packages.groonga.org/ubuntu/ trusty universe
deb-src http://packages.groonga.org/ubuntu/ trusty universe

Install::

% sudo apt-get update
% sudo apt-get -y --allow-unauthenticated install groonga-keyring
% sudo apt-get update
% sudo apt-get -y install groonga

If you want to use `MeCab <http://mecab.sourceforge.net/>`_ as a
Expand All @@ -129,7 +54,7 @@ Install groonga-tokenizer-mecab package::

There is a package that provides `Munin
<http://munin-monitoring.org/>`_ plugins. If you want to monitor
Groonga status by Munin, install groonga-munin-plugins package.
groonga status by Munin, install groonga-munin-plugins package.

Install groonga-munin-plugins package::

Expand Down

0 comments on commit 4f9523d

Please sign in to comment.