Fastdfs installation and use of detailed

Source: Internet
Author: User
Google a bit, the popular open source Distributed File system has a lot of, introduced as follows: Mogilefs:key-value file system, does not support fuse, application access it requires APIs, mainly used in the Web area to deal with a large number of small pictures, the efficiency is much higher than the moosefs. Fastdfs: The Key-value file system, which is improved on the basis of mogilefs, also does not support fuse and provides better performance than mogilefs. Moosefs: Support fuse, relatively lightweight, the master server has a single point of dependence, written in Perl, performance is relatively poor, domestic use more glusterfs: Support fuse, than moosefs huge ceph: Support Fuse, The client has entered the linux-2.6.34 kernel, which means that it can select Ceph as the file system, like Ext3/rasierfs. Completely distributed, no single point of Reliance, written in C, good performance. Based on immature btrfs, it is very immature in itself. Lustre:oracle Company's enterprise-class products, very large, on the kernel and ext3 deep reliance on NFS: The old network file system, specifically do not understand, anyway, NFS in recent years did not develop, certainly cannot be used.   In view of the development of FASTDFS, there are some large domestic companies in use, so ... Ordinary file Architecture in fact, a year or two is not a problem, but there is a statement called for a rainy day, so decided to toss and toss. SOURCE download: Http://code.google.com/p/fastdfs seek help: http://www.csource.org I. Installation of Libevent First check the dependent environment GCC installation is not, if not installed, first install [Plain]View Plain copy yum install gcc* make*
Fastdfs need to install a newer version of Libevent, uninstall the lower version of the machine. [Plain]View Plain Copy Ls-al/usr/lib | grep libevent
To see if the installation is installed and if the version is less than 1.3, uninstall first. [Plain]View plain copy rpm-qa libevent libevent-1.4.13-1.el6.x86_64 rpm-e--nodeps Install a new stable version [Plain]View plain copy wget https://github.com/downloads/libevent/libevent/libevent-2.0.18-stable.tar.gz tar zxvf libevent-2 .0.18-stable.tar.gz CD libevent-2.0.18-stable./configure make && make install
To create a soft link for libevent to the/lib library, the 64-bit system corresponds to the/LIB64 [Plain]View plain copy ln-s/usr/local/lib/libevent*/lib/ln-s/usr/local/lib/libevent*/lib64/
Second, install Fastdfs [Plain]View plain copy wget http://fastdfs.googlecode.com/files/FastDFS_v3.06.tar.gz tar zxvf fastdfs_v3.06.tar.gz cd Fast DFS./make.sh./make.sh Install
Third, the configuration Fastdfs Environment: Tracker Server 192.168.1.5 Storage server 192.168.1.51 192.168.1.52 1, configuring and starting Tracker Server configuration tracker.conf [Plain]View Plain Copy

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.