Fastdfs Related knowledgeWhat is Fastdfs? FAstdfs is an open source, lightweight, distributed File system. It solves problems such as large data volume storage and load balancing. Particularly suitable for small and medium-sized files (recommended scope: 4KB Fastdfs 's role:Tracker server:tracker Server as a central node, its main role is load balancing and scheduling. Tracker server records information such as group and storage server status in mem
a period of learning, the target can no longer be escaped.
TLD technology consists of three parts: Tracker, learning process, and detector. TLD is an adaptive and reliable tracking technology that combines tracing and detection. In TLD technology, the tracker and detector run in parallel, and the results of both are involved in the learning process. The learned model is opposite to the
BitTorrent is a protocol for distributing files. it identifies content by URL and is designed to integrate seamlessly with the Web. its advantage over plain HTTP is that when multiple downloads of the same file happen concurrently, the Downloaders uploadTo each other, making it possible for the file source to support very large numbers of Downloaders with only a modest increase in its load.
A BitTorrent File Distribution consists of these entities:
An ordinary Web Server
A static 'metainfo' F
Iptables Stop
(iii) installation
CP fastdfs_v5.01.tar.gz/usr/local/src/
cd/usr/local/src/
TAR-ZXVF fastdfs_v5.01.tar.gz
CD Fastdfs
./make.sh
./make.sh Install
Note:
(1)./make.sh During installation errors, the dependent packages may be missing and re-executed after installation./make.sh
(2) Installation of
Source file directory in:/usr/local/src/
Executable directory in:/usr/local/bin
All profile directories in:/etc/fdfs (this directory will produce tracker.conf,
/bin, you can accessThe/user/bin directory uses the following command to view related commands for Fdfs:[Root@consume fastdfs]# Cd/usr/bin[Root@consume bin]# ll | grep FdfsIt is therefore necessary to modify the corresponding command path in the Fastdfs service script, which is to put the/etc/init.d/fdfs_storagedAnd the/usr/local/bin in the/etc/init.d/fdfs_tracker two scripts are modified to/usr/bin:To unify the changes using the Find substitution command:%s+/usr/local/bin+/usr/bin
[Root@consume
This article describes how to build a Fastdfs cluster
Fastdfs is an open source lightweight Distributed File system, which manages files, including file storage, file synchronization, file access (file upload, file download), and so on, which solves the problem of large capacity storage and load balancing. Especially suitable for file-based online services, such as photo album sites, video sites and so on.
Fastdfs for the Internet, fully consider the redundant backup, load balancing, linear expa
distant, less connected to the number of high-speed peer/seed and the opportunity, the opposite will reduce the speed of the download.8. Internet Connectivity:Two Internet subscribers that do not have a port mapping can also connect to each other via UDP, which is a little helpful for Internet user.9. Torrent Archives:.. Torrent is an information file that provides the download of BT, including the file name, size, experience, and the tracker used.Tr
/libfdfsclient.so/usr/lib/libfdfsclient.so3. Download and install Fastdfs#下载FastDFSwget https://github.com/happyfish100/fastdfs/archive/v5.05.tar.gz#解压 Tar-ZXVF V5. to. tar.gz CD Fastdfs-5.05#编译, installation./make.sh./make.sh install# Default installation method after installation of the corresponding file and directory # Service script:/etc/init.d/fdfs_storaged/etc/init.d/fdfs_tracker# configuration file (these three are sample profiles given by the author):/etc/fdfs/Client.conf.sample/etc/fdf
Distributed File Management System _ FastDFS cluster, _ fastdfs
Brief Introduction
1. Relationship between client storage tracker
First, we use a diagram to explain how users can access a file managed by DFS.
Generally, one server has only one storage server, and multiple storage servers can form one group. The data of storage servers in the same group is automatically synchronized (backup and recovery ).
Data in different groups is isolated from ea
Install FastDFS In Ubuntu. The first step is to prepare the file: Please download two files. fastdfs_v3.06.tar.gzlibevent-2.0.17-stable.tar.gz will not describe their installation process here, but note that if you need an HTTP connection, make. in sh, change # WITH_HTTPD = 1 to WITH_HTTPD = 1, and then install. When I install FastDFS, an error is reported:/h.
For Notes on installing FastDFS in Ubuntu, the first step is preparation: We need to download two files,
FastDFS_v3.06.tar.gz
Libevent-2.
Prior to understanding the principle of Fastdfs, then familiar with the installation process, prepared three machines, a simulation client, an analog storage, a simulation tracker. Three machines are debian6, the system is minimal installation, first install the basic compilation environment: Apt-get Install build-essential Php5-dev Libevent-dev Download Fastdfs Source Package: wget http://fastdfs.googlecode.com/files/FastDFS_v3.05.tar.gz To start the
Ftrace is a debugging tool available in the Linux kernel. Using Ftrace can keep track of what is happening in the kernel, which is useful when debugging bugs or parsing the kernel. This series of articles introduces Ftrace, which is divided into three parts. This article is the first part, introduced the kernel-related compilation options, user-state access to Ftrace interface, ftrace data files, and Ftrace provides a description of the use of the tracker
Reprinted from Http://www.jb51.net/article/25695.htm
Environment:
storage1:192.168.6.100
storage2:192.168.6.101
tracker:192.168.6.102
1. On each machine, download and install the Fastdfs
Nginx $> wget http://fastdfs.googlecode.com/files/FastDFS_v2.04.tar.gz
# decompression
nginx $> tar zxvf fastdfs_ v2.04.tar.gz
nginx $> cd Fastdfs
# because I'm adding Fastdfs module to Nginx, so I don't need fastdfs to support HTTP so I don't need to get rid of #WI
Simple installation configuration and use of MogileFSInstallation of this software requires the use of CPAN or source code to compile or make RPM packagesAt this point we use the already produced RPM package demoEnvironment IntroductionTracker + MySQL 10.1.249.125Storage 10.1.252.52The required RPM packagemogilefs-server-2.46-2.el6.noarch.rpm mogilefs-server-mogilefsd-2.46-2.el6.noarch.rpm MogileFS-Server-mogstore d-2.46-2.el6.noarch.rpm mogilefs-utils-2.19-1.el6.noarch.rpm Perl-net-netmask-1.90
Simple installation configuration and use of MogileFSInstallation of this software requires the use of CPAN or source code to compile or make RPM packagesAt this point we use the already produced RPM package demoEnvironment IntroductionTracker + MySQL 10.1.249.125Storage 10.1.252.52The required RPM packagemogilefs-server-2.46-2.el6.noarch.rpm mogilefs-server-mogilefsd-2.46-2.el6.noarch.rpm MogileFS-Server-mogstore d-2.46-2.el6.noarch.rpm mogilefs-utils-2.19-1.el6.noarch.rpm Perl-net-netmask-1.90
MogileFS and Fastdfs's personal insights
June 9, 2013
1 reviews
MogileFS Fastdfs for two open source Distributed File system, are mainly used for Internet file sharing, upload, download and other functions, mainly for multi-upload and download, not often modified operations. The M and F deployment architectures are similar in that they are designed to avoid a single point problem in a cluster.MogileFS————————-official website : https://code.google.com/p/mogilefs/Basic Architec
Look back to see Fastdfs update very quickly, also see fastdfs-nginx-module_v1.01.tar.gz nginx module, so today on a test machine test-test a few days to see stable instability, in consideration of replacing waste resources lustre!
Environment:
storage1:192.168.6.100
storage2:192.168.6.101
tracker:192.168.6.102
1. On each machine, download and install Fastdfs
Nginx $> wget http://fastdfs.googlecode.com/files/FastDFS_v2.04.tar.gz
# extract
nginx $> ta
Php uses the smtp service to send mail first
Define ('smtp _ STATUS_NOT_CONNECTED ', 1, true); define ('smtp _ STATUS_CONNECTED', 2, true); class SMTP {var $ connection; var $ recipients; var $ headers; var $ timeout; var $ errors; var $ status; var $ body; var $ from; var $ host; var $ port; var $ helo; var $ auth; var $ user; var $ pass;/*** parameter is an array * host SMTP server host default: localhost * port SMTP server port default: 25 * name o
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.