FastDFS—学习过程记录—FastDFS测试上传

1.FastDFS安装完成之后,可以使用fdfs_test脚本测试文件上传。

2.测试之前,需要修改client.conf配置文件,修改两个配置

  1. base_path=/opt/fastdfs/client
  2. tracker_server=192.168.179.128:22122

3.准备上传的文件创建一个文件即可

4.测试文件上传

fdfs_test <config_file> <operation>
                    operation: upload, download, getmeta, setmeta, delete and query_servers
例:
FastDFS---学习过程记录---FastDFS测试上传下载和删除

5.查看存储后的文件

FastDFS---学习过程记录---FastDFS测试上传下载和删除

6.测试下载/删除文件

命令:fdfs_test <config_file> <operation> <group_name> <remote_filename>

相关文章:

  • 2021-12-28
  • 2021-04-07
  • 2021-05-30
  • 2022-03-08
  • 2022-12-23
  • 2021-09-15
  • 2021-11-17
  • 2021-08-02
猜你喜欢
  • 2021-10-22
  • 2021-06-02
  • 2022-12-23
  • 2021-06-19
  • 2022-12-23
  • 2021-10-19
相关资源
相似解决方案