fastdfs相关
1、fastdfs01-Linux下安装fastdfs(tracker和storage安装): https://blog.csdn.net/xixiyuguang/article/details/105160807
2、fastdfs02-创建springboot进行连接fastdfs:https://blog.csdn.net/xixiyuguang/article/details/105161424
fastdfs01-FastDFS-配置token教程及问题:https://blog.csdn.net/xixiyuguang/article/details/104772505
fastdfs02-springboot加入FastDFS工具类: https://blog.csdn.net/xixiyuguang/article/details/105142448
1、教程
2、三个注意点
1.文件名字不能包含group name
String token = ProtoCommon.getToken("M00/00/00/wKh0gF5nkC2AItBrAACStPtAfGg521.jpg", ts, "FastDFS1234567890");
文件名字不要包含group_name()
2.key值 是否和/etc/fdfs/http.conf中的key值一致
vim /etc/fdfs/http.conf
http.anti_steal.secret_key = FastDFS1234567890
3.检查你的fdfs服务器和client服务器时间不要相差分钟级
生成token的机器和服务器时间差距不得超过1分钟。
执行命令同步时间:ntpdate 0.asia.pool.ntp.org
4.路径注意
fastdfs相关
fastdfs01-FastDFS-配置token教程及问题:https://blog.csdn.net/xixiyuguang/article/details/104772505
fastdfs02-springboot加入FastDFS工具类: https://blog.csdn.net/xixiyuguang/article/details/105142448