Last active
November 9, 2018 17:44
-
-
Save masawada/5e849c311e2c72c324052281c7814ce2 to your computer and use it in GitHub Desktop.
Build Query Playback on Docker(CentOS 7) https://github.com/Percona-Lab/query-playback
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
yum -y localinstall http://dev.mysql.com/get/mysql80-community-release-el7-1.noarch.rpm | |
# enable the mysql version which you want to test | |
yum-config-manager --disable mysql80-community | |
yum-config-manager --enable mysql56-community | |
yum -y groupinstall "Development Tools" | |
yum -y install tbb tbb-devel cmake boost boost-devel gcc-c++ openssl-devel wget mysql-devel | |
wget https://github.com/Percona-Lab/query-playback/archive/master.zip | |
unzip master.zip | |
cd query-playback-master/ | |
mkdir build_dir | |
cd build_dir | |
cmake -DCMAKE_BUILD_TYPE=RelWithDebInfo .. | |
make | |
cpack -G DEB .. | |
cp percona-playback-0.7.0-Linux.deb /share/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
version: '3' | |
services: | |
host: | |
image: centos:centos7 | |
volumes: | |
- .:/share |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment