Build Fast DFS to access file server based on SpringBoot framework

[FastDFS construction detailed explanation]

1. Basic environment required

Software version

1. Linux version: CentOS7
2.libfastcommon version: 1.0.7
3. FastDfs version: 5.05
Dependency required during installation (installed, not required)
1. Install gcc
yum install gcc-c++
2. Install libevent toolkit
yum y install libevent
3, install wget
yum -y install wget

2. Install libfastcommon and FastDFS

1 Install libfastcommon
(1) Download and install libfastcommon, here is download via wget:
a) wget https://github.com/happyfish100/libfastcommon/archive/V1.0.7.tar.gz
(2). Unzip libfastcommon, command:
b ) tar -zxvf V1.0.7.tar.gz
(3) Enter the libfastcommon-1.0.7 directory, command:
c) cd /usr/local/libfastcommon-1.0.7
(4). Compile
d) ./make.sh
( 5). Compile and install, the command:
./make.sh install
displays this screen, which means that the installation of libfastcommon is successful.

2 Install FastDFS
(1). Download and install FastDFS, here is also download
wget through wget https:/

Guess you like

Origin blog.csdn.net/weixin_45785469/article/details/108039424