系统版本
CentOS6.5 64位操作系统
1,依赖包
yum install -y readline-devel.x86_64 zlib-devel.x86_64 libuuid-devel mysql-devel e2fsprogs-devel libuuid-devel ncurses-devel uuid-devel gcc-c++ libtool
2,tcmalloc google的内存管理库
tar zxvf google-perftools-1.9.1.tar.gz
cd google-perftools-1.9.1
./configure --disable-cpu-profiler --disable-heap-profiler --disable-heap-checker --enable-minimal --disable-dependency-tracking
make
make install
3,安装tfs
3.1设置环境变量:
export TBLIB_ROOT="/usr/local/tb/lib"
3.2编辑~/.bash_profile,加入如下代码:
vi ~/.bash_profile
export TBLIB_ROOT="/usr/local/tb/lib"
source /root/.bash_profile
3.3安装tb-common-utils
svn co -r 18 http://code.taobao.org/svn/tb-common-utils/trunk tb-common-utils
无法联网
tar zxvf tb-common-utils.20160425.tar.gz
cd tb-common-utils/
sh build.sh
3.4安装tfs
svn co http://code.taobao.org/svn/tfs/branches/dev_for_outer_users tfs
无法联网
tar zxvf tfs.20160425.tar.gz
cd tfs
./build.sh init
./configure --prefix=/usr/local/tfs --without-tcmalloc --with-release
make
make install
CentOS6.5 64位操作系统
1,依赖包
yum install -y readline-devel.x86_64 zlib-devel.x86_64 libuuid-devel mysql-devel e2fsprogs-devel libuuid-devel ncurses-devel uuid-devel gcc-c++ libtool
2,tcmalloc google的内存管理库
tar zxvf google-perftools-1.9.1.tar.gz
cd google-perftools-1.9.1
./configure --disable-cpu-profiler --disable-heap-profiler --disable-heap-checker --enable-minimal --disable-dependency-tracking
make
make install
3,安装tfs
3.1设置环境变量:
export TBLIB_ROOT="/usr/local/tb/lib"
3.2编辑~/.bash_profile,加入如下代码:
vi ~/.bash_profile
export TBLIB_ROOT="/usr/local/tb/lib"
source /root/.bash_profile
3.3安装tb-common-utils
svn co -r 18 http://code.taobao.org/svn/tb-common-utils/trunk tb-common-utils
无法联网
tar zxvf tb-common-utils.20160425.tar.gz
cd tb-common-utils/
sh build.sh
3.4安装tfs
svn co http://code.taobao.org/svn/tfs/branches/dev_for_outer_users tfs
无法联网
tar zxvf tfs.20160425.tar.gz
cd tfs
./build.sh init
./configure --prefix=/usr/local/tfs --without-tcmalloc --with-release
make
make install