Home > Back-end >  FastDFS Nginx stand-alone version deployment
FastDFS Nginx stand-alone version deployment

Time:09-16

a, introduces FastDFS
FastDFS is an open source of high-performance distributed file system (DFS), its main features include: file storage, file synchronization and file access, and high capacity and load balancing, mainly to solve the problem of mass data storage, especially suitable for small and medium-sized file (recommended range: 4 KB & lt; File_size & lt; 500 MB) as the carrier of the online services,

FastDFS system has three characters: tracking Server (Tracker Server), Storage Server (Storage Server) and Client (the Client),
The Tracker Server: tracking Server, mainly for scheduling work, have the effect of equilibrium; Responsible for manage all storage server and group, each storage will connect the Tracker after launch, told their group and other information, and maintain the periodic heartbeat,
Storage Server: Storage Server, mainly provide capacity and back-up services; In the group, each group can have more than one storage server, backup data,
Uploads and downloads data of the Client, the Client, server, which is our own project is deployed on the server,
Second, the installation FastDFS environment
0, preface
Operating environment: CentOS7 X64, the following is a standalone environment,
I put all the download the installation package to/softpackages, extract to the current directory,
1, download and install libfastcommon
Libfastcommon extracted from FastDFS and FastDHT public C function library, basic environment, can be installed,
1) download libfastcommon
Wget # https://github.com/happyfish100/libfastcommon/archive/V1.0.7.tar.gz
(2) extract
# tar - ZXVF V1.0.7. Tar. Gz
# CD libfastcommon - 1.0.7


  • Related