Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to install Percona XtraBackup with source code

2025-03-31 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Database >

Share

Shulou(Shulou.com)05/31 Report--

Editor to share with you how to install Percona XtraBackup source code, I believe most people do not know much about it, so share this article for your reference, I hope you can learn a lot after reading this article, let's go to know it!

Percona XtraBackup download:

$wget https://www.percona.com/downloads/XtraBackup/Percona-XtraBackup-2.3.2/source/tarball/percona-xtrabackup-2.3.2.tar.gz

The latest version, 2.3.2, is used here.

Other versions are available here.

Https://www.percona.com/downloads/XtraBackup/LATEST/

RHEL and CentOS distributions:

First check to see if it is installed

Yum install cmake gcc gcc-c++ libaio libaio-devel automake autoconf\

Bison libtool ncurses-devel libgcrypt-devel libev-devel libcurl-devel

If prompted by No package libev-devel available. You may need to manually install it yourself (root user):

Wget http://dist.schmorp.de/libev/libev-4.15.tar.gz

Tar zxvf libev-4.15.tar.gz

Cd libev-4.15

. / configure

Make & & make install

Ubuntu distribution:

You can also run:

Apt-get install build-essential flex bison automake autoconf\

Libtool cmake libaio-dev mysql-client libncurses-dev zlib1g-dev\

Libgcrypt11-dev libev-dev libcurl4-gnutls-dev

Then compile with CMake:

Cmake-DBUILD_CONFIG=xtrabackup_release-DWITH_MAN_PAGES=OFF & & make-J4

Installation:

Make install

It will be installed into / usr/local/xtrabackup by default.

The common tools are / usr/local/xtrabackup/bin/innobackupex / usr/local/xtrabackup/bin/xtrabackup

The above is all the contents of the article "how to install Percona XtraBackup source code". Thank you for reading! I believe we all have a certain understanding, hope to share the content to help you, if you want to learn more knowledge, welcome to follow the industry information channel!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Database

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report