Score
0
Watch 91 Star 504 Fork 104

GVPhappyfish100 / FastDFSCGPL-3.0

Join us
Explore and code with more than 2 million developers,Free private repositories !:)
Sign up
FastDFS是一款轻量级的开源分布式文件系统,功能包括:文件存储、文件同步、文件上传、文件下载等,解决了文件大容量存储和高性能访问问题。特别适合以文件为载体的在线服务,如图片、视频、文档服务等等。FastDFS相关文章请搜索微信公众号:fastdfs spread retract

  • C 95.8%
  • PHP 2.3%
  • C++ 0.7%
  • Shell 0.7%
  • Makefile 0.4%
  • Other 0.1%
Clone or download
setup.sh 763 Bytes
Copy Edit Web IDE Raw Blame History
if [ -n "$1" ]; then
TARGET_CONF_PATH=$1
else
TARGET_CONF_PATH=/etc/fdfs
fi
mkdir -p $TARGET_CONF_PATH
if [ ! -f $TARGET_CONF_PATH/tracker.conf ]; then
cp -f conf/tracker.conf $TARGET_CONF_PATH/tracker.conf
fi
if [ ! -f $TARGET_CONF_PATH/storage.conf ]; then
cp -f conf/storage.conf $TARGET_CONF_PATH/storage.conf
fi
if [ ! -f $TARGET_CONF_PATH/client.conf ]; then
cp -f conf/client.conf $TARGET_CONF_PATH/client.conf
fi
if [ ! -f $TARGET_CONF_PATH/storage_ids.conf ]; then
cp -f conf/storage_ids.conf $TARGET_CONF_PATH/storage_ids.conf
fi
if [ ! -f $TARGET_CONF_PATH/http.conf ]; then
cp -f conf/http.conf $TARGET_CONF_PATH/http.conf
fi
if [ ! -f $TARGET_CONF_PATH/mime.types ]; then
cp -f conf/mime.types $TARGET_CONF_PATH/mime.types
fi

Comment ( 0 )

Sign in for post a comment

C
1
https://gitee.com/fastdfs100/fastdfs.git
git@gitee.com:fastdfs100/fastdfs.git
fastdfs100
fastdfs
FastDFS
master

Help Search