~akopytov/percona-xtrabackup/xtrabackup-1.6-copy-diagnostics

« back to all changes in this revision

Viewing changes to doc/source/installation/yum_repo.rst

  • Committer: Hrvoje Matijakovic
  • Date: 2012-02-16 17:05:16 UTC
  • Revision ID: hrvoje.matijakovic@percona.com-20120216170516-s3b0nk7x6av63b7t
imported the sphinx docs from the current trunk

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
===================================
 
2
 Percona :program:`yum` Repository
 
3
===================================
 
4
 
 
5
The |Percona| :program:`yum` repository supports popular *RPM*-based operating systems, including the *Amazon Linux AMI*.
 
6
 
 
7
The easiest way to install the *Percona Yum* repository is to install an *RPM* that configures :program:`yum` and installs the `Percona GPG key <http://www.percona.com/downloads/RPM-GPG-KEY-percona>`_. You can also do the installation manually.
 
8
 
 
9
Automatic Installation
 
10
======================
 
11
 
 
12
Execute the following command as a ``root`` user, replacing ``x86_64`` with ``i386`` if you are not running a 64-bit operating system: ::
 
13
 
 
14
  $ rpm -Uhv http://www.percona.com/downloads/percona-release/percona-release-0.0-1.x86_64.rpm
 
15
 
 
16
You should see some output such as the following: ::
 
17
 
 
18
  Retrieving http://www.percona.com/downloads/percona-release/percona-release-0.0-1.x86_64.rpm
 
19
  Preparing...                ########################################### [100%]
 
20
     1:percona-release        ########################################### [100%]
 
21
 
 
22
The RPMs for the automatic installation are available at http://www.percona.com/downloads/percona-release/ and include source code.
 
23
 
 
24
Manual Installation
 
25
===================
 
26
 
 
27
To install the repository manually, place the following into a new file named :file:`/etc/yum.repos.d/Percona.repo`: ::
 
28
 
 
29
  [percona]
 
30
  name = CentOS $releasever - Percona
 
31
  baseurl=http://repo.percona.com/centos/$releasever/os/$basearch/
 
32
  enabled = 1
 
33
  gpgkey = file:///etc/pki/rpm-gpg/RPM-GPG-KEY-percona
 
34
  gpgcheck = 1
 
35
 
 
36
Also, copy the `Percona GPG key <http://www.percona.com/downloads/RPM-GPG-KEY-percona>`_  into a file named :file:`/etc/pki/rpm-gpg/RPM-GPG-KEY-percona`.
 
37
 
 
38
Testing The Repository
 
39
======================
 
40
 
 
41
Make sure packages are downloaded from the repository, by executing the following command as root: ::
 
42
 
 
43
  yum list | grep percona
 
44
 
 
45
You should see output similar to the following: ::
 
46
 
 
47
  percona-release.x86_64                     0.0-1                       installed
 
48
  ...
 
49
  Percona-Server-client-51.x86_64            5.1.47-rel11.1.51.rhel5     percona  
 
50
  Percona-Server-devel-51.x86_64             5.1.47-rel11.1.51.rhel5     percona  
 
51
  Percona-Server-server-51.x86_64            5.1.47-rel11.1.51.rhel5     percona  
 
52
  Percona-Server-shared-51.x86_64            5.1.47-rel11.1.51.rhel5     percona  
 
53
  Percona-Server-test-51.x86_64              5.1.47-rel11.1.51.rhel5     percona  
 
54
  ...
 
55
  xtrabackup.x86_64                          1.2-22.rhel5                percona  
 
56
 
 
57
Supported Platforms
 
58
===================
 
59
  
 
60
  *  ``x86_64``
 
61
  *  ``i386``
 
62
 
 
63
Supported Releases
 
64
==================
 
65
 
 
66
The *CentOS* repositories should work well with *Red Hat Enterprise Linux* too, provided that :program:`yum` is installed on the server.
 
67
 
 
68
* *CentOS* 5 and *RHEL* 5
 
69
* *CentOS* 6 and *RHEL* 6
 
70
* *Amazon Linux AMI* (works the same as *CentOS* 5)
 
71
 
 
72
Release Candidate Repository
 
73
============================
 
74
 
 
75
To subscribe to the release candidate repository, install the release candidate (RC) *RPM*: ::
 
76
 
 
77
  rpm -Uhv http://www.percona.com/downloads/percona-release/percona-rc-0.0-2.x86_64.rpm