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
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
cd scribe
./bootstrap.sh
./scribe/configure
sudo make && sudo make install
Hope it helps !
Comments
[...] In a previous post, I was talking about howto install Scribe on a debian system. Now, let’s talk about howto launch the server properly, and how to use it’s functionalities with PHP: [...]
[...] Alexis Métaireau wrote an interesting post today onHowto install « Scribe » (The <b>Facebook log</b> system) on Debian : Not <b>…</b>Here’s a quick excerpt [...]
to compile thrift, I needed to issue « ./configure » before make.
yes ! Thank you, I updated the article.