解压 fastdfs 编译并安装
fastdfs 默认安装在以下位置:
/usr/bin :可执行文件
/etc/fdfs :配置文件
/etc/init.d :主程序代码
/usr/include/fastdfs :插件组
2.3、启动
Tracker
client.conf.sample :客户端的配置文件
storage.conf.sample :存储器的配置文件
tracker.conf.sample :跟踪器的配置文件
修改 tracker.conf
只修改几项
[root@test fastDFS]# unzip fastdfs.zip
[root@test fastDFS]# cd fastdfs-master
[root@test fastdfs-master]# ./make.sh && ./make.sh install
1
2
3
[root@test /]# cd /etc/fdfs
[root@test fdfs]# ll
总用量 32
-rw-r--r-- 1 root root 1909 10月 9 17:20 client.conf.sample
-rw-r--r-- 1 root root 10246 10月 9 17:20 storage.conf.sample
-rw-r--r-- 1 root root 620 10月 9 17:20 storage_ids.conf.sample
-rw-r--r-- 1 root root 9138 10月 9 17:20 tracker.conf.sample
[root@test fdfs]# cp tracker.conf.sample tracker.conf
总用量 44
-rw-r--r-- 1 root root 1909 10月 9 17:20 client.conf.sample
-rw-r--r-- 1 root root 10246 10月 9 17:20 storage.conf.sample
-rw-r--r-- 1 root root 620 10月 9 17:20 storage_ids.conf.sample
-rw-r--r-- 1 root root 9138 10月 9 17:32 tracker.conf
-rw-r--r-- 1 root root 9138 10月 9 17:20 tracker.conf.sample
1
2
3
4
5
6
7
8
9
10
11
12
13
14