CENTOS6.5 TFS Deployment

Source: Internet
Author: User

The company has been in the selection of Distributed file storage System, selected to choose, the final choice of Ali's TFS, well, after a while to study, found in REDHAT6 all kinds of compilation error problems, I believe we have encountered, The reason is that Ali's source code is even GCC4.1.2 compiled, and the use of 6 system of GCC is certainly more than 4.1.2, so all kinds of problems come. Because the production environment is all based on the 6 version, so must or to close this, the following is affixed to my operating procedures, convenient for you friends ha.

First, the basic package installation

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 Install Libuuid-devel

Yum Install gcc-c++

Yum Install Ncurses-devel ncurses


Second, the source code download

SVN Co http://code.taobao.org/svn/tfs/tags/release-2.0.4 TFS

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


Third, compile and install Tblib (tb-common-utils), which contains Tbsys and Tbnet,tfs rely on these two libraries, where I installed in and TFS the same path, easy to manage ha, we can appoint their own ha.

Export Tblib_root=/usr/local/tfs

CD Tb-common-utils

SH build.sh

Cd.. /tfs

SH build.sh Init

./configure--prefix=/usr/local/tfs--with-tblib-root=/usr/local/tfs--with-mysql=/usr/bin/mysql_config

Make

Find./-name Makefile |xargs sed-i ' s/-werror//g '

Make install


Well, it's finally done ...

CENTOS6.5 TFS Deployment

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.