sudo apt-get -y install git wget cmake make dh-make gcc g++ \
libaio-dev libncurses5-dev libreadline-dev bison libboost-all-dev \
build-essential devscripts checkinstall
wget -O boost_1_59_0.tar.gz http://sourceforge.net/projects/boost/files/boost/1.59.0/boost_1_59_0.tar.gz/download
tar xzvf boost_1_59_0.tar.gz
cd boost_1_59_0/
./bootstrap.sh --prefix=/usr/local
./b2
sudo ./b2 install
You need to change the "Percona-Server-5.7.15-9" tag to actual, see: https://github.com/percona/percona-server/releases
git clone --recursive https://github.com/percona/percona-server.git
cd percona-server
git checkout Percona-Server-5.7.15-9 #
cmake . -DCMAKE_BUILD_TYPE=RelWithDebInfo -DBUILD_CONFIG=mysql_release -DFEATURE_SET=community -DWITH_EMBEDDED_SERVER=OFF -DIGNORE_AIO_CHECK=ON
make
make install