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 14:46:04248

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;”并保存,WordPress模板问问原文件重启nginx服务后OK

复制代码代码如下:

5、题安添加 开机启动

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

7、源码库后访后 在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>

本文地址:http://www.bzve.cn/html/409f0599585.html
版权声明

本文仅代表作者观点,不代表本站立场。
本文系作者授权发表,未经许可,不得转载。

热门文章

全站热门

电脑错误代码的解读与修复方法(掌握常见电脑错误代码,解决烦恼轻松快捷)

雷神stplus质量如何?(一款性能强悍的游戏笔记本电脑)

如何安装WiFi网络(一步步教你安装无线网络,轻松上网畅享快乐)

不使用联通合约机的卡会带来什么影响?(未使用联通合约机的卡可能导致通信和网络功能受限)

电脑开机每次都需要去获取IP地址,联网很慢,想设置一个静态IP,该如何设置呢?下面我将给大家讲解如何给ubuntu系统设置静态IP。1、因为我这里的ubuntu版本是14.10版本,所以我先点击【系统设置】,它位置在桌面左侧的菜单栏后面位置。2、在系统设置页面,找到【硬件】选项里面的【网络】一项,然后再使用鼠标左键点击打开它。3、点开网络页面后,网络页面里面我们找到右下角的【选项】按钮。这个按钮点进去就能设置IP地址为静态了。4、打开的选项,窗口叫【正在编辑】,我们在正在编辑窗口里面,可以看到以太网的网口mac地址,然后在连接方式那里,我们点击【IPV4】5、再ipv4设置下面,点击【自动】,会弹出一个下拉选项,点击选择【手动】。6、然后我们点击【添加】按钮,如下图,再在【地址】、【子网掩码】、【网关】下面的栏目中输入你要填写的静态IP信息。7、IP地址信息填好后我们还需要给电脑设置一个DNS服务器地址。这里根据你所在地填写,假如想要解析快,那么则需要填写ping值比较小的DNS服务器地址。以上都填写完成后,点击【保存】按钮。8、注意假如你需要你的电脑IP地址立即变成你配置后的那个静态IP,那么请勾选【需要IPv4地址完成这个连接】在这个选项前面打勾之后,再点击【保存】按钮。系统就会自动给你重启网络。

台式电脑装系统教程——WindowsXP(详细步骤图文教程,轻松完成安装)

TCLL49P2UD电视的卓越性能和优秀品质(一款高性能电视的完美选择——TCLL49P2UD)

vivo手机备份通讯录,方便快捷可靠(vivo手机备份通讯录的操作方法及优势)

热门文章

友情链接

滇ICP备2023006006号-39