首页 > Web开发 > 详细

分布式文件TFS(taobao File System)安装(亲测)

时间:2014-11-01 02:11:21      阅读:603      评论:0      收藏:0      [点我收藏+]

?

1准备编译环境?

?yum -y install gcc gcc+ gcc-c++ openssl openssl-devel pcre pcre-devel subversion automake.noarch libtool.x86_64 readline-devel.x86_64 e2fsprogs-devel.x86_64 readline-devel readline e4fsprogs e4fsprogs-devel ncurses-devel.x86_64 ?ncurses.x86_64

下载源码包

wget 172.60.0.172:8080/libunwind-1.1.tar.gz?

wget 172.60.0.172:8080/gperftools-2.1.tar.gz?

?编译安装?

tar xf ?libunwind-1.1.tar.gz?

CFLAGS=-fPIC ./configure?

make CFLAGS=-fPIC && make CFLAGS=-fPIC install?

?

gperftools的安装

tar xf gperftools-2.1.tar.gz?

cd gperftools-2.1?

./configure ?

make && make install?

echo "/usr/local/lib" > /etc/ld.so.conf.d/usr_local_lib.conf?

#jemalloc的

http://www.canonware.com/download/jemalloc/jemalloc-3.6.0.tar.bz2

./configure --prefix=/usr/local/

make && make install

?

?

启用ext4

modprobe ext4

/sbin/ldconfig?

?

?

在~/.bash_profile文件中加入,export TBLIB_ROOT=/usr/local/tblib, 然后执行source ~/.bash_profile

svn co -r 18 http://code.taobao.org/svn/tb-common-utils/trunk tb-common-utils

sh build.sh

?

1.安装配置yum?

wget http://centos.ustc.edu.cn/epel/5/x86_64/epel-release-5-4.noarch.rpm

wget http://rpms.famillecollet.com/enterprise/5/remi/x86_64/remi-release-5.10-1.el5.remi.noarch.rpm

rpm -ivh *.rpm

?

yum --enablerepo=remi list mysql

yum remove mysql

?

yum -y --enablerepo=remi install mysql mysql-server mysql.x86_64 ?mysql-devel.x86_64

svn checkout http://code.taobao.org/svn/tfs/tags/release-2.2.16

./configure /usr/local/tfs

make && make install

文档附上

?

?

分布式文件TFS(taobao File System)安装(亲测)

原文:http://liuyieyer.iteye.com/blog/2150189

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!