Skip to content

Instantly share code, notes, and snippets.

@sergeycherepanov
Last active November 25, 2016 14:43
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save sergeycherepanov/0ee6ee30be5e843b30d258cf10db8cf8 to your computer and use it in GitHub Desktop.
Save sergeycherepanov/0ee6ee30be5e843b30d258cf10db8cf8 to your computer and use it in GitHub Desktop.
Percona Server 5.7 on ARM under Ubuntu 14.04 from source code

Percona Server 5.7 on ARM under Ubuntu 14.04 from source

Install dependencies

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

Install 1.59 libboost froum source

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 

Checkout Percona-Server Source code

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  # 

Build deb package

cmake . -DCMAKE_BUILD_TYPE=RelWithDebInfo -DBUILD_CONFIG=mysql_release -DFEATURE_SET=community -DWITH_EMBEDDED_SERVER=OFF -DIGNORE_AIO_CHECK=ON
make

Install

make install
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment