90 Star 643 Fork 145

GVPhappyfish100 / FastCFS

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
helloWorld.sh 560 Bytes
一键复制 编辑 原始数据 按行查看 历史
happyfish100 提交于 2021-06-15 10:29 . update versions in README.md
#!/bin/bash
echo "just for FastCFS demo: 1 fdir instance and 1 fstore instance"
mounted_path=/opt/fastcfs/fuse
./fastcfs.sh install || exit 1
./fastcfs.sh config --force
./fastcfs.sh restart
echo "waiting services ready ..."
sleep 3
if [ -d $mounted_path ]; then
df -h $mounted_path | grep fuse
if [ $? -eq 0 ]; then
echo ""
echo "the mounted path is: $mounted_path"
echo "have a nice day!"
exit 0
fi
fi
tail_cmd='tail -n 20 /opt/fastcfs/fcfs/logs/fcfs_fused.log'
echo 'some mistake happen!'
echo $tail_cmd
sh -c "$tail_cmd"
exit 1
C
1
https://gitee.com/fastdfs100/FastCFS.git
git@gitee.com:fastdfs100/FastCFS.git
fastdfs100
FastCFS
FastCFS
master

搜索帮助