FastDFS安装笔记

编译和安装所需的依赖包

Xshell 5 (Build 0788)
Copyright (c) 2002-2015 NetSarang Computer, Inc. All rights reserved.

Type `help‘ to learn how to use Xshell prompt.
[c:\~]$ 

Connecting to 121.196.215.6:22...
Connection established.
To escape to local shell, press ‘Ctrl+Alt+]‘.

Welcome to aliyun Elastic Compute Service!

[[email protected] ~]#  yum install make cmake gcc gcc-c++
Loaded plugins: security
base                                                             | 3.7 kB     00:00
base/primary_db                                                  | 4.7 MB     00:00
epel                                                             | 4.3 kB     00:00
epel/primary_db                                                  | 5.8 MB     00:01
extras                                                           | 3.4 kB     00:00
extras/primary_db                                                |  37 kB     00:00
updates                                                          | 3.4 kB     00:00
updates/primary_db                                               | 749 kB     00:00
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package cmake.x86_64 0:2.8.12.2-4.el6 will be installed
--> Processing Dependency: libarchive.so.2()(64bit) for package: cmake-2.8.12.2-4.el6.x86_64
---> Package gcc.x86_64 0:4.4.7-4.el6 will be updated
--> Processing Dependency: gcc = 4.4.7-4.el6 for package: gcc-gfortran-4.4.7-4.el6.x86_64
---> Package gcc.x86_64 0:4.4.7-17.el6 will be an update
--> Processing Dependency: libgomp = 4.4.7-17.el6 for package: gcc-4.4.7-17.el6.x86_64
--> Processing Dependency: cpp = 4.4.7-17.el6 for package: gcc-4.4.7-17.el6.x86_64
--> Processing Dependency: libgcc >= 4.4.7-17.el6 for package: gcc-4.4.7-17.el6.x86_64
---> Package gcc-c++.x86_64 0:4.4.7-4.el6 will be updated
---> Package gcc-c++.x86_64 0:4.4.7-17.el6 will be an update
--> Processing Dependency: libstdc++-devel = 4.4.7-17.el6 for package: gcc-c++-4.4.7-17.el6.x86_64
--> Processing Dependency: libstdc++ = 4.4.7-17.el6 for package: gcc-c++-4.4.7-17.el6.x86_64
---> Package make.x86_64 1:3.81-20.el6 will be updated
---> Package make.x86_64 1:3.81-23.el6 will be an update
--> Running transaction check
---> Package cpp.x86_64 0:4.4.7-4.el6 will be updated
---> Package cpp.x86_64 0:4.4.7-17.el6 will be an update
---> Package gcc-gfortran.x86_64 0:4.4.7-4.el6 will be updated
---> Package gcc-gfortran.x86_64 0:4.4.7-17.el6 will be an update
--> Processing Dependency: libgfortran = 4.4.7-17.el6 for package: gcc-gfortran-4.4.7-17.el6.x86_64
---> Package libarchive.x86_64 0:2.8.3-4.el6_2 will be installed
---> Package libgcc.x86_64 0:4.4.7-4.el6 will be updated
---> Package libgcc.x86_64 0:4.4.7-17.el6 will be an update
---> Package libgomp.x86_64 0:4.4.7-4.el6 will be updated
---> Package libgomp.x86_64 0:4.4.7-17.el6 will be an update
---> Package libstdc++.x86_64 0:4.4.7-4.el6 will be updated
---> Package libstdc++.x86_64 0:4.4.7-17.el6 will be an update
---> Package libstdc++-devel.x86_64 0:4.4.7-4.el6 will be updated
---> Package libstdc++-devel.x86_64 0:4.4.7-17.el6 will be an update
--> Running transaction check
---> Package libgfortran.x86_64 0:4.4.7-4.el6 will be updated
---> Package libgfortran.x86_64 0:4.4.7-17.el6 will be an update
--> Finished Dependency Resolution

Dependencies Resolved

========================================================================================
 Package                  Arch            Version                   Repository     Size
========================================================================================
Installing:
 cmake                    x86_64          2.8.12.2-4.el6            base          8.0 M
Updating:
 gcc                      x86_64          4.4.7-17.el6              base           10 M
 gcc-c++                  x86_64          4.4.7-17.el6              base          4.7 M
 make                     x86_64          1:3.81-23.el6             base          389 k
Installing for dependencies:
 libarchive               x86_64          2.8.3-4.el6_2             base          126 k
Updating for dependencies:
 cpp                      x86_64          4.4.7-17.el6              base          3.7 M
 gcc-gfortran             x86_64          4.4.7-17.el6              base          4.7 M
 libgcc                   x86_64          4.4.7-17.el6              base          103 k
 libgfortran              x86_64          4.4.7-17.el6              base          268 k
 libgomp                  x86_64          4.4.7-17.el6              base          134 k
 libstdc++                x86_64          4.4.7-17.el6              base          295 k
 libstdc++-devel          x86_64          4.4.7-17.el6              base          1.6 M

Transaction Summary
========================================================================================
Install       2 Package(s)
Upgrade      10 Package(s)

Total download size: 34 M
Is this ok [y/N]: y
Downloading Packages:
(1/12): cmake-2.8.12.2-4.el6.x86_64.rpm                          | 8.0 MB     00:01
(2/12): cpp-4.4.7-17.el6.x86_64.rpm                              | 3.7 MB     00:00
(3/12): gcc-4.4.7-17.el6.x86_64.rpm                              |  10 MB     00:01
(4/12): gcc-c++-4.4.7-17.el6.x86_64.rpm                          | 4.7 MB     00:00
(5/12): gcc-gfortran-4.4.7-17.el6.x86_64.rpm                     | 4.7 MB     00:00
(6/12): libarchive-2.8.3-4.el6_2.x86_64.rpm                      | 126 kB     00:00
(7/12): libgcc-4.4.7-17.el6.x86_64.rpm                           | 103 kB     00:00
(8/12): libgfortran-4.4.7-17.el6.x86_64.rpm                      | 268 kB     00:00
(9/12): libgomp-4.4.7-17.el6.x86_64.rpm                          | 134 kB     00:00
(10/12): libstdc++-4.4.7-17.el6.x86_64.rpm                       | 295 kB     00:00
(11/12): libstdc++-devel-4.4.7-17.el6.x86_64.rpm                 | 1.6 MB     00:00
(12/12): make-3.81-23.el6.x86_64.rpm                             | 389 kB     00:00
----------------------------------------------------------------------------------------
Total                                                   5.5 MB/s |  34 MB     00:06
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
  Updating   : libgcc-4.4.7-17.el6.x86_64                                          1/22
  Updating   : libstdc++-4.4.7-17.el6.x86_64                                       2/22
  Updating   : libstdc++-devel-4.4.7-17.el6.x86_64                                 3/22
  Updating   : libgomp-4.4.7-17.el6.x86_64                                         4/22
  Installing : libarchive-2.8.3-4.el6_2.x86_64                                     5/22
  Updating   : libgfortran-4.4.7-17.el6.x86_64                                     6/22
  Updating   : cpp-4.4.7-17.el6.x86_64                                             7/22
  Updating   : gcc-4.4.7-17.el6.x86_64                                             8/22
  Updating   : gcc-c++-4.4.7-17.el6.x86_64                                         9/22
  Updating   : gcc-gfortran-4.4.7-17.el6.x86_64                                   10/22
  Installing : cmake-2.8.12.2-4.el6.x86_64                                        11/22
  Updating   : 1:make-3.81-23.el6.x86_64                                          12/22
  Cleanup    : gcc-c++-4.4.7-4.el6.x86_64                                         13/22
  Cleanup    : gcc-gfortran-4.4.7-4.el6.x86_64                                    14/22
  Cleanup    : libstdc++-devel-4.4.7-4.el6.x86_64                                 15/22
  Cleanup    : gcc-4.4.7-4.el6.x86_64                                             16/22
  Cleanup    : libstdc++-4.4.7-4.el6.x86_64                                       17/22
  Cleanup    : libgcc-4.4.7-4.el6.x86_64                                          18/22
  Cleanup    : cpp-4.4.7-4.el6.x86_64                                             19/22
  Cleanup    : libgomp-4.4.7-4.el6.x86_64                                         20/22
  Cleanup    : libgfortran-4.4.7-4.el6.x86_64                                     21/22
  Cleanup    : 1:make-3.81-20.el6.x86_64                                          22/22
  Verifying  : gcc-c++-4.4.7-17.el6.x86_64                                         1/22
  Verifying  : cmake-2.8.12.2-4.el6.x86_64                                         2/22
  Verifying  : libstdc++-4.4.7-17.el6.x86_64                                       3/22
  Verifying  : cpp-4.4.7-17.el6.x86_64                                             4/22
  Verifying  : libgfortran-4.4.7-17.el6.x86_64                                     5/22
  Verifying  : 1:make-3.81-23.el6.x86_64                                           6/22
  Verifying  : libgcc-4.4.7-17.el6.x86_64                                          7/22
  Verifying  : libstdc++-devel-4.4.7-17.el6.x86_64                                 8/22
  Verifying  : libarchive-2.8.3-4.el6_2.x86_64                                     9/22
  Verifying  : gcc-gfortran-4.4.7-17.el6.x86_64                                   10/22
  Verifying  : gcc-4.4.7-17.el6.x86_64                                            11/22
  Verifying  : libgomp-4.4.7-17.el6.x86_64                                        12/22
  Verifying  : gcc-gfortran-4.4.7-4.el6.x86_64                                    13/22
  Verifying  : libstdc++-4.4.7-4.el6.x86_64                                       14/22
  Verifying  : libstdc++-devel-4.4.7-4.el6.x86_64                                 15/22
  Verifying  : cpp-4.4.7-4.el6.x86_64                                             16/22
  Verifying  : 1:make-3.81-20.el6.x86_64                                          17/22
  Verifying  : libgfortran-4.4.7-4.el6.x86_64                                     18/22
  Verifying  : gcc-c++-4.4.7-4.el6.x86_64                                         19/22
  Verifying  : libgomp-4.4.7-4.el6.x86_64                                         20/22
  Verifying  : gcc-4.4.7-4.el6.x86_64                                             21/22
  Verifying  : libgcc-4.4.7-4.el6.x86_64                                          22/22 

Installed:
  cmake.x86_64 0:2.8.12.2-4.el6                                                         

Dependency Installed:
  libarchive.x86_64 0:2.8.3-4.el6_2                                                     

Updated:
  gcc.x86_64 0:4.4.7-17.el6  gcc-c++.x86_64 0:4.4.7-17.el6  make.x86_64 1:3.81-23.el6 

Dependency Updated:
  cpp.x86_64 0:4.4.7-17.el6                    gcc-gfortran.x86_64 0:4.4.7-17.el6
  libgcc.x86_64 0:4.4.7-17.el6                 libgfortran.x86_64 0:4.4.7-17.el6
  libgomp.x86_64 0:4.4.7-17.el6                libstdc++.x86_64 0:4.4.7-17.el6
  libstdc++-devel.x86_64 0:4.4.7-17.el6       

Complete!

安装 libfastcommon

[[email protected] ~]# cd /usr/local/src/
[[email protected] src]# unzip libfastcommon-master.zip
Archive:  libfastcommon-master.zip
50236cd7645f3d28dce2c8d49b1a9307c7647803
   creating: libfastcommon-master/
  inflating: libfastcommon-master/HISTORY
  inflating: libfastcommon-master/INSTALL
  inflating: libfastcommon-master/README
  inflating: libfastcommon-master/libfastcommon.spec
  inflating: libfastcommon-master/make.sh
   creating: libfastcommon-master/php-fastcommon/
  inflating: libfastcommon-master/php-fastcommon/config.m4
  inflating: libfastcommon-master/php-fastcommon/fastcommon.c
  inflating: libfastcommon-master/php-fastcommon/fastcommon.h
 extracting: libfastcommon-master/php-fastcommon/fastcommon.ini
  inflating: libfastcommon-master/php-fastcommon/php-fastcommon.spec.in
  inflating: libfastcommon-master/php-fastcommon/test.php
   creating: libfastcommon-master/src/
  inflating: libfastcommon-master/src/Makefile.in
  inflating: libfastcommon-master/src/avl_tree.c
  inflating: libfastcommon-master/src/avl_tree.h
  inflating: libfastcommon-master/src/base64.c
  inflating: libfastcommon-master/src/base64.h
  inflating: libfastcommon-master/src/chain.c
  inflating: libfastcommon-master/src/chain.h
  inflating: libfastcommon-master/src/common_define.h
  inflating: libfastcommon-master/src/connection_pool.c
  inflating: libfastcommon-master/src/connection_pool.h
  inflating: libfastcommon-master/src/fast_allocator.c
  inflating: libfastcommon-master/src/fast_allocator.h
  inflating: libfastcommon-master/src/fast_blocked_queue.c
  inflating: libfastcommon-master/src/fast_blocked_queue.h
  inflating: libfastcommon-master/src/fast_buffer.c
  inflating: libfastcommon-master/src/fast_buffer.h
  inflating: libfastcommon-master/src/fast_link_library.sh
  inflating: libfastcommon-master/src/fast_mblock.c
  inflating: libfastcommon-master/src/fast_mblock.h
  inflating: libfastcommon-master/src/fast_mpool.c
  inflating: libfastcommon-master/src/fast_mpool.h
  inflating: libfastcommon-master/src/fast_task_queue.c
  inflating: libfastcommon-master/src/fast_task_queue.h
  inflating: libfastcommon-master/src/fast_timer.c
  inflating: libfastcommon-master/src/fast_timer.h
  inflating: libfastcommon-master/src/flat_skiplist.c
  inflating: libfastcommon-master/src/flat_skiplist.h
  inflating: libfastcommon-master/src/hash.c
  inflating: libfastcommon-master/src/hash.h
  inflating: libfastcommon-master/src/http_func.c
  inflating: libfastcommon-master/src/http_func.h
  inflating: libfastcommon-master/src/id_generator.c
  inflating: libfastcommon-master/src/id_generator.h
  inflating: libfastcommon-master/src/ini_file_reader.c
  inflating: libfastcommon-master/src/ini_file_reader.h
  inflating: libfastcommon-master/src/io_opt.c
  inflating: libfastcommon-master/src/io_opt.h
  inflating: libfastcommon-master/src/ioevent.c
  inflating: libfastcommon-master/src/ioevent.h
  inflating: libfastcommon-master/src/ioevent_loop.c
  inflating: libfastcommon-master/src/ioevent_loop.h
  inflating: libfastcommon-master/src/local_ip_func.c
  inflating: libfastcommon-master/src/local_ip_func.h
  inflating: libfastcommon-master/src/logger.c
  inflating: libfastcommon-master/src/logger.h
  inflating: libfastcommon-master/src/md5.c
  inflating: libfastcommon-master/src/md5.h
  inflating: libfastcommon-master/src/multi_skiplist.c
  inflating: libfastcommon-master/src/multi_skiplist.h
  inflating: libfastcommon-master/src/php7_ext_wrapper.h
  inflating: libfastcommon-master/src/process_ctrl.c
  inflating: libfastcommon-master/src/process_ctrl.h
  inflating: libfastcommon-master/src/pthread_func.c
  inflating: libfastcommon-master/src/pthread_func.h
  inflating: libfastcommon-master/src/pthread_pool.c
  inflating: libfastcommon-master/src/pthread_pool.h
  inflating: libfastcommon-master/src/sched_thread.c
  inflating: libfastcommon-master/src/sched_thread.h
  inflating: libfastcommon-master/src/shared_func.c
  inflating: libfastcommon-master/src/shared_func.h
  inflating: libfastcommon-master/src/skiplist.h
  inflating: libfastcommon-master/src/skiplist_common.h
  inflating: libfastcommon-master/src/sockopt.c
  inflating: libfastcommon-master/src/sockopt.h
  inflating: libfastcommon-master/src/system_info.c
  inflating: libfastcommon-master/src/system_info.h
   creating: libfastcommon-master/src/tests/
  inflating: libfastcommon-master/src/tests/Makefile
  inflating: libfastcommon-master/src/tests/test_allocator.c
  inflating: libfastcommon-master/src/tests/test_blocked_queue.c
  inflating: libfastcommon-master/src/tests/test_id_generator.c
  inflating: libfastcommon-master/src/tests/test_mblock.c
  inflating: libfastcommon-master/src/tests/test_multi_skiplist.c
  inflating: libfastcommon-master/src/tests/test_skiplist.c
[[email protected] src]# cd libfastcommon-master
[[email protected] libfastcommon-master]# ./make.sh
cc -Wall -D_FILE_OFFSET_BITS=64 -g -O3 -c -o hash.o hash.c
cc -Wall -D_FILE_OFFSET_BITS=64 -g -O3 -c -o chain.o chain.c
cc -Wall -D_FILE_OFFSET_BITS=64 -g -O3 -c -o shared_func.o shared_func.c
cc -Wall -D_FILE_OFFSET_BITS=64 -g -O3 -c -o ini_file_reader.o ini_file_reader.c
cc -Wall -D_FILE_OFFSET_BITS=64 -g -O3 -c -o logger.o logger.c
cc -Wall -D_FILE_OFFSET_BITS=64 -g -O3 -c -o sockopt.o sockopt.c
cc -Wall -D_FILE_OFFSET_BITS=64 -g -O3 -c -o base64.o base64.c
cc -Wall -D_FILE_OFFSET_BITS=64 -g -O3 -c -o sched_thread.o sched_thread.c
cc -Wall -D_FILE_OFFSET_BITS=64 -g -O3 -c -o http_func.o http_func.c
cc -Wall -D_FILE_OFFSET_BITS=64 -g -O3 -c -o md5.o md5.c
cc -Wall -D_FILE_OFFSET_BITS=64 -g -O3 -c -o pthread_func.o pthread_func.c
cc -Wall -D_FILE_OFFSET_BITS=64 -g -O3 -c -o local_ip_func.o local_ip_func.c
cc -Wall -D_FILE_OFFSET_BITS=64 -g -O3 -c -o avl_tree.o avl_tree.c
cc -Wall -D_FILE_OFFSET_BITS=64 -g -O3 -c -o ioevent.o ioevent.c
cc -Wall -D_FILE_OFFSET_BITS=64 -g -O3 -c -o ioevent_loop.o ioevent_loop.c
cc -Wall -D_FILE_OFFSET_BITS=64 -g -O3 -c -o fast_task_queue.o fast_task_queue.c
cc -Wall -D_FILE_OFFSET_BITS=64 -g -O3 -c -o fast_timer.o fast_timer.c
cc -Wall -D_FILE_OFFSET_BITS=64 -g -O3 -c -o process_ctrl.o process_ctrl.c
cc -Wall -D_FILE_OFFSET_BITS=64 -g -O3 -c -o fast_mblock.o fast_mblock.c
cc -Wall -D_FILE_OFFSET_BITS=64 -g -O3 -c -o connection_pool.o connection_pool.c
cc -Wall -D_FILE_OFFSET_BITS=64 -g -O3 -c -o fast_mpool.o fast_mpool.c
cc -Wall -D_FILE_OFFSET_BITS=64 -g -O3 -c -o fast_allocator.o fast_allocator.c
cc -Wall -D_FILE_OFFSET_BITS=64 -g -O3 -c -o fast_buffer.o fast_buffer.c
cc -Wall -D_FILE_OFFSET_BITS=64 -g -O3 -c -o multi_skiplist.o multi_skiplist.c
cc -Wall -D_FILE_OFFSET_BITS=64 -g -O3 -c -o flat_skiplist.o flat_skiplist.c
cc -Wall -D_FILE_OFFSET_BITS=64 -g -O3 -c -o system_info.o system_info.c
cc -Wall -D_FILE_OFFSET_BITS=64 -g -O3 -c -o fast_blocked_queue.o fast_blocked_queue.c
cc -Wall -D_FILE_OFFSET_BITS=64 -g -O3 -c -o id_generator.o id_generator.c
cc -Wall -D_FILE_OFFSET_BITS=64 -g -O3 -c -fPIC -o hash.lo hash.c
cc -Wall -D_FILE_OFFSET_BITS=64 -g -O3 -c -fPIC -o chain.lo chain.c
cc -Wall -D_FILE_OFFSET_BITS=64 -g -O3 -c -fPIC -o shared_func.lo shared_func.c
cc -Wall -D_FILE_OFFSET_BITS=64 -g -O3 -c -fPIC -o ini_file_reader.lo ini_file_reader.c
cc -Wall -D_FILE_OFFSET_BITS=64 -g -O3 -c -fPIC -o logger.lo logger.c
cc -Wall -D_FILE_OFFSET_BITS=64 -g -O3 -c -fPIC -o sockopt.lo sockopt.c
cc -Wall -D_FILE_OFFSET_BITS=64 -g -O3 -c -fPIC -o base64.lo base64.c
cc -Wall -D_FILE_OFFSET_BITS=64 -g -O3 -c -fPIC -o sched_thread.lo sched_thread.c
cc -Wall -D_FILE_OFFSET_BITS=64 -g -O3 -c -fPIC -o http_func.lo http_func.c
cc -Wall -D_FILE_OFFSET_BITS=64 -g -O3 -c -fPIC -o md5.lo md5.c
cc -Wall -D_FILE_OFFSET_BITS=64 -g -O3 -c -fPIC -o pthread_func.lo pthread_func.c
cc -Wall -D_FILE_OFFSET_BITS=64 -g -O3 -c -fPIC -o local_ip_func.lo local_ip_func.c
cc -Wall -D_FILE_OFFSET_BITS=64 -g -O3 -c -fPIC -o avl_tree.lo avl_tree.c
cc -Wall -D_FILE_OFFSET_BITS=64 -g -O3 -c -fPIC -o ioevent.lo ioevent.c
cc -Wall -D_FILE_OFFSET_BITS=64 -g -O3 -c -fPIC -o ioevent_loop.lo ioevent_loop.c
cc -Wall -D_FILE_OFFSET_BITS=64 -g -O3 -c -fPIC -o fast_task_queue.lo fast_task_queue.c
cc -Wall -D_FILE_OFFSET_BITS=64 -g -O3 -c -fPIC -o fast_timer.lo fast_timer.c
cc -Wall -D_FILE_OFFSET_BITS=64 -g -O3 -c -fPIC -o process_ctrl.lo process_ctrl.c
cc -Wall -D_FILE_OFFSET_BITS=64 -g -O3 -c -fPIC -o fast_mblock.lo fast_mblock.c
cc -Wall -D_FILE_OFFSET_BITS=64 -g -O3 -c -fPIC -o connection_pool.lo connection_pool.c
cc -Wall -D_FILE_OFFSET_BITS=64 -g -O3 -c -fPIC -o fast_mpool.lo fast_mpool.c
cc -Wall -D_FILE_OFFSET_BITS=64 -g -O3 -c -fPIC -o fast_allocator.lo fast_allocator.c
cc -Wall -D_FILE_OFFSET_BITS=64 -g -O3 -c -fPIC -o fast_buffer.lo fast_buffer.c
cc -Wall -D_FILE_OFFSET_BITS=64 -g -O3 -c -fPIC -o multi_skiplist.lo multi_skiplist.c
cc -Wall -D_FILE_OFFSET_BITS=64 -g -O3 -c -fPIC -o flat_skiplist.lo flat_skiplist.c
cc -Wall -D_FILE_OFFSET_BITS=64 -g -O3 -c -fPIC -o system_info.lo system_info.c
cc -Wall -D_FILE_OFFSET_BITS=64 -g -O3 -c -fPIC -o fast_blocked_queue.lo fast_blocked_queue.c
cc -Wall -D_FILE_OFFSET_BITS=64 -g -O3 -c -fPIC -o id_generator.lo id_generator.c
cc -Wall -D_FILE_OFFSET_BITS=64 -g -O3 -o libfastcommon.so  -shared hash.lo chain.lo shared_func.lo ini_file_reader.lo logger.lo sockopt.lo base64.lo sched_thread.lo http_func.lo md5.lo pthread_func.lo local_ip_func.lo avl_tree.lo ioevent.lo ioevent_loop.lo fast_task_queue.lo fast_timer.lo process_ctrl.lo fast_mblock.lo connection_pool.lo fast_mpool.lo fast_allocator.lo fast_buffer.lo multi_skiplist.lo flat_skiplist.lo system_info.lo fast_blocked_queue.lo id_generator.lo -lm -lpthread
ar rcs libfastcommon.a hash.o chain.o shared_func.o ini_file_reader.o logger.o sockopt.o base64.o sched_thread.o http_func.o md5.o pthread_func.o local_ip_func.o avl_tree.o ioevent.o ioevent_loop.o fast_task_queue.o fast_timer.o process_ctrl.o fast_mblock.o connection_pool.o fast_mpool.o fast_allocator.o fast_buffer.o multi_skiplist.o flat_skiplist.o system_info.o fast_blocked_queue.o id_generator.o
[[email protected] libfastcommon-master]# ./make.sh install
mkdir -p /usr/lib64
mkdir -p /usr/lib
install -m 755 libfastcommon.so /usr/lib64
install -m 755 libfastcommon.so /usr/lib
mkdir -p /usr/include/fastcommon
install -m 644 common_define.h hash.h chain.h logger.h base64.h shared_func.h pthread_func.h ini_file_reader.h _os_define.h sockopt.h sched_thread.h http_func.h md5.h local_ip_func.h avl_tree.h ioevent.h ioevent_loop.h fast_task_queue.h fast_timer.h process_ctrl.h fast_mblock.h connection_pool.h fast_mpool.h fast_allocator.h fast_buffer.h skiplist.h multi_skiplist.h flat_skiplist.h skiplist_common.h system_info.h fast_blocked_queue.h php7_ext_wrapper.h id_generator.h /usr/include/fastcommon
[[email protected] libfastcommon-master]# ln -s /usr/lib64/libfastcommon.so /usr/local/lib/libfastcommon.so
[[email protected] libfastcommon-master]# ln -s /usr/lib64/libfastcommon.so /usr/lib/libfastcommon.so
ln: creating symbolic link `/usr/lib/libfastcommon.so‘: File exists
[[email protected] libfastcommon-master]# ln -s /usr/lib64/libfdfsclient.so /usr/local/lib/libfdfsclient.so
[[email protected] libfastcommon-master]# ln -s /usr/lib64/libfdfsclient.so /usr/lib/libfdfsclient.so

安装 FastDFS

[[email protected] libfastcommon-master]# cd /usr/local/src/
[[email protected] src]# tar -zxvf FastDFS_v5.05.tar.gz
FastDFS/
FastDFS/tracker/
FastDFS/tracker/tracker_global.c
FastDFS/tracker/tracker_http_check.c
FastDFS/tracker/tracker_http_check.h
FastDFS/tracker/tracker_types.h
FastDFS/tracker/tracker_service.h
FastDFS/tracker/tracker_relationship.h
FastDFS/tracker/tracker_service.c
FastDFS/tracker/tracker_dump.h
FastDFS/tracker/tracker_func.c
FastDFS/tracker/tracker_dump.c
FastDFS/tracker/tracker_relationship.c
FastDFS/tracker/tracker_proto.c
FastDFS/tracker/tracker_nio.h
FastDFS/tracker/tracker_mem.c
FastDFS/tracker/tracker_mem.h
FastDFS/tracker/fdfs_shared_func.c
FastDFS/tracker/tracker_global.h
FastDFS/tracker/tracker_func.h
FastDFS/tracker/tracker_status.h
FastDFS/tracker/fdfs_shared_func.h
FastDFS/tracker/fdfs_trackerd.c
FastDFS/tracker/tracker_status.c
FastDFS/tracker/Makefile.in
FastDFS/tracker/tracker_proto.h
FastDFS/tracker/tracker_nio.c
FastDFS/make.sh
FastDFS/common/
FastDFS/common/linux_stack_trace.h
FastDFS/common/mime_file_parser.h
FastDFS/common/linux_stack_trace.c
FastDFS/common/mime_file_parser.c
FastDFS/common/fdfs_http_shared.c
FastDFS/common/fdfs_global.h
FastDFS/common/fdfs_global.c
FastDFS/common/fdfs_define.h
FastDFS/common/_os_bits.h
FastDFS/common/fdfs_http_shared.h
FastDFS/common/Makefile
FastDFS/INSTALL
FastDFS/test/
FastDFS/test/test_download.sh
FastDFS/test/dfs_func.h
FastDFS/test/test_upload.c
FastDFS/test/test_delete.sh
FastDFS/test/dfs_func.c
FastDFS/test/test_types.h
FastDFS/test/test_delete.c
FastDFS/test/common_func.h
FastDFS/test/common_func.c
FastDFS/test/dfs_func_pc.c
FastDFS/test/gen_files.c
FastDFS/test/combine_result.c
FastDFS/test/test_download.c
FastDFS/test/test_upload.sh
FastDFS/test/Makefile
FastDFS/conf/
FastDFS/conf/http.conf
FastDFS/conf/client.conf
FastDFS/conf/anti-steal.jpg
FastDFS/conf/storage_ids.conf
FastDFS/conf/mime.types
FastDFS/conf/tracker.conf
FastDFS/conf/storage.conf
FastDFS/fastdfs.spec
FastDFS/client/
FastDFS/client/fdfs_upload_file.c
FastDFS/client/fdfs_delete_file.c
FastDFS/client/fdfs_client.h
FastDFS/client/fdfs_upload_appender.c
FastDFS/client/fdfs_appender_test1.c
FastDFS/client/storage_client.h
FastDFS/client/tracker_client.h
FastDFS/client/client_global.c
FastDFS/client/test/
FastDFS/client/test/fdfs_monitor.c
FastDFS/client/test/fdfs_test.c
FastDFS/client/test/fdfs_test1.c
FastDFS/client/test/Makefile.in
FastDFS/client/storage_client1.h
FastDFS/client/fdfs_monitor.c
FastDFS/client/fdfs_file_info.c
FastDFS/client/storage_client.c
FastDFS/client/client_func.c
FastDFS/client/fdfs_appender_test.c
FastDFS/client/fdfs_append_file.c
FastDFS/client/fdfs_link_library.sh.in
FastDFS/client/fdfs_test.c
FastDFS/client/fdfs_download_file.c
FastDFS/client/tracker_client.c
FastDFS/client/fdfs_test1.c
FastDFS/client/fdfs_crc32.c
FastDFS/client/Makefile.in
FastDFS/client/client_func.h
FastDFS/client/client_global.h
FastDFS/init.d/
FastDFS/init.d/fdfs_trackerd
FastDFS/init.d/fdfs_storaged
FastDFS/stop.sh
FastDFS/README.md
FastDFS/php_client/
FastDFS/php_client/fastdfs_appender_test1.php
FastDFS/php_client/fastdfs_client.ini
FastDFS/php_client/fastdfs_callback_test.php
FastDFS/php_client/fastdfs_client.spec.in
FastDFS/php_client/fastdfs_test.php
FastDFS/php_client/fastdfs_test1.php
FastDFS/php_client/fastdfs_test_slave.php
FastDFS/php_client/README
FastDFS/php_client/config.m4
FastDFS/php_client/fastdfs_client.c
FastDFS/php_client/fastdfs_client.h
FastDFS/php_client/fastdfs_appender_test.php
FastDFS/restart.sh
FastDFS/COPYING-3_0.txt
FastDFS/HISTORY
FastDFS/storage/
FastDFS/storage/tracker_client_thread.c
FastDFS/storage/storage_func.c
FastDFS/storage/storage_service.c
FastDFS/storage/storage_ip_changed_dealer.h
FastDFS/storage/fdht_client/
FastDFS/storage/fdht_client/fdht_define.h
FastDFS/storage/fdht_client/fdht_global.h
FastDFS/storage/fdht_client/fdht_proto.c
FastDFS/storage/fdht_client/fdht_func.c
FastDFS/storage/fdht_client/fdht_proto_types.h
FastDFS/storage/fdht_client/fdht_func.h
FastDFS/storage/fdht_client/fdht_client.c
FastDFS/storage/fdht_client/fdht_global.c
FastDFS/storage/fdht_client/fdht_types.h
FastDFS/storage/fdht_client/fdht_proto.h
FastDFS/storage/fdht_client/fdht_client.h
FastDFS/storage/storage_sync.h
FastDFS/storage/storage_disk_recovery.c
FastDFS/storage/storage_func.h
FastDFS/storage/storage_global.c
FastDFS/storage/storage_dump.h
FastDFS/storage/storage_dump.c
FastDFS/storage/storage_dio.c
FastDFS/storage/storage_param_getter.c
FastDFS/storage/storage_nio.c
FastDFS/storage/trunk_mgr/
FastDFS/storage/trunk_mgr/trunk_sync.h
FastDFS/storage/trunk_mgr/trunk_sync.c
FastDFS/storage/trunk_mgr/trunk_free_block_checker.c
FastDFS/storage/trunk_mgr/trunk_free_block_checker.h
FastDFS/storage/trunk_mgr/trunk_mem.c
FastDFS/storage/trunk_mgr/trunk_shared.c
FastDFS/storage/trunk_mgr/trunk_mem.h
FastDFS/storage/trunk_mgr/trunk_client.c
FastDFS/storage/trunk_mgr/trunk_shared.h
FastDFS/storage/trunk_mgr/trunk_client.h
FastDFS/storage/storage_param_getter.h
FastDFS/storage/storage_sync.c
FastDFS/storage/storage_service.h
FastDFS/storage/storage_dio.h
FastDFS/storage/storage_nio.h
FastDFS/storage/storage_ip_changed_dealer.c
FastDFS/storage/fdfs_storaged.c
FastDFS/storage/storage_disk_recovery.h
FastDFS/storage/Makefile.in
FastDFS/storage/tracker_client_thread.h
FastDFS/storage/storage_global.h
[[email protected] src]# cd FastDFS
[[email protected] FastDFS]# ./make.sh
cc -Wall -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -g -O -DDEBUG_FLAG -DOS_LINUX -DIOEVENT_USE_EPOLL -c -o ../common/fdfs_global.o ../common/fdfs_global.c  -I../common -I/usr/include/fastcommon
cc -Wall -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -g -O -DDEBUG_FLAG -DOS_LINUX -DIOEVENT_USE_EPOLL -c -o tracker_proto.o tracker_proto.c  -I../common -I/usr/include/fastcommon
cc -Wall -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -g -O -DDEBUG_FLAG -DOS_LINUX -DIOEVENT_USE_EPOLL -c -o tracker_mem.o tracker_mem.c  -I../common -I/usr/include/fastcommon
cc -Wall -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -g -O -DDEBUG_FLAG -DOS_LINUX -DIOEVENT_USE_EPOLL -c -o tracker_service.o tracker_service.c  -I../common -I/usr/include/fastcommon
cc -Wall -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -g -O -DDEBUG_FLAG -DOS_LINUX -DIOEVENT_USE_EPOLL -c -o tracker_status.o tracker_status.c  -I../common -I/usr/include/fastcommon
cc -Wall -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -g -O -DDEBUG_FLAG -DOS_LINUX -DIOEVENT_USE_EPOLL -c -o tracker_global.o tracker_global.c  -I../common -I/usr/include/fastcommon
cc -Wall -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -g -O -DDEBUG_FLAG -DOS_LINUX -DIOEVENT_USE_EPOLL -c -o tracker_func.o tracker_func.c  -I../common -I/usr/include/fastcommon
cc -Wall -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -g -O -DDEBUG_FLAG -DOS_LINUX -DIOEVENT_USE_EPOLL -c -o fdfs_shared_func.o fdfs_shared_func.c  -I../common -I/usr/include/fastcommon
cc -Wall -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -g -O -DDEBUG_FLAG -DOS_LINUX -DIOEVENT_USE_EPOLL -c -o tracker_nio.o tracker_nio.c  -I../common -I/usr/include/fastcommon
cc -Wall -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -g -O -DDEBUG_FLAG -DOS_LINUX -DIOEVENT_USE_EPOLL -c -o tracker_relationship.o tracker_relationship.c  -I../common -I/usr/include/fastcommon
cc -Wall -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -g -O -DDEBUG_FLAG -DOS_LINUX -DIOEVENT_USE_EPOLL -c -o tracker_dump.o tracker_dump.c  -I../common -I/usr/include/fastcommon
cc -Wall -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -g -O -DDEBUG_FLAG -DOS_LINUX -DIOEVENT_USE_EPOLL -c -o ../common/linux_stack_trace.o ../common/linux_stack_trace.c  -I../common -I/usr/include/fastcommon
cc -Wall -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -g -O -DDEBUG_FLAG -DOS_LINUX -DIOEVENT_USE_EPOLL -o fdfs_trackerd fdfs_trackerd.c  ../common/fdfs_global.o tracker_proto.o tracker_mem.o tracker_service.o tracker_status.o tracker_global.o tracker_func.o fdfs_shared_func.o tracker_nio.o tracker_relationship.o tracker_dump.o ../common/linux_stack_trace.o -L/usr/local/lib  -lpthread -ldl -rdynamic -lfastcommon -I../common -I/usr/include/fastcommon
cc -Wall -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -g -O -DDEBUG_FLAG -DOS_LINUX -DIOEVENT_USE_EPOLL -c -o tracker_client_thread.o tracker_client_thread.c  -I. -Itrunk_mgr -I../common -I../tracker -I../client -Ifdht_client -I/usr/include/fastcommon
cc -Wall -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -g -O -DDEBUG_FLAG -DOS_LINUX -DIOEVENT_USE_EPOLL -c -o storage_global.o storage_global.c  -I. -Itrunk_mgr -I../common -I../tracker -I../client -Ifdht_client -I/usr/include/fastcommon
cc -Wall -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -g -O -DDEBUG_FLAG -DOS_LINUX -DIOEVENT_USE_EPOLL -c -o storage_func.o storage_func.c  -I. -Itrunk_mgr -I../common -I../tracker -I../client -Ifdht_client -I/usr/include/fastcommon
cc -Wall -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -g -O -DDEBUG_FLAG -DOS_LINUX -DIOEVENT_USE_EPOLL -c -o storage_service.o storage_service.c  -I. -Itrunk_mgr -I../common -I../tracker -I../client -Ifdht_client -I/usr/include/fastcommon
cc -Wall -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -g -O -DDEBUG_FLAG -DOS_LINUX -DIOEVENT_USE_EPOLL -c -o storage_sync.o storage_sync.c  -I. -Itrunk_mgr -I../common -I../tracker -I../client -Ifdht_client -I/usr/include/fastcommon
cc -Wall -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -g -O -DDEBUG_FLAG -DOS_LINUX -DIOEVENT_USE_EPOLL -c -o storage_nio.o storage_nio.c  -I. -Itrunk_mgr -I../common -I../tracker -I../client -Ifdht_client -I/usr/include/fastcommon
cc -Wall -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -g -O -DDEBUG_FLAG -DOS_LINUX -DIOEVENT_USE_EPOLL -c -o storage_dio.o storage_dio.c  -I. -Itrunk_mgr -I../common -I../tracker -I../client -Ifdht_client -I/usr/include/fastcommon
cc -Wall -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -g -O -DDEBUG_FLAG -DOS_LINUX -DIOEVENT_USE_EPOLL -c -o storage_ip_changed_dealer.o storage_ip_changed_dealer.c  -I. -Itrunk_mgr -I../common -I../tracker -I../client -Ifdht_client -I/usr/include/fastcommon
cc -Wall -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -g -O -DDEBUG_FLAG -DOS_LINUX -DIOEVENT_USE_EPOLL -c -o storage_param_getter.o storage_param_getter.c  -I. -Itrunk_mgr -I../common -I../tracker -I../client -Ifdht_client -I/usr/include/fastcommon
cc -Wall -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -g -O -DDEBUG_FLAG -DOS_LINUX -DIOEVENT_USE_EPOLL -c -o storage_disk_recovery.o storage_disk_recovery.c  -I. -Itrunk_mgr -I../common -I../tracker -I../client -Ifdht_client -I/usr/include/fastcommon
cc -Wall -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -g -O -DDEBUG_FLAG -DOS_LINUX -DIOEVENT_USE_EPOLL -c -o trunk_mgr/trunk_mem.o trunk_mgr/trunk_mem.c  -I. -Itrunk_mgr -I../common -I../tracker -I../client -Ifdht_client -I/usr/include/fastcommon
cc -Wall -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -g -O -DDEBUG_FLAG -DOS_LINUX -DIOEVENT_USE_EPOLL -c -o trunk_mgr/trunk_shared.o trunk_mgr/trunk_shared.c  -I. -Itrunk_mgr -I../common -I../tracker -I../client -Ifdht_client -I/usr/include/fastcommon
cc -Wall -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -g -O -DDEBUG_FLAG -DOS_LINUX -DIOEVENT_USE_EPOLL -c -o trunk_mgr/trunk_sync.o trunk_mgr/trunk_sync.c  -I. -Itrunk_mgr -I../common -I../tracker -I../client -Ifdht_client -I/usr/include/fastcommon
cc -Wall -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -g -O -DDEBUG_FLAG -DOS_LINUX -DIOEVENT_USE_EPOLL -c -o trunk_mgr/trunk_client.o trunk_mgr/trunk_client.c  -I. -Itrunk_mgr -I../common -I../tracker -I../client -Ifdht_client -I/usr/include/fastcommon
cc -Wall -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -g -O -DDEBUG_FLAG -DOS_LINUX -DIOEVENT_USE_EPOLL -c -o trunk_mgr/trunk_free_block_checker.o trunk_mgr/trunk_free_block_checker.c  -I. -Itrunk_mgr -I../common -I../tracker -I../client -Ifdht_client -I/usr/include/fastcommon
cc -Wall -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -g -O -DDEBUG_FLAG -DOS_LINUX -DIOEVENT_USE_EPOLL -c -o ../client/client_global.o ../client/client_global.c  -I. -Itrunk_mgr -I../common -I../tracker -I../client -Ifdht_client -I/usr/include/fastcommon
cc -Wall -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -g -O -DDEBUG_FLAG -DOS_LINUX -DIOEVENT_USE_EPOLL -c -o ../client/tracker_client.o ../client/tracker_client.c  -I. -Itrunk_mgr -I../common -I../tracker -I../client -Ifdht_client -I/usr/include/fastcommon
cc -Wall -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -g -O -DDEBUG_FLAG -DOS_LINUX -DIOEVENT_USE_EPOLL -c -o ../client/storage_client.o ../client/storage_client.c  -I. -Itrunk_mgr -I../common -I../tracker -I../client -Ifdht_client -I/usr/include/fastcommon
cc -Wall -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -g -O -DDEBUG_FLAG -DOS_LINUX -DIOEVENT_USE_EPOLL -c -o ../client/client_func.o ../client/client_func.c  -I. -Itrunk_mgr -I../common -I../tracker -I../client -Ifdht_client -I/usr/include/fastcommon
cc -Wall -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -g -O -DDEBUG_FLAG -DOS_LINUX -DIOEVENT_USE_EPOLL -c -o fdht_client/fdht_proto.o fdht_client/fdht_proto.c  -I. -Itrunk_mgr -I../common -I../tracker -I../client -Ifdht_client -I/usr/include/fastcommon
cc -Wall -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -g -O -DDEBUG_FLAG -DOS_LINUX -DIOEVENT_USE_EPOLL -c -o fdht_client/fdht_client.o fdht_client/fdht_client.c  -I. -Itrunk_mgr -I../common -I../tracker -I../client -Ifdht_client -I/usr/include/fastcommon
cc -Wall -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -g -O -DDEBUG_FLAG -DOS_LINUX -DIOEVENT_USE_EPOLL -c -o fdht_client/fdht_func.o fdht_client/fdht_func.c  -I. -Itrunk_mgr -I../common -I../tracker -I../client -Ifdht_client -I/usr/include/fastcommon
cc -Wall -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -g -O -DDEBUG_FLAG -DOS_LINUX -DIOEVENT_USE_EPOLL -c -o fdht_client/fdht_global.o fdht_client/fdht_global.c  -I. -Itrunk_mgr -I../common -I../tracker -I../client -Ifdht_client -I/usr/include/fastcommon
cc -Wall -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -g -O -DDEBUG_FLAG -DOS_LINUX -DIOEVENT_USE_EPOLL -c -o storage_dump.o storage_dump.c  -I. -Itrunk_mgr -I../common -I../tracker -I../client -Ifdht_client -I/usr/include/fastcommon
cc -Wall -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -g -O -DDEBUG_FLAG -DOS_LINUX -DIOEVENT_USE_EPOLL -o fdfs_storaged fdfs_storaged.c  ../common/fdfs_global.o ../tracker/fdfs_shared_func.o ../tracker/tracker_proto.o tracker_client_thread.o storage_global.o storage_func.o storage_service.o storage_sync.o storage_nio.o storage_dio.o storage_ip_changed_dealer.o storage_param_getter.o storage_disk_recovery.o trunk_mgr/trunk_mem.o trunk_mgr/trunk_shared.o trunk_mgr/trunk_sync.o trunk_mgr/trunk_client.o trunk_mgr/trunk_free_block_checker.o ../client/client_global.o ../client/tracker_client.o ../client/storage_client.o ../client/client_func.o fdht_client/fdht_proto.o fdht_client/fdht_client.o fdht_client/fdht_func.o fdht_client/fdht_global.o storage_dump.o ../common/linux_stack_trace.o -L/usr/local/lib  -lpthread -ldl -rdynamic -lfastcommon -I. -Itrunk_mgr -I../common -I../tracker -I../client -Ifdht_client -I/usr/include/fastcommon
cc -Wall -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -g -O -DDEBUG_FLAG -DOS_LINUX -DIOEVENT_USE_EPOLL -c -o ../common/fdfs_http_shared.o ../common/fdfs_http_shared.c  -I../common -I../tracker -I/usr/include/fastcommon
cc -Wall -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -g -O -DDEBUG_FLAG -DOS_LINUX -DIOEVENT_USE_EPOLL -c -o ../common/mime_file_parser.o ../common/mime_file_parser.c  -I../common -I../tracker -I/usr/include/fastcommon
cc -Wall -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -g -O -DDEBUG_FLAG -DOS_LINUX -DIOEVENT_USE_EPOLL -c -fPIC -o ../common/fdfs_global.lo ../common/fdfs_global.c  -I../common -I../tracker -I/usr/include/fastcommon
cc -Wall -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -g -O -DDEBUG_FLAG -DOS_LINUX -DIOEVENT_USE_EPOLL -c -fPIC -o ../common/fdfs_http_shared.lo ../common/fdfs_http_shared.c  -I../common -I../tracker -I/usr/include/fastcommon
cc -Wall -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -g -O -DDEBUG_FLAG -DOS_LINUX -DIOEVENT_USE_EPOLL -c -fPIC -o ../common/mime_file_parser.lo ../common/mime_file_parser.c  -I../common -I../tracker -I/usr/include/fastcommon
cc -Wall -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -g -O -DDEBUG_FLAG -DOS_LINUX -DIOEVENT_USE_EPOLL -c -fPIC -o ../tracker/tracker_proto.lo ../tracker/tracker_proto.c  -I../common -I../tracker -I/usr/include/fastcommon
cc -Wall -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -g -O -DDEBUG_FLAG -DOS_LINUX -DIOEVENT_USE_EPOLL -c -fPIC -o ../tracker/fdfs_shared_func.lo ../tracker/fdfs_shared_func.c  -I../common -I../tracker -I/usr/include/fastcommon
cc -Wall -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -g -O -DDEBUG_FLAG -DOS_LINUX -DIOEVENT_USE_EPOLL -c -fPIC -o ../storage/trunk_mgr/trunk_shared.lo ../storage/trunk_mgr/trunk_shared.c  -I../common -I../tracker -I/usr/include/fastcommon
cc -Wall -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -g -O -DDEBUG_FLAG -DOS_LINUX -DIOEVENT_USE_EPOLL -c -fPIC -o tracker_client.lo tracker_client.c  -I../common -I../tracker -I/usr/include/fastcommon
cc -Wall -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -g -O -DDEBUG_FLAG -DOS_LINUX -DIOEVENT_USE_EPOLL -c -fPIC -o client_func.lo client_func.c  -I../common -I../tracker -I/usr/include/fastcommon
cc -Wall -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -g -O -DDEBUG_FLAG -DOS_LINUX -DIOEVENT_USE_EPOLL -c -fPIC -o client_global.lo client_global.c  -I../common -I../tracker -I/usr/include/fastcommon
cc -Wall -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -g -O -DDEBUG_FLAG -DOS_LINUX -DIOEVENT_USE_EPOLL -c -fPIC -o storage_client.lo storage_client.c  -I../common -I../tracker -I/usr/include/fastcommon
cc -Wall -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -g -O -DDEBUG_FLAG -DOS_LINUX -DIOEVENT_USE_EPOLL -o fdfs_monitor fdfs_monitor.c  ../common/fdfs_global.o ../common/fdfs_http_shared.o ../common/mime_file_parser.o ../tracker/tracker_proto.o ../tracker/fdfs_shared_func.o ../storage/trunk_mgr/trunk_shared.o tracker_client.o client_func.o client_global.o storage_client.o -lpthread -ldl -rdynamic -lfastcommon -I../common -I../tracker -I/usr/include/fastcommon
cc -Wall -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -g -O -DDEBUG_FLAG -DOS_LINUX -DIOEVENT_USE_EPOLL -o fdfs_test fdfs_test.c  ../common/fdfs_global.o ../common/fdfs_http_shared.o ../common/mime_file_parser.o ../tracker/tracker_proto.o ../tracker/fdfs_shared_func.o ../storage/trunk_mgr/trunk_shared.o tracker_client.o client_func.o client_global.o storage_client.o -lpthread -ldl -rdynamic -lfastcommon -I../common -I../tracker -I/usr/include/fastcommon
cc -Wall -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -g -O -DDEBUG_FLAG -DOS_LINUX -DIOEVENT_USE_EPOLL -o fdfs_test1 fdfs_test1.c  ../common/fdfs_global.o ../common/fdfs_http_shared.o ../common/mime_file_parser.o ../tracker/tracker_proto.o ../tracker/fdfs_shared_func.o ../storage/trunk_mgr/trunk_shared.o tracker_client.o client_func.o client_global.o storage_client.o -lpthread -ldl -rdynamic -lfastcommon -I../common -I../tracker -I/usr/include/fastcommon
cc -Wall -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -g -O -DDEBUG_FLAG -DOS_LINUX -DIOEVENT_USE_EPOLL -o fdfs_crc32 fdfs_crc32.c  ../common/fdfs_global.o ../common/fdfs_http_shared.o ../common/mime_file_parser.o ../tracker/tracker_proto.o ../tracker/fdfs_shared_func.o ../storage/trunk_mgr/trunk_shared.o tracker_client.o client_func.o client_global.o storage_client.o -lpthread -ldl -rdynamic -lfastcommon -I../common -I../tracker -I/usr/include/fastcommon
cc -Wall -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -g -O -DDEBUG_FLAG -DOS_LINUX -DIOEVENT_USE_EPOLL -o fdfs_upload_file fdfs_upload_file.c  ../common/fdfs_global.o ../common/fdfs_http_shared.o ../common/mime_file_parser.o ../tracker/tracker_proto.o ../tracker/fdfs_shared_func.o ../storage/trunk_mgr/trunk_shared.o tracker_client.o client_func.o client_global.o storage_client.o -lpthread -ldl -rdynamic -lfastcommon -I../common -I../tracker -I/usr/include/fastcommon
cc -Wall -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -g -O -DDEBUG_FLAG -DOS_LINUX -DIOEVENT_USE_EPOLL -o fdfs_download_file fdfs_download_file.c  ../common/fdfs_global.o ../common/fdfs_http_shared.o ../common/mime_file_parser.o ../tracker/tracker_proto.o ../tracker/fdfs_shared_func.o ../storage/trunk_mgr/trunk_shared.o tracker_client.o client_func.o client_global.o storage_client.o -lpthread -ldl -rdynamic -lfastcommon -I../common -I../tracker -I/usr/include/fastcommon
cc -Wall -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -g -O -DDEBUG_FLAG -DOS_LINUX -DIOEVENT_USE_EPOLL -o fdfs_delete_file fdfs_delete_file.c  ../common/fdfs_global.o ../common/fdfs_http_shared.o ../common/mime_file_parser.o ../tracker/tracker_proto.o ../tracker/fdfs_shared_func.o ../storage/trunk_mgr/trunk_shared.o tracker_client.o client_func.o client_global.o storage_client.o -lpthread -ldl -rdynamic -lfastcommon -I../common -I../tracker -I/usr/include/fastcommon
cc -Wall -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -g -O -DDEBUG_FLAG -DOS_LINUX -DIOEVENT_USE_EPOLL -o fdfs_file_info fdfs_file_info.c  ../common/fdfs_global.o ../common/fdfs_http_shared.o ../common/mime_file_parser.o ../tracker/tracker_proto.o ../tracker/fdfs_shared_func.o ../storage/trunk_mgr/trunk_shared.o tracker_client.o client_func.o client_global.o storage_client.o -lpthread -ldl -rdynamic -lfastcommon -I../common -I../tracker -I/usr/include/fastcommon
cc -Wall -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -g -O -DDEBUG_FLAG -DOS_LINUX -DIOEVENT_USE_EPOLL -o fdfs_appender_test fdfs_appender_test.c  ../common/fdfs_global.o ../common/fdfs_http_shared.o ../common/mime_file_parser.o ../tracker/tracker_proto.o ../tracker/fdfs_shared_func.o ../storage/trunk_mgr/trunk_shared.o tracker_client.o client_func.o client_global.o storage_client.o -lpthread -ldl -rdynamic -lfastcommon -I../common -I../tracker -I/usr/include/fastcommon
cc -Wall -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -g -O -DDEBUG_FLAG -DOS_LINUX -DIOEVENT_USE_EPOLL -o fdfs_appender_test1 fdfs_appender_test1.c  ../common/fdfs_global.o ../common/fdfs_http_shared.o ../common/mime_file_parser.o ../tracker/tracker_proto.o ../tracker/fdfs_shared_func.o ../storage/trunk_mgr/trunk_shared.o tracker_client.o client_func.o client_global.o storage_client.o -lpthread -ldl -rdynamic -lfastcommon -I../common -I../tracker -I/usr/include/fastcommon
cc -Wall -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -g -O -DDEBUG_FLAG -DOS_LINUX -DIOEVENT_USE_EPOLL -o fdfs_append_file fdfs_append_file.c  ../common/fdfs_global.o ../common/fdfs_http_shared.o ../common/mime_file_parser.o ../tracker/tracker_proto.o ../tracker/fdfs_shared_func.o ../storage/trunk_mgr/trunk_shared.o tracker_client.o client_func.o client_global.o storage_client.o -lpthread -ldl -rdynamic -lfastcommon -I../common -I../tracker -I/usr/include/fastcommon
cc -Wall -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -g -O -DDEBUG_FLAG -DOS_LINUX -DIOEVENT_USE_EPOLL -o fdfs_upload_appender fdfs_upload_appender.c  ../common/fdfs_global.o ../common/fdfs_http_shared.o ../common/mime_file_parser.o ../tracker/tracker_proto.o ../tracker/fdfs_shared_func.o ../storage/trunk_mgr/trunk_shared.o tracker_client.o client_func.o client_global.o storage_client.o -lpthread -ldl -rdynamic -lfastcommon -I../common -I../tracker -I/usr/include/fastcommon
ar cru libfdfsclient.a  ../common/fdfs_global.o ../common/fdfs_http_shared.o ../common/mime_file_parser.o ../tracker/tracker_proto.o ../tracker/fdfs_shared_func.o ../storage/trunk_mgr/trunk_shared.o tracker_client.o client_func.o client_global.o storage_client.o
cc -Wall -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -g -O -DDEBUG_FLAG -DOS_LINUX -DIOEVENT_USE_EPOLL -o libfdfsclient.so  -shared ../common/fdfs_global.lo ../common/fdfs_http_shared.lo ../common/mime_file_parser.lo ../tracker/tracker_proto.lo ../tracker/fdfs_shared_func.lo ../storage/trunk_mgr/trunk_shared.lo tracker_client.lo client_func.lo client_global.lo storage_client.lo -lpthread -ldl -rdynamic -lfastcommon
[[email protected] FastDFS]# ./make.sh install
mkdir -p /usr/bin
mkdir -p /etc/fdfs
cp -f fdfs_trackerd /usr/bin
if [ ! -f /etc/fdfs/tracker.conf.sample ]; then cp -f ../conf/tracker.conf /etc/fdfs/tracker.conf.sample; fi
mkdir -p /usr/bin
mkdir -p /etc/fdfs
cp -f fdfs_storaged  /usr/bin
if [ ! -f /etc/fdfs/storage.conf.sample ]; then cp -f ../conf/storage.conf /etc/fdfs/storage.conf.sample; fi
mkdir -p /usr/bin
mkdir -p /etc/fdfs
mkdir -p /usr/lib64
cp -f fdfs_monitor fdfs_test fdfs_test1 fdfs_crc32 fdfs_upload_file fdfs_download_file fdfs_delete_file fdfs_file_info fdfs_appender_test fdfs_appender_test1 fdfs_append_file fdfs_upload_appender /usr/bin
if [ 0 -eq 1 ]; then cp -f libfdfsclient.a /usr/lib64; fi
if [ 1 -eq 1 ]; then cp -f libfdfsclient.so /usr/lib64; fi
mkdir -p /usr/include/fastdfs
cp -f ../common/fdfs_define.h ../common/fdfs_global.h ../common/mime_file_parser.h ../common/fdfs_http_shared.h ../tracker/tracker_types.h ../tracker/tracker_proto.h ../tracker/fdfs_shared_func.h ../storage/trunk_mgr/trunk_shared.h tracker_client.h storage_client.h storage_client1.h client_func.h client_global.h fdfs_client.h /usr/include/fastdfs
if [ ! -f /etc/fdfs/client.conf.sample ]; then cp -f ../conf/client.conf /etc/fdfs/client.conf.sample; fi
[[email protected] FastDFS]# cd /etc/init.d
[[email protected] init.d]# vi fdfs_trackerd
[[email protected] init.d]# vi fdfs_storaged

配置 FastDFS跟踪器

[[email protected] FastDFS]# cd /etc/init.d
[[email protected] init.d]# vi fdfs_trackerd
[[email protected] init.d]# vi fdfs_storaged
[[email protected]6c3s4bdZ init.d]# cd /etc/fdfs/
[[email protected] fdfs]# cp tracker.conf.sample tracker.conf
[[email protected] fdfs]# vi /etc/fdfs/tracker.conf
[[email protected] fdfs]# mkdir -p /fastdfs/tracker
[[email protected] fdfs]# vi /etc/sysconfig/iptables
[[email protected] fdfs]# service iptables restart
iptables: Applying firewall rules: iptables-restore: line 1 failed
                                                           [FAILED]
[[email protected] fdfs]# vi /etc/sysconfig/iptables
[[email protected] fdfs]# service iptables restart
iptables: Applying firewall rules:                         [  OK  ]
[[email protected] fdfs]# /etc/init.d/fdfs_trackerd start
Starting FastDFS tracker server:
[[email protected] fdfs]# ps -ef | grep fdfs
root     24396     1  0 00:27 ?        00:00:00 /usr/bin/fdfs_trackerd /etc/fdfs/tracker.conf
root     24404 23736  0 00:27 pts/0    00:00:00 grep fdfs
[[email protected] fdfs]# /etc/init.d/fdfs_trackerd stop
stopping fdfs_trackerd ...
.
[[email protected] fdfs]# vi /etc/rc.d/rc.local
[[email protected] fdfs]# /etc/init.d/fdfs_trackerd start
Starting FastDFS tracker server: 

配置 FastDFS存储

[[email protected] fdfs]# cd /etc/fdfs/
[[email protected] fdfs]# cp storage.conf.sample storage.conf
[[email protected] fdfs]# vi /etc/fdfs/storage.conf
[[email protected] fdfs]# mkdir -p /fastdfs/storage
[[email protected] fdfs]# vi /etc/sysconfig/iptables
[[email protected] fdfs]# service iptables restart
iptables: Setting chains to policy ACCEPT: filter          [  OK  ]
iptables: Flushing firewall rules:                         [  OK  ]
iptables: Unloading modules:                               [  OK  ]
iptables: Applying firewall rules:                         [  OK  ]
[[email protected] fdfs]# /etc/init.d/fdfs_storaged start
Starting FastDFS storage server:
[[email protected] fdfs]# ps -ef | grep fdfs
root     24444     1  0 00:28 ?        00:00:00 /usr/bin/fdfs_trackerd /etc/fdfs/tracker.conf
root     24531     1  0 00:34 pts/0    00:00:00 /usr/bin/fdfs_storaged /etc/fdfs/storage.conf
root     24533 23736  0 00:34 pts/0    00:00:00 grep fdfs
[[email protected] fdfs]# /etc/init.d/fdfs_storaged stop
stopping fdfs_storaged ...
.
[[email protected] fdfs]# vi /etc/rc.d/rc.local
[[email protected] fdfs]# /etc/init.d/fdfs_storaged start
Starting FastDFS storage server: 

文件上传测试

Xshell 5 (Build 0788)
Copyright (c) 2002-2015 NetSarang Computer, Inc. All rights reserved.

Type `help‘ to learn how to use Xshell prompt.
[c:\~]$ 

Connecting to 121.196.215.6:22...
Connection established.
To escape to local shell, press ‘Ctrl+Alt+]‘.

Welcome to aliyun Elastic Compute Service!

[[email protected] ~]# shutdown -r now
[[email protected] ~]#
Broadcast message from [email protected]
    (/dev/pts/0) at 0:43 ...

The system is going down for reboot NOW!

Connection closed by foreign host.

Disconnected from remote host(xudebiao) at 00:43:31.

Type `help‘ to learn how to use Xshell prompt.
[c:\~]$
Reconnecting in 30 seconds. Press any key to exit local shell.
..............................

Connecting to 121.196.215.6:22...
........Connection established.
To escape to local shell, press ‘Ctrl+Alt+]‘.

Welcome to aliyun Elastic Compute Service!

[[email protected] ~]# /usr/bin/fdfs_upload_file /etc/fdfs/client.conf /usr/local/src/FastDFS_v5.05.tar.gz
group1/M00/00/00/rBAAAVeFHnKABIs-AAVFOL7FJU4.tar.gz

nginx

[[email protected] src]# cd nginx-1.6.3
[[email protected] nginx-1.6.3]# ./configure --add-module=/usr/local/src/fastdfs-nginx-module/src
checking for OS
 + Linux 2.6.32-573.22.1.el6.x86_64 x86_64
checking for C compiler ... found
 + using GNU C compiler
 + gcc version: 4.4.7 20120313 (Red Hat 4.4.7-17) (GCC)
checking for gcc -pipe switch ... found
checking for gcc builtin atomic operations ... found
checking for C99 variadic macros ... found
checking for gcc variadic macros ... found
checking for unistd.h ... found
checking for inttypes.h ... found
checking for limits.h ... found
checking for sys/filio.h ... not found
checking for sys/param.h ... found
checking for sys/mount.h ... found
checking for sys/statvfs.h ... found
checking for crypt.h ... found
checking for Linux specific features
checking for epoll ... found
checking for EPOLLRDHUP ... found
checking for O_PATH ... not found
checking for sendfile() ... found
checking for sendfile64() ... found
checking for sys/prctl.h ... found
checking for prctl(PR_SET_DUMPABLE) ... found
checking for sched_setaffinity() ... found
checking for crypt_r() ... found
checking for sys/vfs.h ... found
checking for nobody group ... found
checking for poll() ... found
checking for /dev/poll ... not found
checking for kqueue ... not found
checking for crypt() ... not found
checking for crypt() in libcrypt ... found
checking for F_READAHEAD ... not found
checking for posix_fadvise() ... found
checking for O_DIRECT ... found
checking for F_NOCACHE ... not found
checking for directio() ... not found
checking for statfs() ... found
checking for statvfs() ... found
checking for dlopen() ... not found
checking for dlopen() in libdl ... found
checking for sched_yield() ... found
checking for SO_SETFIB ... not found
checking for SO_ACCEPTFILTER ... not found
checking for TCP_DEFER_ACCEPT ... found
checking for TCP_KEEPIDLE ... found
checking for TCP_FASTOPEN ... not found
checking for TCP_INFO ... found
checking for accept4() ... found
checking for int size ... 4 bytes
checking for long size ... 8 bytes
checking for long long size ... 8 bytes
checking for void * size ... 8 bytes
checking for uint64_t ... found
checking for sig_atomic_t ... found
checking for sig_atomic_t size ... 4 bytes
checking for socklen_t ... found
checking for in_addr_t ... found
checking for in_port_t ... found
checking for rlim_t ... found
checking for uintptr_t ... uintptr_t found
checking for system byte ordering ... little endian
checking for size_t size ... 8 bytes
checking for off_t size ... 8 bytes
checking for time_t size ... 8 bytes
checking for setproctitle() ... not found
checking for pread() ... found
checking for pwrite() ... found
checking for sys_nerr ... found
checking for localtime_r() ... found
checking for posix_memalign() ... found
checking for memalign() ... found
checking for mmap(MAP_ANON|MAP_SHARED) ... found
checking for mmap("/dev/zero", MAP_SHARED) ... found
checking for System V shared memory ... found
checking for POSIX semaphores ... not found
checking for POSIX semaphores in libpthread ... found
checking for struct msghdr.msg_control ... found
checking for ioctl(FIONBIO) ... found
checking for struct tm.tm_gmtoff ... found
checking for struct dirent.d_namlen ... not found
checking for struct dirent.d_type ... found
checking for sysconf(_SC_NPROCESSORS_ONLN) ... found
checking for openat(), fstatat() ... found
checking for getaddrinfo() ... found
configuring additional modules
adding module in /usr/local/src/fastdfs-nginx-module/src
 + ngx_http_fastdfs_module was configured
checking for PCRE library ... found
checking for PCRE JIT support ... not found
checking for md5 in system md library ... not found
checking for md5 in system md5 library ... not found
checking for md5 in system OpenSSL crypto library ... found
checking for sha1 in system md library ... not found
checking for sha1 in system OpenSSL crypto library ... found
checking for zlib library ... found
creating objs/Makefile

Configuration summary
  + using system PCRE library
  + OpenSSL library is not used
  + md5: using system crypto library
  + sha1: using system crypto library
  + using system zlib library

  nginx path prefix: "/usr/local/nginx"
  nginx binary file: "/usr/local/nginx/sbin/nginx"
  nginx configuration prefix: "/usr/local/nginx/conf"
  nginx configuration file: "/usr/local/nginx/conf/nginx.conf"
  nginx pid file: "/usr/local/nginx/logs/nginx.pid"
  nginx error log file: "/usr/local/nginx/logs/error.log"
  nginx http access log file: "/usr/local/nginx/logs/access.log"
  nginx http client request body temporary files: "client_body_temp"
  nginx http proxy temporary files: "proxy_temp"
  nginx http fastcgi temporary files: "fastcgi_temp"
  nginx http uwsgi temporary files: "uwsgi_temp"
  nginx http scgi temporary files: "scgi_temp"

[[email protected] nginx-1.6.3]# make && make install
make -f objs/Makefile
make[1]: Entering directory `/usr/local/src/nginx-1.6.3‘
cc -c -pipe  -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g  -D_FILE_OFFSET_BITS=64 -DFDFS_OUTPUT_CHUNK_SIZE=‘256*1024‘ -DFDFS_MOD_CONF_FILENAME=‘"/etc/fdfs/mod_fastdfs.conf"‘ -I src/core -I src/event -I src/event/modules -I src/os/unix -I /usr/include/fastdfs -I /usr/include/fastcommon/ -I objs         -o objs/src/core/nginx.o         src/core/nginx.c
cc -c -pipe  -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g  -D_FILE_OFFSET_BITS=64 -DFDFS_OUTPUT_CHUNK_SIZE=‘256*1024‘ -DFDFS_MOD_CONF_FILENAME=‘"/etc/fdfs/mod_fastdfs.conf"‘ -I src/core -I src/event -I src/event/modules -I src/os/unix -I /usr/include/fastdfs -I /usr/include/fastcommon/ -I objs         -o objs/src/core/ngx_log.o         src/core/ngx_log.c
cc -c -pipe  -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g  -D_FILE_OFFSET_BITS=64 -DFDFS_OUTPUT_CHUNK_SIZE=‘256*1024‘ -DFDFS_MOD_CONF_FILENAME=‘"/etc/fdfs/mod_fastdfs.conf"‘ -I src/core -I src/event -I src/event/modules -I src/os/unix -I /usr/include/fastdfs -I /usr/include/fastcommon/ -I objs         -o objs/src/core/ngx_palloc.o         src/core/ngx_palloc.c
cc -c -pipe  -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g  -D_FILE_OFFSET_BITS=64 -DFDFS_OUTPUT_CHUNK_SIZE=‘256*1024‘ -DFDFS_MOD_CONF_FILENAME=‘"/etc/fdfs/mod_fastdfs.conf"‘ -I src/core -I src/event -I src/event/modules -I src/os/unix -I /usr/include/fastdfs -I /usr/include/fastcommon/ -I objs         -o objs/src/core/ngx_array.o         src/core/ngx_array.c
cc -c -pipe  -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g  -D_FILE_OFFSET_BITS=64 -DFDFS_OUTPUT_CHUNK_SIZE=‘256*1024‘ -DFDFS_MOD_CONF_FILENAME=‘"/etc/fdfs/mod_fastdfs.conf"‘ -I src/core -I src/event -I src/event/modules -I src/os/unix -I /usr/include/fastdfs -I /usr/include/fastcommon/ -I objs         -o objs/src/core/ngx_list.o         src/core/ngx_list.c
cc -c -pipe  -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g  -D_FILE_OFFSET_BITS=64 -DFDFS_OUTPUT_CHUNK_SIZE=‘256*1024‘ -DFDFS_MOD_CONF_FILENAME=‘"/etc/fdfs/mod_fastdfs.conf"‘ -I src/core -I src/event -I src/event/modules -I src/os/unix -I /usr/include/fastdfs -I /usr/include/fastcommon/ -I objs         -o objs/src/core/ngx_hash.o         src/core/ngx_hash.c
cc -c -pipe  -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g  -D_FILE_OFFSET_BITS=64 -DFDFS_OUTPUT_CHUNK_SIZE=‘256*1024‘ -DFDFS_MOD_CONF_FILENAME=‘"/etc/fdfs/mod_fastdfs.conf"‘ -I src/core -I src/event -I src/event/modules -I src/os/unix -I /usr/include/fastdfs -I /usr/include/fastcommon/ -I objs         -o objs/src/core/ngx_buf.o         src/core/ngx_buf.c
cc -c -pipe  -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g  -D_FILE_OFFSET_BITS=64 -DFDFS_OUTPUT_CHUNK_SIZE=‘256*1024‘ -DFDFS_MOD_CONF_FILENAME=‘"/etc/fdfs/mod_fastdfs.conf"‘ -I src/core -I src/event -I src/event/modules -I src/os/unix -I /usr/include/fastdfs -I /usr/include/fastcommon/ -I objs         -o objs/src/core/ngx_queue.o         src/core/ngx_queue.c
cc -c -pipe  -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g  -D_FILE_OFFSET_BITS=64 -DFDFS_OUTPUT_CHUNK_SIZE=‘256*1024‘ -DFDFS_MOD_CONF_FILENAME=‘"/etc/fdfs/mod_fastdfs.conf"‘ -I src/core -I src/event -I src/event/modules -I src/os/unix -I /usr/include/fastdfs -I /usr/include/fastcommon/ -I objs         -o objs/src/core/ngx_output_chain.o         src/core/ngx_output_chain.c
cc -c -pipe  -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g  -D_FILE_OFFSET_BITS=64 -DFDFS_OUTPUT_CHUNK_SIZE=‘256*1024‘ -DFDFS_MOD_CONF_FILENAME=‘"/etc/fdfs/mod_fastdfs.conf"‘ -I src/core -I src/event -I src/event/modules -I src/os/unix -I /usr/include/fastdfs -I /usr/include/fastcommon/ -I objs         -o objs/src/core/ngx_string.o         src/core/ngx_string.c
cc -c -pipe  -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g  -D_FILE_OFFSET_BITS=64 -DFDFS_OUTPUT_CHUNK_SIZE=‘256*1024‘ -DFDFS_MOD_CONF_FILENAME=‘"/etc/fdfs/mod_fastdfs.conf"‘ -I src/core -I src/event -I src/event/modules -I src/os/unix -I /usr/include/fastdfs -I /usr/include/fastcommon/ -I objs         -o objs/src/core/ngx_parse.o         src/core/ngx_parse.c
cc -c -pipe  -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g  -D_FILE_OFFSET_BITS=64 -DFDFS_OUTPUT_CHUNK_SIZE=‘256*1024‘ -DFDFS_MOD_CONF_FILENAME=‘"/etc/fdfs/mod_fastdfs.conf"‘ -I src/core -I src/event -I src/event/modules -I src/os/unix -I /usr/include/fastdfs -I /usr/include/fastcommon/ -I objs         -o objs/src/core/ngx_inet.o         src/core/ngx_inet.c
cc -c -pipe  -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g  -D_FILE_OFFSET_BITS=64 -DFDFS_OUTPUT_CHUNK_SIZE=‘256*1024‘ -DFDFS_MOD_CONF_FILENAME=‘"/etc/fdfs/mod_fastdfs.conf"‘ -I src/core -I src/event -I src/event/modules -I src/os/unix -I /usr/include/fastdfs -I /usr/include/fastcommon/ -I objs         -o objs/src/core/ngx_file.o         src/core/ngx_file.c
cc -c -pipe  -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g  -D_FILE_OFFSET_BITS=64 -DFDFS_OUTPUT_CHUNK_SIZE=‘256*1024‘ -DFDFS_MOD_CONF_FILENAME=‘"/etc/fdfs/mod_fastdfs.conf"‘ -I src/core -I src/event -I src/event/modules -I src/os/unix -I /usr/include/fastdfs -I /usr/include/fastcommon/ -I objs         -o objs/src/core/ngx_crc32.o         src/core/ngx_crc32.c
cc -c -pipe  -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g  -D_FILE_OFFSET_BITS=64 -DFDFS_OUTPUT_CHUNK_SIZE=‘256*1024‘ -DFDFS_MOD_CONF_FILENAME=‘"/etc/fdfs/mod_fastdfs.conf"‘ -I src/core -I src/event -I src/event/modules -I src/os/unix -I /usr/include/fastdfs -I /usr/include/fastcommon/ -I objs         -o objs/src/core/ngx_murmurhash.o         src/core/ngx_murmurhash.c
cc -c -pipe  -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g  -D_FILE_OFFSET_BITS=64 -DFDFS_OUTPUT_CHUNK_SIZE=‘256*1024‘ -DFDFS_MOD_CONF_FILENAME=‘"/etc/fdfs/mod_fastdfs.conf"‘ -I src/core -I src/event -I src/event/modules -I src/os/unix -I /usr/include/fastdfs -I /usr/include/fastcommon/ -I objs         -o objs/src/core/ngx_md5.o         src/core/ngx_md5.c
cc -c -pipe  -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g  -D_FILE_OFFSET_BITS=64 -DFDFS_OUTPUT_CHUNK_SIZE=‘256*1024‘ -DFDFS_MOD_CONF_FILENAME=‘"/etc/fdfs/mod_fastdfs.conf"‘ -I src/core -I src/event -I src/event/modules -I src/os/unix -I /usr/include/fastdfs -I /usr/include/fastcommon/ -I objs         -o objs/src/core/ngx_rbtree.o         src/core/ngx_rbtree.c
cc -c -pipe  -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g  -D_FILE_OFFSET_BITS=64 -DFDFS_OUTPUT_CHUNK_SIZE=‘256*1024‘ -DFDFS_MOD_CONF_FILENAME=‘"/etc/fdfs/mod_fastdfs.conf"‘ -I src/core -I src/event -I src/event/modules -I src/os/unix -I /usr/include/fastdfs -I /usr/include/fastcommon/ -I objs         -o objs/src/core/ngx_radix_tree.o         src/core/ngx_radix_tree.c
cc -c -pipe  -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g  -D_FILE_OFFSET_BITS=64 -DFDFS_OUTPUT_CHUNK_SIZE=‘256*1024‘ -DFDFS_MOD_CONF_FILENAME=‘"/etc/fdfs/mod_fastdfs.conf"‘ -I src/core -I src/event -I src/event/modules -I src/os/unix -I /usr/include/fastdfs -I /usr/include/fastcommon/ -I objs         -o objs/src/core/ngx_slab.o         src/core/ngx_slab.c
cc -c -pipe  -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g  -D_FILE_OFFSET_BITS=64 -DFDFS_OUTPUT_CHUNK_SIZE=‘256*1024‘ -DFDFS_MOD_CONF_FILENAME=‘"/etc/fdfs/mod_fastdfs.conf"‘ -I src/core -I src/event -I src/event/modules -I src/os/unix -I /usr/include/fastdfs -I /usr/include/fastcommon/ -I objs         -o objs/src/core/ngx_times.o         src/core/ngx_times.c
cc -c -pipe  -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g  -D_FILE_OFFSET_BITS=64 -DFDFS_OUTPUT_CHUNK_SIZE=‘256*1024‘ -DFDFS_MOD_CONF_FILENAME=‘"/etc/fdfs/mod_fastdfs.conf"‘ -I src/core -I src/event -I src/event/modules -I src/os/unix -I /usr/include/fastdfs -I /usr/include/fastcommon/ -I objs         -o objs/src/core/ngx_shmtx.o         src/core/ngx_shmtx.c
cc -c -pipe  -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g  -D_FILE_OFFSET_BITS=64 -DFDFS_OUTPUT_CHUNK_SIZE=‘256*1024‘ -DFDFS_MOD_CONF_FILENAME=‘"/etc/fdfs/mod_fastdfs.conf"‘ -I src/core -I src/event -I src/event/modules -I src/os/unix -I /usr/include/fastdfs -I /usr/include/fastcommon/ -I objs         -o objs/src/core/ngx_connection.o         src/core/ngx_connection.c
cc -c -pipe  -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g  -D_FILE_OFFSET_BITS=64 -DFDFS_OUTPUT_CHUNK_SIZE=‘256*1024‘ -DFDFS_MOD_CONF_FILENAME=‘"/etc/fdfs/mod_fastdfs.conf"‘ -I src/core -I src/event -I src/event/modules -I src/os/unix -I /usr/include/fastdfs -I /usr/include/fastcommon/ -I objs         -o objs/src/core/ngx_cycle.o         src/core/ngx_cycle.c
cc -c -pipe  -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g  -D_FILE_OFFSET_BITS=64 -DFDFS_OUTPUT_CHUNK_SIZE=‘256*1024‘ -DFDFS_MOD_CONF_FILENAME=‘"/etc/fdfs/mod_fastdfs.conf"‘ -I src/core -I src/event -I src/event/modules -I src/os/unix -I /usr/include/fastdfs -I /usr/include/fastcommon/ -I objs         -o objs/src/core/ngx_spinlock.o         src/core/ngx_spinlock.c
cc -c -pipe  -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g  -D_FILE_OFFSET_BITS=64 -DFDFS_OUTPUT_CHUNK_SIZE=‘256*1024‘ -DFDFS_MOD_CONF_FILENAME=‘"/etc/fdfs/mod_fastdfs.conf"‘ -I src/core -I src/event -I src/event/modules -I src/os/unix -I /usr/include/fastdfs -I /usr/include/fastcommon/ -I objs         -o objs/src/core/ngx_cpuinfo.o         src/core/ngx_cpuinfo.c
cc -c -pipe  -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g  -D_FILE_OFFSET_BITS=64 -DFDFS_OUTPUT_CHUNK_SIZE=‘256*1024‘ -DFDFS_MOD_CONF_FILENAME=‘"/etc/fdfs/mod_fastdfs.conf"‘ -I src/core -I src/event -I src/event/modules -I src/os/unix -I /usr/include/fastdfs -I /usr/include/fastcommon/ -I objs         -o objs/src/core/ngx_conf_file.o         src/core/ngx_conf_file.c
cc -c -pipe  -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g  -D_FILE_OFFSET_BITS=64 -DFDFS_OUTPUT_CHUNK_SIZE=‘256*1024‘ -DFDFS_MOD_CONF_FILENAME=‘"/etc/fdfs/mod_fastdfs.conf"‘ -I src/core -I src/event -I src/event/modules -I src/os/unix -I /usr/include/fastdfs -I /usr/include/fastcommon/ -I objs         -o objs/src/core/ngx_resolver.o         src/core/ngx_resolver.c
cc -c -pipe  -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g  -D_FILE_OFFSET_BITS=64 -DFDFS_OUTPUT_CHUNK_SIZE=‘256*1024‘ -DFDFS_MOD_CONF_FILENAME=‘"/etc/fdfs/mod_fastdfs.conf"‘ -I src/core -I src/event -I src/event/modules -I src/os/unix -I /usr/include/fastdfs -I /usr/include/fastcommon/ -I objs         -o objs/src/core/ngx_open_file_cache.o         src/core/ngx_open_file_cache.c
cc -c -pipe  -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g  -D_FILE_OFFSET_BITS=64 -DFDFS_OUTPUT_CHUNK_SIZE=‘256*1024‘ -DFDFS_MOD_CONF_FILENAME=‘"/etc/fdfs/mod_fastdfs.conf"‘ -I src/core -I src/event -I src/event/modules -I src/os/unix -I /usr/include/fastdfs -I /usr/include/fastcommon/ -I objs         -o objs/src/core/ngx_crypt.o         src/core/ngx_crypt.c
cc -c -pipe  -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g  -D_FILE_OFFSET_BITS=64 -DFDFS_OUTPUT_CHUNK_SIZE=‘256*1024‘ -DFDFS_MOD_CONF_FILENAME=‘"/etc/fdfs/mod_fastdfs.conf"‘ -I src/core -I src/event -I src/event/modules -I src/os/unix -I /usr/include/fastdfs -I /usr/include/fastcommon/ -I objs         -o objs/src/core/ngx_proxy_protocol.o         src/core/ngx_proxy_protocol.c
cc -c -pipe  -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g  -D_FILE_OFFSET_BITS=64 -DFDFS_OUTPUT_CHUNK_SIZE=‘256*1024‘ -DFDFS_MOD_CONF_FILENAME=‘"/etc/fdfs/mod_fastdfs.conf"‘ -I src/core -I src/event -I src/event/modules -I src/os/unix -I /usr/include/fastdfs -I /usr/include/fastcommon/ -I objs         -o objs/src/event/ngx_event.o         src/event/ngx_event.c
cc -c -pipe  -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g  -D_FILE_OFFSET_BITS=64 -DFDFS_OUTPUT_CHUNK_SIZE=‘256*1024‘ -DFDFS_MOD_CONF_FILENAME=‘"/etc/fdfs/mod_fastdfs.conf"‘ -I src/core -I src/event -I src/event/modules -I src/os/unix -I /usr/include/fastdfs -I /usr/include/fastcommon/ -I objs         -o objs/src/event/ngx_event_timer.o         src/event/ngx_event_timer.c
cc -c -pipe  -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g  -D_FILE_OFFSET_BITS=64 -DFDFS_OUTPUT_CHUNK_SIZE=‘256*1024‘ -DFDFS_MOD_CONF_FILENAME=‘"/etc/fdfs/mod_fastdfs.conf"‘ -I src/core -I src/event -I src/event/modules -I src/os/unix -I /usr/include/fastdfs -I /usr/include/fastcommon/ -I objs         -o objs/src/event/ngx_event_posted.o         src/event/ngx_event_posted.c
cc -c -pipe  -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g  -D_FILE_OFFSET_BITS=64 -DFDFS_OUTPUT_CHUNK_SIZE=‘256*1024‘ -DFDFS_MOD_CONF_FILENAME=‘"/etc/fdfs/mod_fastdfs.conf"‘ -I src/core -I src/event -I src/event/modules -I src/os/unix -I /usr/include/fastdfs -I /usr/include/fastcommon/ -I objs         -o objs/src/event/ngx_event_busy_lock.o         src/event/ngx_event_busy_lock.c
cc -c -pipe  -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g  -D_FILE_OFFSET_BITS=64 -DFDFS_OUTPUT_CHUNK_SIZE=‘256*1024‘ -DFDFS_MOD_CONF_FILENAME=‘"/etc/fdfs/mod_fastdfs.conf"‘ -I src/core -I src/event -I src/event/modules -I src/os/unix -I /usr/include/fastdfs -I /usr/include/fastcommon/ -I objs         -o objs/src/event/ngx_event_accept.o         src/event/ngx_event_accept.c
cc -c -pipe  -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g  -D_FILE_OFFSET_BITS=64 -DFDFS_OUTPUT_CHUNK_SIZE=‘256*1024‘ -DFDFS_MOD_CONF_FILENAME=‘"/etc/fdfs/mod_fastdfs.conf"‘ -I src/core -I src/event -I src/event/modules -I src/os/unix -I /usr/include/fastdfs -I /usr/include/fastcommon/ -I objs         -o objs/src/event/ngx_event_connect.o         src/event/ngx_event_connect.c
cc -c -pipe  -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g  -D_FILE_OFFSET_BITS=64 -DFDFS_OUTPUT_CHUNK_SIZE=‘256*1024‘ -DFDFS_MOD_CONF_FILENAME=‘"/etc/fdfs/mod_fastdfs.conf"‘ -I src/core -I src/event -I src/event/modules -I src/os/unix -I /usr/include/fastdfs -I /usr/include/fastcommon/ -I objs         -o objs/src/event/ngx_event_pipe.o         src/event/ngx_event_pipe.c
cc -c -pipe  -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g  -D_FILE_OFFSET_BITS=64 -DFDFS_OUTPUT_CHUNK_SIZE=‘256*1024‘ -DFDFS_MOD_CONF_FILENAME=‘"/etc/fdfs/mod_fastdfs.conf"‘ -I src/core -I src/event -I src/event/modules -I src/os/unix -I /usr/include/fastdfs -I /usr/include/fastcommon/ -I objs         -o objs/src/os/unix/ngx_time.o         src/os/unix/ngx_time.c
cc -c -pipe  -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g  -D_FILE_OFFSET_BITS=64 -DFDFS_OUTPUT_CHUNK_SIZE=‘256*1024‘ -DFDFS_MOD_CONF_FILENAME=‘"/etc/fdfs/mod_fastdfs.conf"‘ -I src/core -I src/event -I src/event/modules -I src/os/unix -I /usr/include/fastdfs -I /usr/include/fastcommon/ -I objs         -o objs/src/os/unix/ngx_errno.o         src/os/unix/ngx_errno.c
cc -c -pipe  -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g  -D_FILE_OFFSET_BITS=64 -DFDFS_OUTPUT_CHUNK_SIZE=‘256*1024‘ -DFDFS_MOD_CONF_FILENAME=‘"/etc/fdfs/mod_fastdfs.conf"‘ -I src/core -I src/event -I src/event/modules -I src/os/unix -I /usr/include/fastdfs -I /usr/include/fastcommon/ -I objs         -o objs/src/os/unix/ngx_alloc.o         src/os/unix/ngx_alloc.c
cc -c -pipe  -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g  -D_FILE_OFFSET_BITS=64 -DFDFS_OUTPUT_CHUNK_SIZE=‘256*1024‘ -DFDFS_MOD_CONF_FILENAME=‘"/etc/fdfs/mod_fastdfs.conf"‘ -I src/core -I src/event -I src/event/modules -I src/os/unix -I /usr/include/fastdfs -I /usr/include/fastcommon/ -I objs         -o objs/src/os/unix/ngx_files.o         src/os/unix/ngx_files.c
cc -c -pipe  -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g  -D_FILE_OFFSET_BITS=64 -DFDFS_OUTPUT_CHUNK_SIZE=‘256*1024‘ -DFDFS_MOD_CONF_FILENAME=‘"/etc/fdfs/mod_fastdfs.conf"‘ -I src/core -I src/event -I src/event/modules -I src/os/unix -I /usr/include/fastdfs -I /usr/include/fastcommon/ -I objs         -o objs/src/os/unix/ngx_socket.o         src/os/unix/ngx_socket.c
cc -c -pipe  -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g  -D_FILE_OFFSET_BITS=64 -DFDFS_OUTPUT_CHUNK_SIZE=‘256*1024‘ -DFDFS_MOD_CONF_FILENAME=‘"/etc/fdfs/mod_fastdfs.conf"‘ -I src/core -I src/event -I src/event/modules -I src/os/unix -I /usr/include/fastdfs -I /usr/include/fastcommon/ -I objs         -o objs/src/os/unix/ngx_recv.o         src/os/unix/ngx_recv.c
cc -c -pipe  -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g  -D_FILE_OFFSET_BITS=64 -DFDFS_OUTPUT_CHUNK_SIZE=‘256*1024‘ -DFDFS_MOD_CONF_FILENAME=‘"/etc/fdfs/mod_fastdfs.conf"‘ -I src/core -I src/event -I src/event/modules -I src/os/unix -I /usr/include/fastdfs -I /usr/include/fastcommon/ -I objs         -o objs/src/os/unix/ngx_readv_chain.o         src/os/unix/ngx_readv_chain.c
cc -c -pipe  -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g  -D_FILE_OFFSET_BITS=64 -DFDFS_OUTPUT_CHUNK_SIZE=‘256*1024‘ -DFDFS_MOD_CONF_FILENAME=‘"/etc/fdfs/mod_fastdfs.conf"‘ -I src/core -I src/event -I src/event/modules -I src/os/unix -I /usr/include/fastdfs -I /usr/include/fastcommon/ -I objs         -o objs/src/os/unix/ngx_udp_recv.o         src/os/unix/ngx_udp_recv.c
cc -c -pipe  -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g  -D_FILE_OFFSET_BITS=64 -DFDFS_OUTPUT_CHUNK_SIZE=‘256*1024‘ -DFDFS_MOD_CONF_FILENAME=‘"/etc/fdfs/mod_fastdfs.conf"‘ -I src/core -I src/event -I src/event/modules -I src/os/unix -I /usr/include/fastdfs -I /usr/include/fastcommon/ -I objs         -o objs/src/os/unix/ngx_send.o         src/os/unix/ngx_send.c
cc -c -pipe  -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g  -D_FILE_OFFSET_BITS=64 -DFDFS_OUTPUT_CHUNK_SIZE=‘256*1024‘ -DFDFS_MOD_CONF_FILENAME=‘"/etc/fdfs/mod_fastdfs.conf"‘ -I src/core -I src/event -I src/event/modules -I src/os/unix -I /usr/include/fastdfs -I /usr/include/fastcommon/ -I objs         -o objs/src/os/unix/ngx_writev_chain.o         src/os/unix/ngx_writev_chain.c
cc -c -pipe  -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g  -D_FILE_OFFSET_BITS=64 -DFDFS_OUTPUT_CHUNK_SIZE=‘256*1024‘ -DFDFS_MOD_CONF_FILENAME=‘"/etc/fdfs/mod_fastdfs.conf"‘ -I src/core -I src/event -I src/event/modules -I src/os/unix -I /usr/include/fastdfs -I /usr/include/fastcommon/ -I objs         -o objs/src/os/unix/ngx_channel.o         src/os/unix/ngx_channel.c
cc -c -pipe  -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g  -D_FILE_OFFSET_BITS=64 -DFDFS_OUTPUT_CHUNK_SIZE=‘256*1024‘ -DFDFS_MOD_CONF_FILENAME=‘"/etc/fdfs/mod_fastdfs.conf"‘ -I src/core -I src/event -I src/event/modules -I src/os/unix -I /usr/include/fastdfs -I /usr/include/fastcommon/ -I objs         -o objs/src/os/unix/ngx_shmem.o         src/os/unix/ngx_shmem.c
cc -c -pipe  -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g  -D_FILE_OFFSET_BITS=64 -DFDFS_OUTPUT_CHUNK_SIZE=‘256*1024‘ -DFDFS_MOD_CONF_FILENAME=‘"/etc/fdfs/mod_fastdfs.conf"‘ -I src/core -I src/event -I src/event/modules -I src/os/unix -I /usr/include/fastdfs -I /usr/include/fastcommon/ -I objs         -o objs/src/os/unix/ngx_process.o         src/os/unix/ngx_process.c
cc -c -pipe  -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g  -D_FILE_OFFSET_BITS=64 -DFDFS_OUTPUT_CHUNK_SIZE=‘256*1024‘ -DFDFS_MOD_CONF_FILENAME=‘"/etc/fdfs/mod_fastdfs.conf"‘ -I src/core -I src/event -I src/event/modules -I src/os/unix -I /usr/include/fastdfs -I /usr/include/fastcommon/ -I objs         -o objs/src/os/unix/ngx_daemon.o         src/os/unix/ngx_daemon.c
cc -c -pipe  -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g  -D_FILE_OFFSET_BITS=64 -DFDFS_OUTPUT_CHUNK_SIZE=‘256*1024‘ -DFDFS_MOD_CONF_FILENAME=‘"/etc/fdfs/mod_fastdfs.conf"‘ -I src/core -I src/event -I src/event/modules -I src/os/unix -I /usr/include/fastdfs -I /usr/include/fastcommon/ -I objs         -o objs/src/os/unix/ngx_setaffinity.o         src/os/unix/ngx_setaffinity.c
cc -c -pipe  -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g  -D_FILE_OFFSET_BITS=64 -DFDFS_OUTPUT_CHUNK_SIZE=‘256*1024‘ -DFDFS_MOD_CONF_FILENAME=‘"/etc/fdfs/mod_fastdfs.conf"‘ -I src/core -I src/event -I src/event/modules -I src/os/unix -I /usr/include/fastdfs -I /usr/include/fastcommon/ -I objs         -o objs/src/os/unix/ngx_setproctitle.o         src/os/unix/ngx_setproctitle.c
cc -c -pipe  -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g  -D_FILE_OFFSET_BITS=64 -DFDFS_OUTPUT_CHUNK_SIZE=‘256*1024‘ -DFDFS_MOD_CONF_FILENAME=‘"/etc/fdfs/mod_fastdfs.conf"‘ -I src/core -I src/event -I src/event/modules -I src/os/unix -I /usr/include/fastdfs -I /usr/include/fastcommon/ -I objs         -o objs/src/os/unix/ngx_posix_init.o         src/os/unix/ngx_posix_init.c
cc -c -pipe  -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g  -D_FILE_OFFSET_BITS=64 -DFDFS_OUTPUT_CHUNK_SIZE=‘256*1024‘ -DFDFS_MOD_CONF_FILENAME=‘"/etc/fdfs/mod_fastdfs.conf"‘ -I src/core -I src/event -I src/event/modules -I src/os/unix -I /usr/include/fastdfs -I /usr/include/fastcommon/ -I objs         -o objs/src/os/unix/ngx_user.o         src/os/unix/ngx_user.c
cc -c -pipe  -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g  -D_FILE_OFFSET_BITS=64 -DFDFS_OUTPUT_CHUNK_SIZE=‘256*1024‘ -DFDFS_MOD_CONF_FILENAME=‘"/etc/fdfs/mod_fastdfs.conf"‘ -I src/core -I src/event -I src/event/modules -I src/os/unix -I /usr/include/fastdfs -I /usr/include/fastcommon/ -I objs         -o objs/src/os/unix/ngx_process_cycle.o         src/os/unix/ngx_process_cycle.c
cc -c -pipe  -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g  -D_FILE_OFFSET_BITS=64 -DFDFS_OUTPUT_CHUNK_SIZE=‘256*1024‘ -DFDFS_MOD_CONF_FILENAME=‘"/etc/fdfs/mod_fastdfs.conf"‘ -I src/core -I src/event -I src/event/modules -I src/os/unix -I /usr/include/fastdfs -I /usr/include/fastcommon/ -I objs         -o objs/src/os/unix/ngx_linux_init.o         src/os/unix/ngx_linux_init.c
cc -c -pipe  -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g  -D_FILE_OFFSET_BITS=64 -DFDFS_OUTPUT_CHUNK_SIZE=‘256*1024‘ -DFDFS_MOD_CONF_FILENAME=‘"/etc/fdfs/mod_fastdfs.conf"‘ -I src/core -I src/event -I src/event/modules -I src/os/unix -I /usr/include/fastdfs -I /usr/include/fastcommon/ -I objs         -o objs/src/event/modules/ngx_epoll_module.o         src/event/modules/ngx_epoll_module.c
cc -c -pipe  -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g  -D_FILE_OFFSET_BITS=64 -DFDFS_OUTPUT_CHUNK_SIZE=‘256*1024‘ -DFDFS_MOD_CONF_FILENAME=‘"/etc/fdfs/mod_fastdfs.conf"‘ -I src/core -I src/event -I src/event/modules -I src/os/unix -I /usr/include/fastdfs -I /usr/include/fastcommon/ -I objs         -o objs/src/os/unix/ngx_linux_sendfile_chain.o         src/os/unix/ngx_linux_sendfile_chain.c
cc -c -pipe  -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g  -D_FILE_OFFSET_BITS=64 -DFDFS_OUTPUT_CHUNK_SIZE=‘256*1024‘ -DFDFS_MOD_CONF_FILENAME=‘"/etc/fdfs/mod_fastdfs.conf"‘ -I src/core -I src/event -I src/event/modules -I src/os/unix -I /usr/include/fastdfs -I /usr/include/fastcommon/ -I objs         -o objs/src/core/ngx_regex.o         src/core/ngx_regex.c
cc -c -pipe  -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g  -D_FILE_OFFSET_BITS=64 -DFDFS_OUTPUT_CHUNK_SIZE=‘256*1024‘ -DFDFS_MOD_CONF_FILENAME=‘"/etc/fdfs/mod_fastdfs.conf"‘ -I src/core -I src/event -I src/event/modules -I src/os/unix -I /usr/include/fastdfs -I /usr/include/fastcommon/ -I objs -I src/http -I src/http/modules         -o objs/src/http/ngx_http.o         src/http/ngx_http.c
cc -c -pipe  -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g  -D_FILE_OFFSET_BITS=64 -DFDFS_OUTPUT_CHUNK_SIZE=‘256*1024‘ -DFDFS_MOD_CONF_FILENAME=‘"/etc/fdfs/mod_fastdfs.conf"‘ -I src/core -I src/event -I src/event/modules -I src/os/unix -I /usr/include/fastdfs -I /usr/include/fastcommon/ -I objs -I src/http -I src/http/modules         -o objs/src/http/ngx_http_core_module.o         src/http/ngx_http_core_module.c
cc -c -pipe  -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g  -D_FILE_OFFSET_BITS=64 -DFDFS_OUTPUT_CHUNK_SIZE=‘256*1024‘ -DFDFS_MOD_CONF_FILENAME=‘"/etc/fdfs/mod_fastdfs.conf"‘ -I src/core -I src/event -I src/event/modules -I src/os/unix -I /usr/include/fastdfs -I /usr/include/fastcommon/ -I objs -I src/http -I src/http/modules         -o objs/src/http/ngx_http_special_response.o         src/http/ngx_http_special_response.c
cc -c -pipe  -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g  -D_FILE_OFFSET_BITS=64 -DFDFS_OUTPUT_CHUNK_SIZE=‘256*1024‘ -DFDFS_MOD_CONF_FILENAME=‘"/etc/fdfs/mod_fastdfs.conf"‘ -I src/core -I src/event -I src/event/modules -I src/os/unix -I /usr/include/fastdfs -I /usr/include/fastcommon/ -I objs -I src/http -I src/http/modules         -o objs/src/http/ngx_http_request.o         src/http/ngx_http_request.c
cc -c -pipe  -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g  -D_FILE_OFFSET_BITS=64 -DFDFS_OUTPUT_CHUNK_SIZE=‘256*1024‘ -DFDFS_MOD_CONF_FILENAME=‘"/etc/fdfs/mod_fastdfs.conf"‘ -I src/core -I src/event -I src/event/modules -I src/os/unix -I /usr/include/fastdfs -I /usr/include/fastcommon/ -I objs -I src/http -I src/http/modules         -o objs/src/http/ngx_http_parse.o         src/http/ngx_http_parse.c
cc -c -pipe  -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g  -D_FILE_OFFSET_BITS=64 -DFDFS_OUTPUT_CHUNK_SIZE=‘256*1024‘ -DFDFS_MOD_CONF_FILENAME=‘"/etc/fdfs/mod_fastdfs.conf"‘ -I src/core -I src/event -I src/event/modules -I src/os/unix -I /usr/include/fastdfs -I /usr/include/fastcommon/ -I objs -I src/http -I src/http/modules         -o objs/src/http/ngx_http_header_filter_module.o         src/http/ngx_http_header_filter_module.c
cc -c -pipe  -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g  -D_FILE_OFFSET_BITS=64 -DFDFS_OUTPUT_CHUNK_SIZE=‘256*1024‘ -DFDFS_MOD_CONF_FILENAME=‘"/etc/fdfs/mod_fastdfs.conf"‘ -I src/core -I src/event -I src/event/modules -I src/os/unix -I /usr/include/fastdfs -I /usr/include/fastcommon/ -I objs -I src/http -I src/http/modules         -o objs/src/http/ngx_http_write_filter_module.o         src/http/ngx_http_write_filter_module.c
cc -c -pipe  -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g  -D_FILE_OFFSET_BITS=64 -DFDFS_OUTPUT_CHUNK_SIZE=‘256*1024‘ -DFDFS_MOD_CONF_FILENAME=‘"/etc/fdfs/mod_fastdfs.conf"‘ -I src/core -I src/event -I src/event/modules -I src/os/unix -I /usr/include/fastdfs -I /usr/include/fastcommon/ -I objs -I src/http -I src/http/modules         -o objs/src/http/ngx_http_copy_filter_module.o         src/http/ngx_http_copy_filter_module.c
cc -c -pipe  -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g  -D_FILE_OFFSET_BITS=64 -DFDFS_OUTPUT_CHUNK_SIZE=‘256*1024‘ -DFDFS_MOD_CONF_FILENAME=‘"/etc/fdfs/mod_fastdfs.conf"‘ -I src/core -I src/event -I src/event/modules -I src/os/unix -I /usr/include/fastdfs -I /usr/include/fastcommon/ -I objs -I src/http -I src/http/modules         -o objs/src/http/modules/ngx_http_log_module.o         src/http/modules/ngx_http_log_module.c
cc -c -pipe  -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g  -D_FILE_OFFSET_BITS=64 -DFDFS_OUTPUT_CHUNK_SIZE=‘256*1024‘ -DFDFS_MOD_CONF_FILENAME=‘"/etc/fdfs/mod_fastdfs.conf"‘ -I src/core -I src/event -I src/event/modules -I src/os/unix -I /usr/include/fastdfs -I /usr/include/fastcommon/ -I objs -I src/http -I src/http/modules         -o objs/src/http/ngx_http_request_body.o         src/http/ngx_http_request_body.c
cc -c -pipe  -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g  -D_FILE_OFFSET_BITS=64 -DFDFS_OUTPUT_CHUNK_SIZE=‘256*1024‘ -DFDFS_MOD_CONF_FILENAME=‘"/etc/fdfs/mod_fastdfs.conf"‘ -I src/core -I src/event -I src/event/modules -I src/os/unix -I /usr/include/fastdfs -I /usr/include/fastcommon/ -I objs -I src/http -I src/http/modules         -o objs/src/http/ngx_http_variables.o         src/http/ngx_http_variables.c
cc -c -pipe  -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g  -D_FILE_OFFSET_BITS=64 -DFDFS_OUTPUT_CHUNK_SIZE=‘256*1024‘ -DFDFS_MOD_CONF_FILENAME=‘"/etc/fdfs/mod_fastdfs.conf"‘ -I src/core -I src/event -I src/event/modules -I src/os/unix -I /usr/include/fastdfs -I /usr/include/fastcommon/ -I objs -I src/http -I src/http/modules         -o objs/src/http/ngx_http_script.o         src/http/ngx_http_script.c
cc -c -pipe  -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g  -D_FILE_OFFSET_BITS=64 -DFDFS_OUTPUT_CHUNK_SIZE=‘256*1024‘ -DFDFS_MOD_CONF_FILENAME=‘"/etc/fdfs/mod_fastdfs.conf"‘ -I src/core -I src/event -I src/event/modules -I src/os/unix -I /usr/include/fastdfs -I /usr/include/fastcommon/ -I objs -I src/http -I src/http/modules         -o objs/src/http/ngx_http_upstream.o         src/http/ngx_http_upstream.c
cc -c -pipe  -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g  -D_FILE_OFFSET_BITS=64 -DFDFS_OUTPUT_CHUNK_SIZE=‘256*1024‘ -DFDFS_MOD_CONF_FILENAME=‘"/etc/fdfs/mod_fastdfs.conf"‘ -I src/core -I src/event -I src/event/modules -I src/os/unix -I /usr/include/fastdfs -I /usr/include/fastcommon/ -I objs -I src/http -I src/http/modules         -o objs/src/http/ngx_http_upstream_round_robin.o         src/http/ngx_http_upstream_round_robin.c
cc -c -pipe  -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g  -D_FILE_OFFSET_BITS=64 -DFDFS_OUTPUT_CHUNK_SIZE=‘256*1024‘ -DFDFS_MOD_CONF_FILENAME=‘"/etc/fdfs/mod_fastdfs.conf"‘ -I src/core -I src/event -I src/event/modules -I src/os/unix -I /usr/include/fastdfs -I /usr/include/fastcommon/ -I objs -I src/http -I src/http/modules         -o objs/src/http/ngx_http_parse_time.o         src/http/ngx_http_parse_time.c
cc -c -pipe  -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g  -D_FILE_OFFSET_BITS=64 -DFDFS_OUTPUT_CHUNK_SIZE=‘256*1024‘ -DFDFS_MOD_CONF_FILENAME=‘"/etc/fdfs/mod_fastdfs.conf"‘ -I src/core -I src/event -I src/event/modules -I src/os/unix -I /usr/include/fastdfs -I /usr/include/fastcommon/ -I objs -I src/http -I src/http/modules         -o objs/src/http/modules/ngx_http_static_module.o         src/http/modules/ngx_http_static_module.c
cc -c -pipe  -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g  -D_FILE_OFFSET_BITS=64 -DFDFS_OUTPUT_CHUNK_SIZE=‘256*1024‘ -DFDFS_MOD_CONF_FILENAME=‘"/etc/fdfs/mod_fastdfs.conf"‘ -I src/core -I src/event -I src/event/modules -I src/os/unix -I /usr/include/fastdfs -I /usr/include/fastcommon/ -I objs -I src/http -I src/http/modules         -o objs/src/http/modules/ngx_http_index_module.o         src/http/modules/ngx_http_index_module.c
cc -c -pipe  -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g  -D_FILE_OFFSET_BITS=64 -DFDFS_OUTPUT_CHUNK_SIZE=‘256*1024‘ -DFDFS_MOD_CONF_FILENAME=‘"/etc/fdfs/mod_fastdfs.conf"‘ -I src/core -I src/event -I src/event/modules -I src/os/unix -I /usr/include/fastdfs -I /usr/include/fastcommon/ -I objs -I src/http -I src/http/modules         -o objs/src/http/modules/ngx_http_chunked_filter_module.o         src/http/modules/ngx_http_chunked_filter_module.c
cc -c -pipe  -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g  -D_FILE_OFFSET_BITS=64 -DFDFS_OUTPUT_CHUNK_SIZE=‘256*1024‘ -DFDFS_MOD_CONF_FILENAME=‘"/etc/fdfs/mod_fastdfs.conf"‘ -I src/core -I src/event -I src/event/modules -I src/os/unix -I /usr/include/fastdfs -I /usr/include/fastcommon/ -I objs -I src/http -I src/http/modules         -o objs/src/http/modules/ngx_http_range_filter_module.o         src/http/modules/ngx_http_range_filter_module.c
cc -c -pipe  -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g  -D_FILE_OFFSET_BITS=64 -DFDFS_OUTPUT_CHUNK_SIZE=‘256*1024‘ -DFDFS_MOD_CONF_FILENAME=‘"/etc/fdfs/mod_fastdfs.conf"‘ -I src/core -I src/event -I src/event/modules -I src/os/unix -I /usr/include/fastdfs -I /usr/include/fastcommon/ -I objs -I src/http -I src/http/modules         -o objs/src/http/modules/ngx_http_headers_filter_module.o         src/http/modules/ngx_http_headers_filter_module.c
cc -c -pipe  -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g  -D_FILE_OFFSET_BITS=64 -DFDFS_OUTPUT_CHUNK_SIZE=‘256*1024‘ -DFDFS_MOD_CONF_FILENAME=‘"/etc/fdfs/mod_fastdfs.conf"‘ -I src/core -I src/event -I src/event/modules -I src/os/unix -I /usr/include/fastdfs -I /usr/include/fastcommon/ -I objs -I src/http -I src/http/modules         -o objs/src/http/modules/ngx_http_not_modified_filter_module.o         src/http/modules/ngx_http_not_modified_filter_module.c
cc -c -pipe  -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g  -D_FILE_OFFSET_BITS=64 -DFDFS_OUTPUT_CHUNK_SIZE=‘256*1024‘ -DFDFS_MOD_CONF_FILENAME=‘"/etc/fdfs/mod_fastdfs.conf"‘ -I src/core -I src/event -I src/event/modules -I src/os/unix -I /usr/include/fastdfs -I /usr/include/fastcommon/ -I objs -I src/http -I src/http/modules         -o objs/src/http/ngx_http_busy_lock.o         src/http/ngx_http_busy_lock.c
cc -c -pipe  -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g  -D_FILE_OFFSET_BITS=64 -DFDFS_OUTPUT_CHUNK_SIZE=‘256*1024‘ -DFDFS_MOD_CONF_FILENAME=‘"/etc/fdfs/mod_fastdfs.conf"‘ -I src/core -I src/event -I src/event/modules -I src/os/unix -I /usr/include/fastdfs -I /usr/include/fastcommon/ -I objs -I src/http -I src/http/modules         -o objs/src/http/ngx_http_file_cache.o         src/http/ngx_http_file_cache.c
cc -c -pipe  -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g  -D_FILE_OFFSET_BITS=64 -DFDFS_OUTPUT_CHUNK_SIZE=‘256*1024‘ -DFDFS_MOD_CONF_FILENAME=‘"/etc/fdfs/mod_fastdfs.conf"‘ -I src/core -I src/event -I src/event/modules -I src/os/unix -I /usr/include/fastdfs -I /usr/include/fastcommon/ -I objs -I src/http -I src/http/modules         -o objs/src/http/modules/ngx_http_gzip_filter_module.o         src/http/modules/ngx_http_gzip_filter_module.c
cc -c -pipe  -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g  -D_FILE_OFFSET_BITS=64 -DFDFS_OUTPUT_CHUNK_SIZE=‘256*1024‘ -DFDFS_MOD_CONF_FILENAME=‘"/etc/fdfs/mod_fastdfs.conf"‘ -I src/core -I src/event -I src/event/modules -I src/os/unix -I /usr/include/fastdfs -I /usr/include/fastcommon/ -I objs -I src/http -I src/http/modules         -o objs/src/http/ngx_http_postpone_filter_module.o         src/http/ngx_http_postpone_filter_module.c
cc -c -pipe  -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g  -D_FILE_OFFSET_BITS=64 -DFDFS_OUTPUT_CHUNK_SIZE=‘256*1024‘ -DFDFS_MOD_CONF_FILENAME=‘"/etc/fdfs/mod_fastdfs.conf"‘ -I src/core -I src/event -I src/event/modules -I src/os/unix -I /usr/include/fastdfs -I /usr/include/fastcommon/ -I objs -I src/http -I src/http/modules         -o objs/src/http/modules/ngx_http_ssi_filter_module.o         src/http/modules/ngx_http_ssi_filter_module.c
cc -c -pipe  -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g  -D_FILE_OFFSET_BITS=64 -DFDFS_OUTPUT_CHUNK_SIZE=‘256*1024‘ -DFDFS_MOD_CONF_FILENAME=‘"/etc/fdfs/mod_fastdfs.conf"‘ -I src/core -I src/event -I src/event/modules -I src/os/unix -I /usr/include/fastdfs -I /usr/include/fastcommon/ -I objs -I src/http -I src/http/modules         -o objs/src/http/modules/ngx_http_charset_filter_module.o         src/http/modules/ngx_http_charset_filter_module.c
cc -c -pipe  -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g  -D_FILE_OFFSET_BITS=64 -DFDFS_OUTPUT_CHUNK_SIZE=‘256*1024‘ -DFDFS_MOD_CONF_FILENAME=‘"/etc/fdfs/mod_fastdfs.conf"‘ -I src/core -I src/event -I src/event/modules -I src/os/unix -I /usr/include/fastdfs -I /usr/include/fastcommon/ -I objs -I src/http -I src/http/modules         -o objs/src/http/modules/ngx_http_userid_filter_module.o         src/http/modules/ngx_http_userid_filter_module.c
cc -c -pipe  -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g  -D_FILE_OFFSET_BITS=64 -DFDFS_OUTPUT_CHUNK_SIZE=‘256*1024‘ -DFDFS_MOD_CONF_FILENAME=‘"/etc/fdfs/mod_fastdfs.conf"‘ -I src/core -I src/event -I src/event/modules -I src/os/unix -I /usr/include/fastdfs -I /usr/include/fastcommon/ -I objs -I src/http -I src/http/modules         -o objs/src/http/modules/ngx_http_autoindex_module.o         src/http/modules/ngx_http_autoindex_module.c
cc -c -pipe  -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g  -D_FILE_OFFSET_BITS=64 -DFDFS_OUTPUT_CHUNK_SIZE=‘256*1024‘ -DFDFS_MOD_CONF_FILENAME=‘"/etc/fdfs/mod_fastdfs.conf"‘ -I src/core -I src/event -I src/event/modules -I src/os/unix -I /usr/include/fastdfs -I /usr/include/fastcommon/ -I objs -I src/http -I src/http/modules         -o objs/src/http/modules/ngx_http_auth_basic_module.o         src/http/modules/ngx_http_auth_basic_module.c
cc -c -pipe  -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g  -D_FILE_OFFSET_BITS=64 -DFDFS_OUTPUT_CHUNK_SIZE=‘256*1024‘ -DFDFS_MOD_CONF_FILENAME=‘"/etc/fdfs/mod_fastdfs.conf"‘ -I src/core -I src/event -I src/event/modules -I src/os/unix -I /usr/include/fastdfs -I /usr/include/fastcommon/ -I objs -I src/http -I src/http/modules         -o objs/src/http/modules/ngx_http_access_module.o         src/http/modules/ngx_http_access_module.c
cc -c -pipe  -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g  -D_FILE_OFFSET_BITS=64 -DFDFS_OUTPUT_CHUNK_SIZE=‘256*1024‘ -DFDFS_MOD_CONF_FILENAME=‘"/etc/fdfs/mod_fastdfs.conf"‘ -I src/core -I src/event -I src/event/modules -I src/os/unix -I /usr/include/fastdfs -I /usr/include/fastcommon/ -I objs -I src/http -I src/http/modules         -o objs/src/http/modules/ngx_http_limit_conn_module.o         src/http/modules/ngx_http_limit_conn_module.c
cc -c -pipe  -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g  -D_FILE_OFFSET_BITS=64 -DFDFS_OUTPUT_CHUNK_SIZE=‘256*1024‘ -DFDFS_MOD_CONF_FILENAME=‘"/etc/fdfs/mod_fastdfs.conf"‘ -I src/core -I src/event -I src/event/modules -I src/os/unix -I /usr/include/fastdfs -I /usr/include/fastcommon/ -I objs -I src/http -I src/http/modules         -o objs/src/http/modules/ngx_http_limit_req_module.o         src/http/modules/ngx_http_limit_req_module.c
cc -c -pipe  -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g  -D_FILE_OFFSET_BITS=64 -DFDFS_OUTPUT_CHUNK_SIZE=‘256*1024‘ -DFDFS_MOD_CONF_FILENAME=‘"/etc/fdfs/mod_fastdfs.conf"‘ -I src/core -I src/event -I src/event/modules -I src/os/unix -I /usr/include/fastdfs -I /usr/include/fastcommon/ -I objs -I src/http -I src/http/modules         -o objs/src/http/modules/ngx_http_geo_module.o         src/http/modules/ngx_http_geo_module.c
cc -c -pipe  -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g  -D_FILE_OFFSET_BITS=64 -DFDFS_OUTPUT_CHUNK_SIZE=‘256*1024‘ -DFDFS_MOD_CONF_FILENAME=‘"/etc/fdfs/mod_fastdfs.conf"‘ -I src/core -I src/event -I src/event/modules -I src/os/unix -I /usr/include/fastdfs -I /usr/include/fastcommon/ -I objs -I src/http -I src/http/modules         -o objs/src/http/modules/ngx_http_map_module.o         src/http/modules/ngx_http_map_module.c
cc -c -pipe  -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g  -D_FILE_OFFSET_BITS=64 -DFDFS_OUTPUT_CHUNK_SIZE=‘256*1024‘ -DFDFS_MOD_CONF_FILENAME=‘"/etc/fdfs/mod_fastdfs.conf"‘ -I src/core -I src/event -I src/event/modules -I src/os/unix -I /usr/include/fastdfs -I /usr/include/fastcommon/ -I objs -I src/http -I src/http/modules         -o objs/src/http/modules/ngx_http_split_clients_module.o         src/http/modules/ngx_http_split_clients_module.c
cc -c -pipe  -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g  -D_FILE_OFFSET_BITS=64 -DFDFS_OUTPUT_CHUNK_SIZE=‘256*1024‘ -DFDFS_MOD_CONF_FILENAME=‘"/etc/fdfs/mod_fastdfs.conf"‘ -I src/core -I src/event -I src/event/modules -I src/os/unix -I /usr/include/fastdfs -I /usr/include/fastcommon/ -I objs -I src/http -I src/http/modules         -o objs/src/http/modules/ngx_http_referer_module.o         src/http/modules/ngx_http_referer_module.c
cc -c -pipe  -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g  -D_FILE_OFFSET_BITS=64 -DFDFS_OUTPUT_CHUNK_SIZE=‘256*1024‘ -DFDFS_MOD_CONF_FILENAME=‘"/etc/fdfs/mod_fastdfs.conf"‘ -I src/core -I src/event -I src/event/modules -I src/os/unix -I /usr/include/fastdfs -I /usr/include/fastcommon/ -I objs -I src/http -I src/http/modules         -o objs/src/http/modules/ngx_http_rewrite_module.o         src/http/modules/ngx_http_rewrite_module.c
cc -c -pipe  -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g  -D_FILE_OFFSET_BITS=64 -DFDFS_OUTPUT_CHUNK_SIZE=‘256*1024‘ -DFDFS_MOD_CONF_FILENAME=‘"/etc/fdfs/mod_fastdfs.conf"‘ -I src/core -I src/event -I src/event/modules -I src/os/unix -I /usr/include/fastdfs -I /usr/include/fastcommon/ -I objs -I src/http -I src/http/modules         -o objs/src/http/modules/ngx_http_proxy_module.o         src/http/modules/ngx_http_proxy_module.c
cc -c -pipe  -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g  -D_FILE_OFFSET_BITS=64 -DFDFS_OUTPUT_CHUNK_SIZE=‘256*1024‘ -DFDFS_MOD_CONF_FILENAME=‘"/etc/fdfs/mod_fastdfs.conf"‘ -I src/core -I src/event -I src/event/modules -I src/os/unix -I /usr/include/fastdfs -I /usr/include/fastcommon/ -I objs -I src/http -I src/http/modules         -o objs/src/http/modules/ngx_http_fastcgi_module.o         src/http/modules/ngx_http_fastcgi_module.c
cc -c -pipe  -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g  -D_FILE_OFFSET_BITS=64 -DFDFS_OUTPUT_CHUNK_SIZE=‘256*1024‘ -DFDFS_MOD_CONF_FILENAME=‘"/etc/fdfs/mod_fastdfs.conf"‘ -I src/core -I src/event -I src/event/modules -I src/os/unix -I /usr/include/fastdfs -I /usr/include/fastcommon/ -I objs -I src/http -I src/http/modules         -o objs/src/http/modules/ngx_http_uwsgi_module.o         src/http/modules/ngx_http_uwsgi_module.c
cc -c -pipe  -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g  -D_FILE_OFFSET_BITS=64 -DFDFS_OUTPUT_CHUNK_SIZE=‘256*1024‘ -DFDFS_MOD_CONF_FILENAME=‘"/etc/fdfs/mod_fastdfs.conf"‘ -I src/core -I src/event -I src/event/modules -I src/os/unix -I /usr/include/fastdfs -I /usr/include/fastcommon/ -I objs -I src/http -I src/http/modules         -o objs/src/http/modules/ngx_http_scgi_module.o         src/http/modules/ngx_http_scgi_module.c
cc -c -pipe  -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g  -D_FILE_OFFSET_BITS=64 -DFDFS_OUTPUT_CHUNK_SIZE=‘256*1024‘ -DFDFS_MOD_CONF_FILENAME=‘"/etc/fdfs/mod_fastdfs.conf"‘ -I src/core -I src/event -I src/event/modules -I src/os/unix -I /usr/include/fastdfs -I /usr/include/fastcommon/ -I objs -I src/http -I src/http/modules         -o objs/src/http/modules/ngx_http_memcached_module.o         src/http/modules/ngx_http_memcached_module.c
cc -c -pipe  -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g  -D_FILE_OFFSET_BITS=64 -DFDFS_OUTPUT_CHUNK_SIZE=‘256*1024‘ -DFDFS_MOD_CONF_FILENAME=‘"/etc/fdfs/mod_fastdfs.conf"‘ -I src/core -I src/event -I src/event/modules -I src/os/unix -I /usr/include/fastdfs -I /usr/include/fastcommon/ -I objs -I src/http -I src/http/modules         -o objs/src/http/modules/ngx_http_empty_gif_module.o         src/http/modules/ngx_http_empty_gif_module.c
cc -c -pipe  -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g  -D_FILE_OFFSET_BITS=64 -DFDFS_OUTPUT_CHUNK_SIZE=‘256*1024‘ -DFDFS_MOD_CONF_FILENAME=‘"/etc/fdfs/mod_fastdfs.conf"‘ -I src/core -I src/event -I src/event/modules -I src/os/unix -I /usr/include/fastdfs -I /usr/include/fastcommon/ -I objs -I src/http -I src/http/modules         -o objs/src/http/modules/ngx_http_browser_module.o         src/http/modules/ngx_http_browser_module.c
cc -c -pipe  -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g  -D_FILE_OFFSET_BITS=64 -DFDFS_OUTPUT_CHUNK_SIZE=‘256*1024‘ -DFDFS_MOD_CONF_FILENAME=‘"/etc/fdfs/mod_fastdfs.conf"‘ -I src/core -I src/event -I src/event/modules -I src/os/unix -I /usr/include/fastdfs -I /usr/include/fastcommon/ -I objs -I src/http -I src/http/modules         -o objs/src/http/modules/ngx_http_upstream_ip_hash_module.o         src/http/modules/ngx_http_upstream_ip_hash_module.c
cc -c -pipe  -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g  -D_FILE_OFFSET_BITS=64 -DFDFS_OUTPUT_CHUNK_SIZE=‘256*1024‘ -DFDFS_MOD_CONF_FILENAME=‘"/etc/fdfs/mod_fastdfs.conf"‘ -I src/core -I src/event -I src/event/modules -I src/os/unix -I /usr/include/fastdfs -I /usr/include/fastcommon/ -I objs -I src/http -I src/http/modules         -o objs/src/http/modules/ngx_http_upstream_least_conn_module.o         src/http/modules/ngx_http_upstream_least_conn_module.c
cc -c -pipe  -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g  -D_FILE_OFFSET_BITS=64 -DFDFS_OUTPUT_CHUNK_SIZE=‘256*1024‘ -DFDFS_MOD_CONF_FILENAME=‘"/etc/fdfs/mod_fastdfs.conf"‘ -I src/core -I src/event -I src/event/modules -I src/os/unix -I /usr/include/fastdfs -I /usr/include/fastcommon/ -I objs -I src/http -I src/http/modules         -o objs/src/http/modules/ngx_http_upstream_keepalive_module.o         src/http/modules/ngx_http_upstream_keepalive_module.c
cc -c -pipe  -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g  -D_FILE_OFFSET_BITS=64 -DFDFS_OUTPUT_CHUNK_SIZE=‘256*1024‘ -DFDFS_MOD_CONF_FILENAME=‘"/etc/fdfs/mod_fastdfs.conf"‘  -I src/core -I src/event -I src/event/modules -I src/os/unix -I /usr/include/fastdfs -I /usr/include/fastcommon/ -I objs -I src/http -I src/http/modules -I src/mail         -o objs/addon/src/ngx_http_fastdfs_module.o         /usr/local/src/fastdfs-nginx-module/src/ngx_http_fastdfs_module.c
cc -c -pipe  -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g  -D_FILE_OFFSET_BITS=64 -DFDFS_OUTPUT_CHUNK_SIZE=‘256*1024‘ -DFDFS_MOD_CONF_FILENAME=‘"/etc/fdfs/mod_fastdfs.conf"‘ -I src/core -I src/event -I src/event/modules -I src/os/unix -I /usr/include/fastdfs -I /usr/include/fastcommon/ -I objs         -o objs/ngx_modules.o         objs/ngx_modules.c
cc -o objs/nginx     objs/src/core/nginx.o     objs/src/core/ngx_log.o     objs/src/core/ngx_palloc.o     objs/src/core/ngx_array.o     objs/src/core/ngx_list.o     objs/src/core/ngx_hash.o     objs/src/core/ngx_buf.o     objs/src/core/ngx_queue.o     objs/src/core/ngx_output_chain.o     objs/src/core/ngx_string.o     objs/src/core/ngx_parse.o     objs/src/core/ngx_inet.o     objs/src/core/ngx_file.o     objs/src/core/ngx_crc32.o     objs/src/core/ngx_murmurhash.o     objs/src/core/ngx_md5.o     objs/src/core/ngx_rbtree.o     objs/src/core/ngx_radix_tree.o     objs/src/core/ngx_slab.o     objs/src/core/ngx_times.o     objs/src/core/ngx_shmtx.o     objs/src/core/ngx_connection.o     objs/src/core/ngx_cycle.o     objs/src/core/ngx_spinlock.o     objs/src/core/ngx_cpuinfo.o     objs/src/core/ngx_conf_file.o     objs/src/core/ngx_resolver.o     objs/src/core/ngx_open_file_cache.o     objs/src/core/ngx_crypt.o     objs/src/core/ngx_proxy_protocol.o     objs/src/event/ngx_event.o     objs/src/event/ngx_event_timer.o     objs/src/event/ngx_event_posted.o     objs/src/event/ngx_event_busy_lock.o     objs/src/event/ngx_event_accept.o     objs/src/event/ngx_event_connect.o     objs/src/event/ngx_event_pipe.o     objs/src/os/unix/ngx_time.o     objs/src/os/unix/ngx_errno.o     objs/src/os/unix/ngx_alloc.o     objs/src/os/unix/ngx_files.o     objs/src/os/unix/ngx_socket.o     objs/src/os/unix/ngx_recv.o     objs/src/os/unix/ngx_readv_chain.o     objs/src/os/unix/ngx_udp_recv.o     objs/src/os/unix/ngx_send.o     objs/src/os/unix/ngx_writev_chain.o     objs/src/os/unix/ngx_channel.o     objs/src/os/unix/ngx_shmem.o     objs/src/os/unix/ngx_process.o     objs/src/os/unix/ngx_daemon.o     objs/src/os/unix/ngx_setaffinity.o     objs/src/os/unix/ngx_setproctitle.o     objs/src/os/unix/ngx_posix_init.o     objs/src/os/unix/ngx_user.o     objs/src/os/unix/ngx_process_cycle.o     objs/src/os/unix/ngx_linux_init.o     objs/src/event/modules/ngx_epoll_module.o     objs/src/os/unix/ngx_linux_sendfile_chain.o     objs/src/core/ngx_regex.o     objs/src/http/ngx_http.o     objs/src/http/ngx_http_core_module.o     objs/src/http/ngx_http_special_response.o     objs/src/http/ngx_http_request.o     objs/src/http/ngx_http_parse.o     objs/src/http/ngx_http_header_filter_module.o     objs/src/http/ngx_http_write_filter_module.o     objs/src/http/ngx_http_copy_filter_module.o     objs/src/http/modules/ngx_http_log_module.o     objs/src/http/ngx_http_request_body.o     objs/src/http/ngx_http_variables.o     objs/src/http/ngx_http_script.o     objs/src/http/ngx_http_upstream.o     objs/src/http/ngx_http_upstream_round_robin.o     objs/src/http/ngx_http_parse_time.o     objs/src/http/modules/ngx_http_static_module.o     objs/src/http/modules/ngx_http_index_module.o     objs/src/http/modules/ngx_http_chunked_filter_module.o     objs/src/http/modules/ngx_http_range_filter_module.o     objs/src/http/modules/ngx_http_headers_filter_module.o     objs/src/http/modules/ngx_http_not_modified_filter_module.o     objs/src/http/ngx_http_busy_lock.o     objs/src/http/ngx_http_file_cache.o     objs/src/http/modules/ngx_http_gzip_filter_module.o     objs/src/http/ngx_http_postpone_filter_module.o     objs/src/http/modules/ngx_http_ssi_filter_module.o     objs/src/http/modules/ngx_http_charset_filter_module.o     objs/src/http/modules/ngx_http_userid_filter_module.o     objs/src/http/modules/ngx_http_autoindex_module.o     objs/src/http/modules/ngx_http_auth_basic_module.o     objs/src/http/modules/ngx_http_access_module.o     objs/src/http/modules/ngx_http_limit_conn_module.o     objs/src/http/modules/ngx_http_limit_req_module.o     objs/src/http/modules/ngx_http_geo_module.o     objs/src/http/modules/ngx_http_map_module.o     objs/src/http/modules/ngx_http_split_clients_module.o     objs/src/http/modules/ngx_http_referer_module.o     objs/src/http/modules/ngx_http_rewrite_module.o     objs/src/http/modules/ngx_http_proxy_module.o     objs/src/http/modules/ngx_http_fastcgi_module.o     objs/src/http/modules/ngx_http_uwsgi_module.o     objs/src/http/modules/ngx_http_scgi_module.o     objs/src/http/modules/ngx_http_memcached_module.o     objs/src/http/modules/ngx_http_empty_gif_module.o     objs/src/http/modules/ngx_http_browser_module.o     objs/src/http/modules/ngx_http_upstream_ip_hash_module.o     objs/src/http/modules/ngx_http_upstream_least_conn_module.o     objs/src/http/modules/ngx_http_upstream_keepalive_module.o     objs/addon/src/ngx_http_fastdfs_module.o     objs/ngx_modules.o     -lpthread -lcrypt -L/usr/local/lib -lfastcommon -lfdfsclient -lpcre -lcrypto -lcrypto -lz
make[1]: Leaving directory `/usr/local/src/nginx-1.6.3‘
make -f objs/Makefile manpage
make[1]: Entering directory `/usr/local/src/nginx-1.6.3‘
sed -e "s|%%PREFIX%%|/usr/local/nginx|"         -e "s|%%PID_PATH%%|/usr/local/nginx/logs/nginx.pid|"         -e "s|%%CONF_PATH%%|/usr/local/nginx/conf/nginx.conf|"         -e "s|%%ERROR_LOG_PATH%%|/usr/local/nginx/logs/error.log|"         < man/nginx.8 > objs/nginx.8
make[1]: Leaving directory `/usr/local/src/nginx-1.6.3‘
make -f objs/Makefile install
make[1]: Entering directory `/usr/local/src/nginx-1.6.3‘
test -d ‘/usr/local/nginx‘ || mkdir -p ‘/usr/local/nginx‘
test -d ‘/usr/local/nginx/sbin‘         || mkdir -p ‘/usr/local/nginx/sbin‘
test ! -f ‘/usr/local/nginx/sbin/nginx‘         || mv ‘/usr/local/nginx/sbin/nginx‘             ‘/usr/local/nginx/sbin/nginx.old‘
cp objs/nginx ‘/usr/local/nginx/sbin/nginx‘
test -d ‘/usr/local/nginx/conf‘         || mkdir -p ‘/usr/local/nginx/conf‘
cp conf/koi-win ‘/usr/local/nginx/conf‘
cp conf/koi-utf ‘/usr/local/nginx/conf‘
cp conf/win-utf ‘/usr/local/nginx/conf‘
test -f ‘/usr/local/nginx/conf/mime.types‘         || cp conf/mime.types ‘/usr/local/nginx/conf‘
cp conf/mime.types ‘/usr/local/nginx/conf/mime.types.default‘
test -f ‘/usr/local/nginx/conf/fastcgi_params‘         || cp conf/fastcgi_params ‘/usr/local/nginx/conf‘
cp conf/fastcgi_params         ‘/usr/local/nginx/conf/fastcgi_params.default‘
test -f ‘/usr/local/nginx/conf/fastcgi.conf‘         || cp conf/fastcgi.conf ‘/usr/local/nginx/conf‘
cp conf/fastcgi.conf ‘/usr/local/nginx/conf/fastcgi.conf.default‘
test -f ‘/usr/local/nginx/conf/uwsgi_params‘         || cp conf/uwsgi_params ‘/usr/local/nginx/conf‘
cp conf/uwsgi_params         ‘/usr/local/nginx/conf/uwsgi_params.default‘
test -f ‘/usr/local/nginx/conf/scgi_params‘         || cp conf/scgi_params ‘/usr/local/nginx/conf‘
cp conf/scgi_params         ‘/usr/local/nginx/conf/scgi_params.default‘
test -f ‘/usr/local/nginx/conf/nginx.conf‘         || cp conf/nginx.conf ‘/usr/local/nginx/conf/nginx.conf‘
cp conf/nginx.conf ‘/usr/local/nginx/conf/nginx.conf.default‘
test -d ‘/usr/local/nginx/logs‘         || mkdir -p ‘/usr/local/nginx/logs‘
test -d ‘/usr/local/nginx/logs‘ ||         mkdir -p ‘/usr/local/nginx/logs‘
test -d ‘/usr/local/nginx/html‘         || cp -R html ‘/usr/local/nginx‘
test -d ‘/usr/local/nginx/logs‘ ||         mkdir -p ‘/usr/local/nginx/logs‘
make[1]: Leaving directory `/usr/local/src/nginx-1.6.3‘
[[email protected] nginx-1.6.3]# cp /usr/local/src/fastdfs-nginx-module/src/mod_fastdfs.conf /etc/fdfs/
[[email protected] nginx-1.6.3]# vi /etc/fdfs/mod_fastdfs.conf
[[email protected] nginx-1.6.3]# cd /usr/local/src/FastDFS/conf
[[email protected] conf]# cp http.conf mime.types /etc/fdfs/
[[email protected] conf]# ln -s /fastdfs/storage/data/ /fastdfs/storage/data/M00
[[email protected] conf]# ls
anti-steal.jpg  http.conf   storage.conf      tracker.conf
client.conf     mime.types  storage_ids.conf
[[email protected] conf]# /usr/local/src/nginx-1.6.3/conf
-bash: /usr/local/src/nginx-1.6.3/conf: is a directory
[[email protected] conf]# cd /usr/local/src/nginx-1.6.3/conf
[[email protected] conf]# ls
fastcgi.conf    koi-utf  mime.types  scgi_params   win-utf
fastcgi_params  koi-win  nginx.conf  uwsgi_params
[[email protected] conf]# vi nginx.conf
[[email protected] conf]# vi /etc/sysconfig/iptables
[[email protected] conf]# service iptables restart
iptables: Applying firewall rules:                         [  OK  ]
[[email protected] conf]# /usr/local/nginx/sbin/nginx
[[email protected] conf]# /usr/local/nginx/sbin/nginx -s reload
[[email protected] conf]# cd /usr/local/nginx/conf
[[email protected] conf]# vi nginx.conf
[[email protected] conf]# /usr/local/nginx/sbin/nginx
ngx_http_fastdfs_set pid=3397
[[email protected] conf]# vi /etc/sysconfig/iptables
[[email protected] conf]# /usr/local/nginx/sbin/nginx -s reload
ngx_http_fastdfs_set pid=3403

http://121.196.215.6:8888/group1/M00/00/00/rBAAAVeFHnKABIs-AAVFOL7FJU4.tar.gz

时间: 2024-10-10 13:53:01

FastDFS安装笔记的相关文章

分布式文件系统Fastdfs 详细安装笔记

Fastdfs安装教程 1.环境 操作系统 Centos 7.0 X64最小化安装 Track1 :192.168.121.131 Track2 :192.168.121.132 Storage1 :192.168.121.133 Storage1 :192.168.121.134 FastDFS 下载地址 https://sourceforge.net/projects/fastdfs/files/?source=navbar 2.在Track上安装fastdfs 首先,安装依赖包 yum i

docker在ubuntu14.04下的安装笔记

本文主要是参考官网教程进行ubuntu14.04的安装. 下面是我的安装笔记. 笔记原件完整下载: 链接: https://pan.baidu.com/s/1c1CZZCs 密码: qk1x

Python MySQLdb Linux下安装笔记

本文介绍了Python MySQLdb Linux下安装笔记,本文分别讲解了快速安装和手动编译安装两种方法,并分别讲解了操作步骤,需要的朋友可以参考下 主要针对centos6.5 64位系统 默认python版本为2.6 编码安装python2.7和python3.4      一.yum快速安装 yum install MySQL-python yum install python-setuptools 经常接触Python的同学可能会注意到,当需要安装第三方python包时,可能会用到eas

windows2008r2安装笔记

安装win7主题 控制面板 - 程序 - 打开或关闭windows功能 - 功能 - 添加功能: 在选择功能里勾选 桌面体验(会添加必要功能),安装就行了. 1.安装好后,个性化时,发现win7主题为灰色不可选,检查是否启动Themes服务,在开始 - 运行 services.msc,开启 Themes 服务,并设置为自动启动(不用重启电脑),win7主题就可以用了. 喇叭不可用,有一个小红叉 先确认已经安装了声卡驱动.在开始 - 运行 services.msc,开启 Windows Audio

fastdfs安装,配置

一:fastdfs安装 1.需要装备的包  fastdfs5.10  libevent-2.0.18-stable.tar  libfastcommon-master 2.先安装libfastcommon-master unzip libfastcommon-master.zip cd libfastcommon-master ./make.sh ./make.sh install libfastcommon 默认安装到了/usr/lib64/libfastcommon.so/usr/lib64

Centos6.5 -- fastdfs安装(虚拟机搭建集群)

一.操作系统概述 电脑型号     X64 兼容 台式电脑  (扫描时间:2016年11月14日) 操作系统     Windows 7 旗舰版 64位 SP1 ( DirectX 11 ) 处理器  英特尔 Core i7-6700K @ 4.00GHz 四核 主板      华硕 B150M-A/M.2 ( 英特尔 Skylake-S - 100 Series/C230 Series 芯片组 Family - A148 ) 内存      16 GB ( Avexir DDR4 2400MH

PHP7安装笔记

PHP7安装笔记 时间 2015-03-03 13:03:46 喵了个咪 原文 http://www.hdj.me/php7-install-note 主题 PHP # 安装mcrypt yum install -y php-mcrypt libmcrypt libmcrypt-devel # 升级bison cd /var/soft/ wget http://ftp.gnu.org/gnu/bison/bison-2.6.4.tar.gz tar -xvzf bison-2.6.4.tar.g

FastDFS安装与部署

(一)下载依赖库libevent(不管解压在哪里必须安装在/usr目录下,否则FastDFS找不到) wget https://github.com/downloads/libevent/libevent/libevent-1.4.14b-stable.tar.gz tar zvxf libevent-1.4.14b-stable.tar.gz ./configure --prefix=/usr make clean; make make install (二)下载FastDFS安装包及ngin

laravel安装笔记 (转)

一.安装composer 安装之前将\php\php.ini文件中的php_openssl.dll扩展库开启,否则composer在安装过程中会出现错误提示. (我在安装过程中发现apache目录下的php.ini最好也开启php_openssl.dll,就是讲前面的‘:’号去掉) composer下载地址:https://getcomposer.org/ windows下载地址:https://getcomposer.org/Composer-Setup.exe 二.下载Laravel最新框架