婷婷综合国产,91蜜桃婷婷狠狠久久综合9色 ,九九九九九精品,国产综合av

主頁(yè) > 知識(shí)庫(kù) > FastDFS4和Ubuntu12安裝及部署步驟

FastDFS4和Ubuntu12安裝及部署步驟

熱門標(biāo)簽:荊門智能應(yīng)答電話機(jī)器人供應(yīng)商 長(zhǎng)沙智能外呼系統(tǒng)招商 鶴壁電話外呼系統(tǒng)怎么樣 地圖標(biāo)注多個(gè)點(diǎn)的位置 系統(tǒng)外呼業(yè)績(jī) 哪些企業(yè)需要使用ai外呼系統(tǒng) 鶴崗電銷 奧維地圖標(biāo)注制作 百度地圖標(biāo)注任務(wù)

FastDFS4 + Ubuntu12安裝及部署

1、 安裝libevent

如果需要使用http進(jìn)行下載,需要安裝這個(gè)組件。

2、 安裝fastdfs

3、 配置fastdfs

4、 安裝nginx

問(wèn)題4.1:安裝nginx啟動(dòng)后訪問(wèn)原先資源URL出現(xiàn)404錯(cuò)誤

sudo gedit /nginx安裝目錄/conf/nginx.conf

在nginx.conf添加“user root;”并保存,重啟nginx服務(wù)后OK


問(wèn)題4.2:8090端口被占用


復(fù)制代碼
代碼如下:

nginx: [emerg] bind() to 0.0.0.0:8090 failed (98: Address already in use)
nginx: [emerg] bind() to 0.0.0.0:8090 failed (98: Address already in use)
nginx: [emerg] bind() to 0.0.0.0:8090 failed (98: Address already in use)
nginx: [emerg] bind() to 0.0.0.0:8090 failed (98: Address already in use)
nginx: [emerg] bind() to 0.0.0.0:8090 failed (98: Address already in use)
nginx: [emerg] still could not bind()
#killall -9 nginx
// 中斷nginx進(jìn)程
# /nginx安裝目錄/sbin/nginx -s reload
// 重啟nginx

問(wèn)題4.3:nginx 403 Forbidden

nginx不允許訪問(wèn)請(qǐng)求的資源。可能的原因:

1.網(wǎng)站禁止特定的用戶訪問(wèn)所有內(nèi)容,例:網(wǎng)站屏蔽某個(gè)ip訪問(wèn)。

2.訪問(wèn)禁止目錄瀏覽的目錄,例:設(shè)置autoindex off后訪問(wèn)目錄。

3.用戶訪問(wèn)只能被內(nèi)網(wǎng)訪問(wèn)的文件。

案例:在location{allow:all;},我按照網(wǎng)上的例子一直設(shè)置為127.0.0.1,導(dǎo)致本機(jī)訪問(wèn)沒(méi)有問(wèn)題,但是局域網(wǎng)內(nèi)電腦訪問(wèn)時(shí)始終報(bào)錯(cuò)。


5、 開機(jī)啟動(dòng)

6、 測(cè)試上傳

7、 在c#中上傳文件

下載FastDFS .net Client

https://code.google.com/p/fastdfs/downloads/detail?name=FastDFS_Client_Dotnet.rarcan=2q=

 
附:官方安裝說(shuō)明


復(fù)制代碼
代碼如下:

#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>

標(biāo)簽:青海 南平 菏澤 池州 中山 開封 鞍山 淮安

巨人網(wǎng)絡(luò)通訊聲明:本文標(biāo)題《FastDFS4和Ubuntu12安裝及部署步驟》,本文關(guān)鍵詞  FastDFS4,和,Ubuntu12,安裝,及,;如發(fā)現(xiàn)本文內(nèi)容存在版權(quán)問(wèn)題,煩請(qǐng)?zhí)峁┫嚓P(guān)信息告之我們,我們將及時(shí)溝通與處理。本站內(nèi)容系統(tǒng)采集于網(wǎng)絡(luò),涉及言論、版權(quán)與本站無(wú)關(guān)。
  • 相關(guān)文章
  • 下面列出與本文章《FastDFS4和Ubuntu12安裝及部署步驟》相關(guān)的同類信息!
  • 本頁(yè)收集關(guān)于FastDFS4和Ubuntu12安裝及部署步驟的相關(guān)信息資訊供網(wǎng)民參考!
  • 推薦文章
    主站蜘蛛池模板: 梨树县| 金堂县| 郁南县| 河东区| 桂东县| 武城县| 无极县| 六盘水市| 景德镇市| 榕江县| 高阳县| 同仁县| 开平市| 文山县| 鲁甸县| 晋宁县| 府谷县| 兴安盟| 江达县| 元氏县| 五常市| 南丹县| 洮南市| 玉溪市| 邯郸县| 太仆寺旗| 天镇县| 准格尔旗| 河东区| 榆林市| 农安县| 宁都县| 宣武区| 米林县| 涟水县| 巧家县| 保康县| 河北区| 武陟县| 西畴县| 崇礼县|