超碰中文网,91久久精品日日躁夜夜躁欧美,一区二区三区精品道,一区二区国产在线观看,亚洲精品中文字幕乱码一区二区,天天看片高清影视在线观看,久久99精品久久久久蜜桃,久久成人影视

VPS參考測評推薦
專注分享VPS主機(jī)優(yōu)惠信息
衡天云優(yōu)惠活動
熱網(wǎng)互聯(lián)2026年促銷活動
hostkvm優(yōu)惠促銷活動
zji優(yōu)惠促銷活動
QQGNET優(yōu)惠促銷活動
QQGNET優(yōu)惠促銷活動

Linux之使用MogileFS分布式文件系統(tǒng)并使用nginx實現(xiàn)反向代理

主機(jī)參考:VPS測評參考推薦/專注分享VPS服務(wù)器優(yōu)惠信息!若您是商家可以在本站進(jìn)行投稿,查看詳情!此外我們還提供軟文收錄、PayPal代付、廣告贊助等服務(wù),查看詳情!
我們發(fā)布的部分優(yōu)惠活動文章可能存在時效性,購買時建議在本站搜索商家名稱可查看相關(guān)文章充分了解該商家!若非中文頁面可使用Edge瀏覽器同步翻譯!PayPal代付/收錄合作

MogileFS是一套高效的文件自動備份組件,由Six Apart開發(fā),廣泛應(yīng)用在包括LiveJournal等web2.0站點上。?MogileFS的特性:?工作在應(yīng)用層,無單點,自動文件復(fù)制(復(fù)制的最小單位是class,而不是文件),傳輸中立且使用nfs或者h(yuǎn)ttp協(xié)議進(jìn)行傳輸。?MogileFS的結(jié)構(gòu)組成:?tracker:是mogilefs的核心,是一個調(diào)度器,通過數(shù)據(jù)庫來保存元信息,包括daemon,class,host等信息,主要職責(zé):監(jiān)控后端mogstore節(jié)點,并指示store節(jié)點完成數(shù)據(jù)的添加,刪除,查詢,及節(jié)點之間的復(fù)制.?mogstore:實際數(shù)據(jù)的存儲位置,通常偽一個http服務(wù)器.?database:用來保存節(jié)點的全局信息.

Mogilefs is a set of efficient automatic file backup component developed by six apart, which is widely used in Web2.0 sites including livejournal. Features of mogilefs: working in the application layer, no single point, automatic file replication (the minimum unit of replication is class, not file), transmission neutral and using NFS or HTTP protocol for transmission. The structure of mogilefs is composed of: Tracker: it is the core of mogilefs, and it is a scheduler. It stores meta information through database, including the information of daemon, class, host, etc. main responsibilities: monitor the backend mogstore node, and instruct the store node to complete data addition, deletion, query, and replication between nodes. Mogstore: the storage location of actual data, usually pseudo one hour TTP server. Database: used to save the global information of nodes

1.安裝MogileFS?a.下載MogileFS?MogileFS-Server:https://github.com/mogilefs/MogileFS-Server?MogileFS-Utils:https://github.com/mogilefs/MogileFS-Utils?perl-MogileFS-Client:https://github.com/mogilefs/perl-MogileFS-Client?b.安裝:?將文件解壓并進(jìn)入文件內(nèi)

1. Install mogilefs A. download mogilefs mogilefs server: https://github.com/mogilefs/mogilefs-server mogilefs-utils: https://github.com/mogilefs/mogilefs-utils perl-mogilefs-client: https://github.com/mogilefs/perl-mogilefs-client B. install: extract and enter the file

????[root@clone3?nginx-1.11.12]#?make?Makefile.PL

????[root@clone3?nginx-1.11.12]#?make?Makefile.PL

????[root@clone3?nginx-1.11.12]#?make??make?install

????[root@clone3?nginx-1.11.12]#?make??make?install

????[root@clone3?nginx-1.11.12]#?yum?install?perl-IO-AIO123123

????[root@clone3?nginx-1.11.12]#?yum?install?perl-IO-AIO123123

2.配置文件講解

2. Profile explanation

????參數(shù)解答:??總用量?8

Parameter answer: total consumption 8

3.啟動并測試

3. Start and test

1.創(chuàng)建/var/run/mogilefsd目錄并修改屬組屬主

1. Create / var / run / mogilefsd directory and modify the genus, group and owner

????[root@Master?mogilefs]#?mkdir?-p??/var/run/mogilefsd

????[root@Master?mogilefs]#?mkdir?-p??/var/run/mogilefsd

? ? ? ?? ? [root@Master?mogilefs]#?chown?-R?mogilefs.mogilefs?/var/run/mogilefsd/

? ? ? ?? ? [root@Master?mogilefs]#?chown?-R?mogilefs.mogilefs?/var/run/mogilefsd/

2.創(chuàng)建/mog/mogdata目錄并修改屬組屬主

2. Create / MOG / mogdata directory and modify the genus, group, and owner

? ? [root@Master?mogilefs]#?mkdir?-p?/mog/mogdata

? ? [root@Master?mogilefs]#?mkdir?-p?/mog/mogdata

? ? [root@Master?mogilefs]#?chown?-R?mogilefs.mogilefs?/mog/mogdata/

? ? [root@Master?mogilefs]#?chown?-R?mogilefs.mogilefs?/mog/mogdata/

3.啟動mogilefsd進(jìn)程和mogstored進(jìn)程

3. Start the mogilefsd process and the mogstored process

? ? [root@Master?mogilefs]#?service?mogilefsd?start

? ? [root@Master?mogilefs]#?service?mogilefsd?start

? ? ? ? Starting?mogilefsd?????????????????????????????????????????

? ? ? ? Starting?mogilefsd?????????????????????????????????????????

? ? [root@Master?mogilefs]#?service?mogstored?start

? ? [root@Master?mogilefs]#?service?mogstored?start

? ? ? ? Starting?mogstored?????????????????????????????????????????

? ? ? ? Starting?mogstored?????????????????????????????????????????

**此處的啟動腳本是使用rpm包安裝,并且自帶的,一般使用make安裝的沒有服務(wù)腳本**

**The startup script here is installed by using RPM package, and comes with it. Generally, there is no service script installed by using make**

4.使用管理工具配置mogstord節(jié)點主機(jī)

4. Use the management tool to configure the mogstore node host

??????????????????????**文件實際訪問位置**

* file actual access location**

5.使用瀏覽器訪問?這樣一個mogilefs分布式存儲就設(shè)置好了,只是mogilefsd進(jìn)程和mogstored進(jìn)程在統(tǒng)一主機(jī)上。?6.負(fù)載均衡設(shè)計結(jié)構(gòu)?7.使用nginx實,現(xiàn)反向代理?使用nginx反向代理mogilefs時,要用到第三方模塊在能使實現(xiàn)代理,nginx身不支持mogilefs的代理,下載模塊快為nginx_mogilefs_module,下載地址:http://www.grid.net.ru/nginx/download/nginx_mogilefs_module-1.0.4.tar.gz

5. Use a browser to access such a mogilefs distributed storage. Only the mogilefsd process and the mogstored process are on the unified host. 6. Load balancing design structure 7. Using nginx implementation, now the reverse agent. When using nginx reverse agent mogilefs, the third-party module should be used to realize the agent. Nginx does not support the agent of mogilefs. The download module is fast as nginx 65104; mogilefs ﹐ module, and the download address is http://www.grid.net.ru/nginx/download/nginx ﹐ mogilefs ﹐ module-1.0.4.tar.gz

????????**詳細(xì)參數(shù)請參考官方文檔:http://www.grid.net.ru/nginx/mogilefs.en.html**

* for detailed parameters, please refer to the official document: http://www.grid.net.ru/nginx/mogilefs.en.html**

8.配置兩臺mogilefs主機(jī)?在配置兩臺主機(jī)是,mogilefsd進(jìn)程會在數(shù)據(jù)庫中讀取mogstord節(jié)點的信息,在配置時按照上述闡述僅可以配置,建議在一個mogilefsd節(jié)點上配置,另一個節(jié)點可以在數(shù)據(jù)庫中讀到。?9.測試結(jié)果?

8. Configure two mogilefs hosts. When configuring two hosts, the mogilefsd process will read the information of the mogstord node in the database. During the configuration, it can only be configured according to the above description. It is recommended to configure on one mogilefsd node, and the other node can be read in the database. 9. Test results

?

?

--------------------------------------------------------------
主機(jī)參考,收集國內(nèi)外VPS,VPS測評,主機(jī)測評,云服務(wù)器,虛擬主機(jī),獨立服務(wù)器,國內(nèi)外服務(wù)器,高性價比建站主機(jī)相關(guān)優(yōu)惠信息@www.k2270.com
詳細(xì)介紹和測評國外VPS主機(jī),云服務(wù)器,國外服務(wù)器,國外主機(jī)的相關(guān)優(yōu)惠信息,商家背景,網(wǎng)絡(luò)帶寬等等,也是目前國內(nèi)最好的主機(jī)云服務(wù)器VPS參考測評資訊優(yōu)惠信息分享平臺

這幾篇文章你可能也喜歡:

本文由主機(jī)參考刊發(fā),轉(zhuǎn)載請注明:Linux之使用MogileFS分布式文件系統(tǒng)并使用nginx實現(xiàn)反向代理 http://www.k2270.com/14229.html

【騰訊云】領(lǐng)8888元采購禮包,搶爆款云服務(wù)器 每月 9元起,個人開發(fā)者加享折上折!
打賞
轉(zhuǎn)載請注明原文鏈接:主機(jī)參考 » Linux之使用MogileFS分布式文件系統(tǒng)并使用nginx實現(xiàn)反向代理
主機(jī)參考僅做資料收集,不對商家任何信息及交易做信用擔(dān)保,購買前請注意風(fēng)險,有交易糾紛請自行解決!請查閱:特別聲明

相關(guān)推薦

評論 搶沙發(fā)

評論前必須登錄!