install-nopaxos.sh 539 Bytes
Newer Older
1
2
#!/bin/bash -eux

3
4
5
6
7
8
9
10
11
12
13
14
15
16
apt-get update
apt-get -y install \
    autoconf \
    automake \
    build-essential \
    g++ \
    git \
    libevent-dev \
    libssl-dev \
    libtool \
    libunwind-dev \
    make \
    pkg-config

17
18
19
20
git clone https://github.com/google/protobuf.git /tmp/protobuf
cd /tmp/protobuf
./autogen.sh
./configure
21
make -j`nproc`
22
23
24
25
make install
ldconfig

mkdir -p /root
Jialin Li's avatar
Jialin Li committed
26
git clone https://github.com/nicklijl/simbricks-nopaxos.git /root/nopaxos
27
cd /root/nopaxos
28
make -j`nproc`
29
30

 mv /tmp/input/nopaxos.config /root/nopaxos.config