Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

filename changed

  • Loading branch information...
commit d482f1891ffbc6653634e78b5cd17d73364144c1 1 parent 03ea237
happyfish100 authored
View
22 INSTALL
@@ -6,26 +6,26 @@ Please visit the FastDFS Home Page for more detail.
English language: http://english.csource.org/
Chinese language: http://www.csource.org/
+#step 1. download libevent 1.4.x and install it
-#step 1. download FastDFS source package and unpack it,
-# if you use HTTP to download file, please download libevent 1.4.x and install it
-tar xzf FastDFS_v1.x.tar.gz
+#step 2. download FastDFS source package and unpack it,
+tar xzf FastDFS_v2.x.tar.gz
#for example:
-tar xzf FastDFS_v1.27.tar.gz
+tar xzf FastDFS_v2.00.tar.gz
-#step 2. enter the FastDFS dir
+#step 3. enter the FastDFS dir
cd FastDFS
-#step 3. if HTTP supported, modify make.sh, uncomment the line:
+#step 4. if HTTP supported, modify make.sh, uncomment the line:
# WITH_HTTPD=1, then execute:
./make.sh
-#step 4. make install
+#step 5. make install
./make.sh install
-#step 5. edit/modify the config file of tracker and storage
+#step 6. edit/modify the config file of tracker and storage
-#step 6. run server programs
+#step 7. run server programs
#start the tracker server:
/usr/local/bin/fdfs_trackerd /etc/fdfs/tracker.conf
#in Linux, you can start fdfs_trackerd as a service:
@@ -36,14 +36,14 @@ cd FastDFS
#in Linux, you can start fdfs_storaged as a service:
/sbin/service fdfs_storaged start
-#step 7. run test program
+#step 8. run test program
#run the client test program:
/usr/local/bin/fdfs_test <client_conf_filename> <operation>
/usr/local/bin/fdfs_test1 <client_conf_filename> <operation>
#for example, upload a file:
/usr/local/bin/fdfs_test conf/client.conf upload /usr/include/stdlib.h
-#step 8. run monitor program
+#step 9. run monitor program
#run the monitor program:
/usr/local/bin/fdfs_monitor <client_conf_filename>
View
2  tracker/Makefile.in
@@ -12,7 +12,7 @@ SHARED_OBJS = ../common/hash.o ../common/chain.o ../common/base64.o \
../common/pthread_func.o ../common/md5.o \
tracker_proto.o tracker_mem.o tracker_service.o \
tracker_global.o tracker_func.o fast_task_queue.o \
- tracker_io.o $(TRACKER_HTTPD_OBJS)
+ tracker_nio.o $(TRACKER_HTTPD_OBJS)
ALL_OBJS = $(SHARED_OBJS)
View
2  tracker/tracker_io.c → tracker/tracker_nio.c
@@ -29,7 +29,7 @@
#include "tracker_proto.h"
#include "tracker_global.h"
#include "tracker_service.h"
-#include "tracker_io.h"
+#include "tracker_nio.h"
static void client_sock_read(int sock, short event, void *arg);
static void client_sock_write(int sock, short event, void *arg);
View
6 tracker/tracker_io.h → tracker/tracker_nio.h
@@ -6,10 +6,10 @@
* Please visit the FastDFS Home Page http://www.csource.org/ for more detail.
**/
-//tracker_io.h
+//tracker_nio.h
-#ifndef _TRACKER_IO_H
-#define _TRACKER_IO_H
+#ifndef _TRACKER_NIO_H
+#define _TRACKER_NIO_H
#include <stdio.h>
#include <stdlib.h>
View
2  tracker/tracker_service.c
@@ -29,7 +29,7 @@
#include "tracker_global.h"
#include "tracker_mem.h"
#include "tracker_proto.h"
-#include "tracker_io.h"
+#include "tracker_nio.h"
#include "tracker_service.h"
#define PKG_LEN_PRINTF_FORMAT "%d"
Please sign in to comment.
Something went wrong with that request. Please try again.