应用开发

FastDFS4 + Ubuntu12安装及部署1、 安装libevent假如需要使用http进行下载,需要安装这个组件。2、 安装fastdfs3、 配置fastdfs4、 安装nginx问题4.1:安装nginx启动后访问原先资源URL出现404错误sudo gedit /nginx安装目录/conf/nginx.conf在nginx.conf添加“user root;”并保存,重启nginx服务后OK复制代码代码如下:5、 开机启动6、 测试上传7、 在c#中上传文件下载FastDFS .net Clienthttps://code.google.com/p/fastdfs/downloads/detail name=FastDFS_Client_Dotnet.rar&can=2&q=复制代码代码如下:#step 1. download FastDFS source package and unpack ittar xzf FastDFS_v1.x.tar.gz#for example:tar xzf FastDFS_v1.11.tar.gz #step 2. enter the FastDFS dircd FastDFS #step 3. make all./make.sh #step 4. make install./make.sh install #step 5. edit/modify the config file of tracker and storage #step 6. run server programs#start the tracker server:/usr/local/bin/fdfs_trackerd #start the storage server:/usr/local/bin/fdfs_storaged #step 7. run test program#run the client test program:/usr/local/bin/fdfs_test #for example, upload a file:/usr/local/bin/fdfs_test conf/storage.conf upload /usr/include/stdlib.h #step 8. run monitor program#run the monitor program:/usr/local/bin/fdfs_monitor

字号+作者:益华科技来源:域名2025-11-05 09:20:13我要评论(0)

FastDFS4 + Ubuntu12安装及部署1、 安装libevent假如需要使用http进行下载,需要安装这个组件。2、 安装fastdfs3、 配置fastdfs4、 安装nginx问题4.1

FastDFS4 + Ubuntu12安装及部署

1、安安装安装安装安装 安装libevent

假如需要使用http进行下载,装及装个组件置f装n制代c中制代需要安装这个组件。部署并保

2、站群服务器假需进行 安装fastdfs

3、使用上传上传 配置fastdfs

4、下载需安先资下载 安装nginx

问题4.1:安装nginx启动后访问原先资源URL出现404错误

sudo gedit /nginx安装目录/conf/nginx.conf

在nginx.conf添加“user root;”并保存,香港云服务器问问原文件重启nginx服务后OK

复制代码代码如下:

5、题安添加 开机启动

6、启动启n启动 测试上传

7、IT技术网后访后 在c#中上传文件

下载FastDFS .net Client

https://code.google.com/p/fastdfs/downloads/detail name=FastDFS_Client_Dotnet.rar&can=2&q=

复制代码代码如下:

#step 1. download FastDFS source package and 出现错误存重测试unpack it

tar xzf FastDFS_v1.x.tar.gz

#for example:

tar xzf FastDFS_v1.11.tar.gz

#step 2. enter the FastDFS dir

cd FastDFS

#step 3. make all

./make.sh

#step 4. make install

./make.sh install

#step 5. edit/modify the config file of tracker and storage

#step 6. run server programs

#start the tracker server:

/usr/local/bin/fdfs_trackerd <tracker_conf_filename>

#start the storage server:

/usr/local/bin/fdfs_storaged <storage_conf_filename>

#step 7. run test program

#run the client test program:

/usr/local/bin/fdfs_test <storage_conf_filename> <operation>

#for example, upload a file:

/usr/local/bin/fdfs_test conf/storage.conf upload /usr/include/stdlib.h

#step 8. run monitor program

#run the monitor program:

/usr/local/bin/fdfs_monitor <storage_conf_filename>

1.本站遵循行业规范,任何转载的稿件都会明确标注作者和来源;2.本站的原创文章,请转载时务必注明文章作者和来源,不尊重原创的行为我们将追究责任;3.作者投稿可能会经我们编辑修改或补充。

相关文章
  • 搭建个人服务器的费用标准(详细解析自己搭建服务器所需的费用和预算)

    搭建个人服务器的费用标准(详细解析自己搭建服务器所需的费用和预算)

    2025-11-05 08:35

  • 电脑文件删除后回收站没有了怎么办?(有效恢复删除文件的方法与技巧)

    电脑文件删除后回收站没有了怎么办?(有效恢复删除文件的方法与技巧)

    2025-11-05 08:03

  • 以慧荣量产工具格式化教程(轻松掌握慧荣量产工具的格式化方法)

    以慧荣量产工具格式化教程(轻松掌握慧荣量产工具的格式化方法)

    2025-11-05 07:55

  • 电脑文件校验错误的解决方法(解决电脑文件校验错误,让您的电脑运行顺畅无忧)

    电脑文件校验错误的解决方法(解决电脑文件校验错误,让您的电脑运行顺畅无忧)

    2025-11-05 06:45

网友点评