Lines 1-36
Link Here
|
1 |
--- conf/storage.conf.orig 2016-08-08 07:17:50 UTC |
1 |
--- conf/storage.conf.orig 2019-12-30 23:36:03 UTC |
2 |
+++ conf/storage.conf |
2 |
+++ conf/storage.conf |
3 |
@@ -38,7 +38,7 @@ heart_beat_interval=30 |
3 |
@@ -46,7 +46,7 @@ stat_report_interval = 60 |
4 |
stat_report_interval=60 |
4 |
# NOTE: the binlog files maybe are large, make sure |
|
|
5 |
# the base path has enough disk space, |
6 |
# eg. the disk free space should > 50GB |
7 |
-base_path = /home/yuqing/fastdfs |
8 |
+base_path = /var/db/fastdfs/storage |
5 |
|
9 |
|
6 |
# the base path to store data and log files |
10 |
# max concurrent connections the server supported, |
7 |
-base_path=/home/yuqing/fastdfs |
11 |
# you should set this parameter larger, eg. 10240 |
8 |
+base_path=/var/db/fastdfs/storage |
12 |
@@ -126,8 +126,8 @@ store_path_count = 1 |
|
|
13 |
# the store paths' order is very important, don't mess up!!! |
14 |
# the base_path should be independent (different) of the store paths |
9 |
|
15 |
|
10 |
# max concurrent connections the server supported |
16 |
-store_path0 = /home/yuqing/fastdfs |
11 |
# default value is 256 |
17 |
-#store_path1 = /home/yuqing/fastdfs2 |
12 |
@@ -106,8 +106,8 @@ store_path_count=1 |
18 |
+store_path0 = /var/db/fastdfs/storage |
|
|
19 |
+#store_path1 = /var/db/fastdfs2/storage |
13 |
|
20 |
|
14 |
# store_path#, based 0, if store_path0 not exists, it's value is base_path |
|
|
15 |
# the paths must be exist |
16 |
-store_path0=/home/yuqing/fastdfs |
17 |
-#store_path1=/home/yuqing/fastdfs2 |
18 |
+store_path0=/var/db/fastdfs/storage |
19 |
+#store_path1=/var/db/fastdfs/storage2 |
20 |
|
21 |
# subdir_count * subdir_count directories will be auto created under each |
21 |
# subdir_count * subdir_count directories will be auto created under each |
22 |
# store_path (disk), value can be 1 to 256, default value is 256 |
22 |
# store_path (disk), value can be 1 to 256, default value is 256 |
23 |
@@ -130,11 +130,11 @@ log_level=info |
23 |
@@ -158,11 +158,11 @@ log_level = info |
24 |
|
24 |
|
25 |
#unix group name to run this program, |
25 |
#unix group name to run this program, |
26 |
#not set (empty) means run by the group of current user |
26 |
#not set (empty) means run by the group of current user |
27 |
-run_by_group= |
27 |
-run_by_group = |
28 |
+run_by_group=_fastdfs |
28 |
+run_by_group = _fastdfs |
29 |
|
29 |
|
30 |
#unix username to run this program, |
30 |
#unix username to run this program, |
31 |
#not set (empty) means run by current user |
31 |
#not set (empty) means run by current user |
32 |
-run_by_user= |
32 |
-run_by_user = |
33 |
+run_by_user=_fastdfs |
33 |
+run_by_user = _fastdfs |
34 |
|
34 |
|
35 |
# allow_hosts can ocur more than once, host can be hostname or ip address, |
35 |
# allow_hosts can ocur more than once, host can be hostname or ip address, |
36 |
# "*" (only one asterisk) means match all ip addresses |
36 |
# "*" (only one asterisk) means match all ip addresses |