Skip to content
This repository was archived by the owner on Mar 1, 2026. It is now read-only.

Build Steps

Yoshinori Matsunobu edited this page Nov 13, 2015 · 40 revisions

Installing on Ubuntu 14.04.2 LTS

On a fresh AWS Ubuntu 14.04.2 LTS instance:

sudo apt-get update
sudo apt-get install g++ cmake libbz2-dev libaio-dev bison zlib1g-dev libbz2-dev libsnappy-dev 
sudo apt-get install libgflags-dev libreadline6-dev libncurses5-dev libssl-dev liblz4-dev gdb git
sudo ln -s  /usr/lib/x86_64-linux-gnu/libz.so /usr/lib/libz.so
git clone https://github.com/facebook/mysql-5.6.git
cd mysql-5.6
git submodule init
git submodule update
cmake . -DCMAKE_BUILD_TYPE=Debug -DWITH_SSL:STRING=system -DWITH_ZLIB:STRING=system -DMYSQL_MAINTAINER_MODE=1
make -j8

If you need a release build, omit the -DCMAKE_BUILD_TYPE=Debug from the above line.

Installing linkbench

sudo apt-get install openjdk-7-jdk maven
git clone https://github.com/facebook/linkbench.git
cd linkbench;
mvn clean package -P fast-test

Clone this wiki locally