admin 管理员组文章数量: 1184232
FastDFS
FastDFS发布版
当前版本 V6.06
什么是FastDFS?
fastDFS 是以C语言开发的一项开源轻量级分布式文件系统,他对文件进行管理,主要功能有:文件存储,文件同步,文件访问(文件上传/下载),特别适合以文件为载体的在线服务,如图片网站,视频网站等
参考《CentOS7安装FastDFS》
一、下载
wget .0.43.tar.gz
tar -zxvf V1.0.43.tar.gz
cd libfastcommon-1.0.43
./make.sh
./make.sh install
wget .06.tar.gz
tar -zxvf V6.06.tar.gz
cd fastdfs-6.06
./make.sh
./make.sh install
二、配置Tracker服务
cd /etc/fdfs
cp tracker.conf.sample tracker.conf
vim tracker.conf
要修改的内容为
base_path=/usr/local/fastdfs/tracker
port=22122
http.server_port=80
启动服务
#启动
/usr/bin/fdfs_trackerd /etc/fdfs/tracker.conf start
#查看启动端口
ss -ant | grep 22122#查看启动日志
cat /usr/local/fastdfs/tracker/logs/
三、配置Storage服务
cd /etc/fdfs
cp storage.conf.sample storage.conf
vim storage.conf
要修改的内容为
base_path=/usr/local/fastdfs/storage
port=23000
group_name=group1
store_path_count=1
store_path0=/usr/local/fastdfs/storage/file
tracker_server=server1:22122
启动服务
#启动
/usr/bin/fdfs_storaged /etc/fdfs/storage.conf start
#查看启动端口
ss -ant | grep 23000#查看启动日志
cat /usr/local/fastdfs/storage/logs/storaged.log
通过monitor查看storage是否绑定成功
/usr/bin/fdfs_monitor /etc/fdfs/storage.conf
本文标签: FastDFS
版权声明:本文标题:FastDFS 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.roclinux.cn/b/1686768955a34901.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论