File: installation.rst

package info (click to toggle)
percona-toolkit 3.7.1-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 106,712 kB
  • sloc: perl: 257,236; sql: 23,577; sh: 21,388; javascript: 6,322; makefile: 397; python: 62; awk: 38; sed: 1
file content (62 lines) | stat: -rw-r--r-- 2,124 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
.. _install:

==========================
Installing Percona Toolkit
==========================

It is recommended to install Percona software from official repositories:

1. Configure Percona repositories as described in
   `Percona Software Repositories Documentation
   <https://docs.percona.com/percona-software-repositories/index.html>`_.

#. Enable Percona Toolkit repository::

     sudo percona-release enable pt release

#. Install Percona Toolkit using the corresponding package manager:

   * For Debian or Ubuntu::

      sudo apt-get install percona-toolkit

   * For RHEL or CentOS::

      sudo yum install percona-toolkit

.. rubric:: Generating an instance UUID for statistics

During the installation process, the percona-toolkit installer records a unique
identifier specific to the given percona-toolkit instance. This ID is a the
product UUID stored in |product-uuid|. The installer copies the product_uuid to
|toolkit-uuid|.

This unique identifier is used when collecting statistics about the usage of
percona-toolkit. Note that no other information is gathered for this purpose.

In cases when the installer is not able to read the contents of
|product-uuid|, a random UUID is generated. A random UUID is
also generated if percona-toolkit is run from the binary in the *tar.gz* file.

Alternative Install Methods
===========================

You can also download the packages from the
`Percona web site <https://www.percona.com/downloads/percona-toolkit/>`_
and install it using tools like ``dpkg`` and ``rpm``,
depending on your system.
For example, to download the package for Debian 11 ("bullseye"),
run the following::

 wget https://downloads.percona.com/downloads/percona-toolkit/3.5.1/binary/debian/bullseye/x86_64/percona-toolkit_3.5.1-2.bullseye_amd64.deb

If you want to download a specific tool, use the following address:
http://www.percona.com/get

For example, to download the ``pt-summary`` tool, run::

 wget percona.com/get/pt-summary


.. |toolkit-uuid| replace:: :file:`/etc/percona-toolkit/.percona.toolkit.uuid`
.. |product-uuid| replace:: :file:`/sys/class/dmi/id/product_uuid`