tfs安装

yum install automake.noarch
yum install libtool.x86_64
yum install readline-devel.x86_64
yum install zlib-devel.x86_64
yum install e2fsprogs-devel.x86_64
yum -y install libuuid-devel zlib-devel mysql-devel

cd /usr/local/src/
svn checkout -r 18 http://code.taobao.org/svn/tb-common-utils/trunk/ tb-common-utils
export TBLIB_ROOT=/usr/local/lib/
cd  tb-common-utils
sh build.sh

wget http://download.savannah.gnu.org/releases/libunwind/libunwind-0.99.tar.gz
tar -zxvpf libunwind-0.99.tar.gz
cd libunwind-0.99
./configure && make && make install

wget https://gperftools.googlecode.com/files/google-perftools-1.7.tar.gz
tar -zxvpf google-perftools-1.7.tar.gz
cd google-perftools-1.7
./configure && make && make install

cd /usr/local/src/
svn co http://code.taobao.org/svn/tfs/tags/release-2.2.16
cd release-2.2.16/
./build.sh init
./configure --prefix=/usr/local/tfs --with-release=yes --without-tcmalloc
make
make install

猜你喜欢

转载自lwt-cedric.iteye.com/blog/2147248
TFS