Howto install « Scribe » (The Facebook log system) on Debian

par Alexis Métaireau

Here is a simple HOWTO for installing Scribe Server

The quick way

You can install Scribe with all its dependencies by simply copy/paste this line on your terminal.

sudo apt-get install libboost-dev=1.38.1 flex bison libtool automake autoconf pkg-config && wget -O thrift.tgz "http://gitweb.thrift-rpc.org/?p=thrift.git;a=snapshot;h=HEAD;sf=tgz" && tar -xzf thrift.tgz && cd thrift &&./bootstrap.sh && ./configure && make && sudo make install && cd contrib/fb303/ && ./bootstrap.sh && sudo make && sudo make install && cd ../../../ && wget -O scribe.tgz "http://downloads.sourceforge.net/project/scribeserver/Scribe/Scribe%20version%202.01/scribe-version-2.01.tar.gz?use_mirror=freefr" && tar -xvzf scribe.tar.gz && cd scribe && ./bootstrap.sh && ./scribe/configure && sudo make && sudo make install && cd ..

The Detailled way

Resolve dependencies (including Thrift + fb303)

apt-get install libboost-dev=1.38.1 flex bison libtool automake autoconf pkg-config
wget -O thrift.tgz "http://gitweb.thrift-rpc.org/?p=thrift.git;a=snapshot;h=HEAD;sf=tgz"
tar -xzf thrift.tgz
cd thrift && ./bootstrap.sh && ./configure && make && sudo make install
cd contrib/fb303/
./bootstrap.sh && sudo make && sudo make install

Get Scribe code & compile it

wget -O scribe.tgz "http://downloads.sourceforge.net/project/scribeserver/Scribe/Scribe%20version%202.01/scribe-version-2.01.tar.gz?use_mirror=freefr"

Extract / Install

tar -xvzf scribe.tar.gz
cd scribe
./bootstrap.sh
./scribe/configure
sudo make && sudo make install

Hope it helps !